Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
74422d61
Commit
74422d61
authored
Apr 21, 2010
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust tests for the Bug #50495 fix.
parent
6517c87a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
mysql-test/suite/innodb_plugin/r/innodb-zip.result
mysql-test/suite/innodb_plugin/r/innodb-zip.result
+6
-0
mysql-test/suite/innodb_plugin/t/innodb-zip.test
mysql-test/suite/innodb_plugin/t/innodb-zip.test
+7
-1
mysql-test/suite/innodb_plugin/t/innodb_bug36169.test
mysql-test/suite/innodb_plugin/t/innodb_bug36169.test
+1
-0
No files found.
mysql-test/suite/innodb_plugin/r/innodb-zip.result
View file @
74422d61
...
...
@@ -127,6 +127,12 @@ CREATE TABLE t1(
c TEXT NOT NULL, d TEXT NOT NULL,
PRIMARY KEY (c(767),d(767)))
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
DROP TABLE t1;
SET SESSION innodb_strict_mode = on;
CREATE TABLE t1(
c TEXT NOT NULL, d TEXT NOT NULL,
PRIMARY KEY (c(767),d(767)))
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs
CREATE TABLE t1(
c TEXT NOT NULL, d TEXT NOT NULL,
...
...
mysql-test/suite/innodb_plugin/t/innodb-zip.test
View file @
74422d61
...
...
@@ -85,8 +85,14 @@ SELECT table_schema, table_name, row_format
FROM
information_schema
.
tables
WHERE
engine
=
'innodb'
;
drop
table
t1
,
t2
;
# The following should
fail even in non-strict mode.
# The following should
not fail in non-strict mode. (Bug #50945)
SET
SESSION
innodb_strict_mode
=
off
;
CREATE
TABLE
t1
(
c
TEXT
NOT
NULL
,
d
TEXT
NOT
NULL
,
PRIMARY
KEY
(
c
(
767
),
d
(
767
)))
ENGINE
=
InnoDB
ROW_FORMAT
=
COMPRESSED
KEY_BLOCK_SIZE
=
1
CHARSET
=
ASCII
;
DROP
TABLE
t1
;
SET
SESSION
innodb_strict_mode
=
on
;
--
error
ER_TOO_BIG_ROWSIZE
CREATE
TABLE
t1
(
c
TEXT
NOT
NULL
,
d
TEXT
NOT
NULL
,
...
...
mysql-test/suite/innodb_plugin/t/innodb_bug36169.test
View file @
74422d61
...
...
@@ -24,6 +24,7 @@ SET GLOBAL innodb_file_per_table=ON;
# Generating 10 tables
# Creating a table with 94 columns and 24 indexes
DROP
TABLE
IF
EXISTS
`table0`
;
set
innodb_strict_mode
=
on
;
--
error
ER_TOO_BIG_ROWSIZE
CREATE
TABLE
IF
NOT
EXISTS
`table0`
(
`col0`
BOOL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment