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
06bdc441
Commit
06bdc441
authored
Mar 26, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tokudb tests for 10.0
parent
06be773c
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21 additions
and
30 deletions
+21
-30
storage/tokudb/mysql-test/tokudb_add_index/r/add_index_6.result
...e/tokudb/mysql-test/tokudb_add_index/r/add_index_6.result
+1
-1
storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
...age/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
+1
-1
storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result
...ge/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result
+4
-2
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result
...mysql-test/tokudb_alter_table/r/null_bytes_add_key.result
+0
-2
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result
...ql-test/tokudb_alter_table/r/null_bytes_col_rename.result
+0
-3
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result
...-test/tokudb_alter_table/r/null_bytes_drop_default.result
+0
-3
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result
...ysql-test/tokudb_alter_table/r/null_bytes_drop_key.result
+0
-3
storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test
storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test
+1
-1
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test
...b/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test
+3
-3
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test
...ysql-test/tokudb_alter_table/t/null_bytes_col_rename.test
+3
-3
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test
...ql-test/tokudb_alter_table/t/null_bytes_drop_default.test
+4
-4
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test
.../mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test
+4
-4
storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc
storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc
+0
-0
No files found.
storage/tokudb/mysql-test/tokudb_add_index/r/add_index_6.result
View file @
06bdc441
...
...
@@ -2,4 +2,4 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, b int, c int, z int, y int, x int, r int, s int, t int, primary key (a,b), key (z), key(x), key(t));
ERROR 23000:
Duplicate entry '18-2' for key 'foo
'
ERROR 23000:
Can't write; duplicate key in table 't1
'
storage/tokudb/mysql-test/tokudb_add_index/t/add_index_6.test
View file @
06bdc441
...
...
@@ -25,7 +25,7 @@ while ($1)
}
insert
into
t1
values
(
5
,
52
,
18
,
5
,
5
,
5
,
2
,
5
,
5
);
--
error
ER_DUP_
ENTR
Y
--
error
ER_DUP_
KE
Y
create
unique
index
foo
on
t1
(
c
,
r
);
...
...
storage/tokudb/mysql-test/tokudb_alter_table/r/mod_enum.result
View file @
06bdc441
...
...
@@ -26,6 +26,7 @@ col1 col2
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
set tokudb_disable_hot_alter=1;
set tokudb_disable_slow_alter=0;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
...
...
@@ -45,11 +46,12 @@ col1 col2
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
Warnings:
Warning 1265 Data truncated for column 'col2' at row 3
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
set tokudb_disable_hot_alter=1;
set tokudb_disable_slow_alter=0;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
Warnings:
Warning 1265 Data truncated for column 'col2' at row 3
SELECT * FROM test_enum;
col1 col2
1 value1
...
...
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_add_key.result
View file @
06bdc441
...
...
@@ -47,7 +47,5 @@ UPDATE t SET c27=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE t ADD KEY (c25);
set tokudb_disable_slow_alter=0;
ALTER TABLE t ADD KEY (c25);
UPDATE t SET c27=0;
drop table t;
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_col_rename.result
View file @
06bdc441
...
...
@@ -47,8 +47,5 @@ UPDATE t SET c27=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
ERROR 42000: Table 't' uses an extension that doesn't exist in this MySQL version
set tokudb_disable_slow_alter=0;
ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
UPDATE t SET c27=0;
drop table t;
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_default.result
View file @
06bdc441
...
...
@@ -47,8 +47,5 @@ UPDATE t SET c27=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE t ALTER c120 DROP DEFAULT;
ERROR 42000: Table 't' uses an extension that doesn't exist in this MySQL version
set tokudb_disable_slow_alter=0;
ALTER TABLE t ALTER c120 DROP DEFAULT;
UPDATE t SET c27=0;
drop table t;
storage/tokudb/mysql-test/tokudb_alter_table/r/null_bytes_drop_key.result
View file @
06bdc441
...
...
@@ -49,8 +49,5 @@ UPDATE t SET c27=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
ALTER TABLE t DROP KEY c25;
ERROR 42000: Table 't' uses an extension that doesn't exist in this MySQL version
set tokudb_disable_slow_alter=0;
ALTER TABLE t DROP KEY c25;
UPDATE t SET c27=0;
drop table t;
storage/tokudb/mysql-test/tokudb_alter_table/t/mod_enum.test
View file @
06bdc441
...
...
@@ -27,7 +27,7 @@ SELECT * FROM test_enum;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
--
replace_regex
/
MariaDB
/
XYZ
/
/
MySQL
/
XYZ
/
#
--error ER_UNSUPPORTED_EXTENSION
--
error
ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
test_enum
MODIFY
COLUMN
col2
ENUM
(
'value1'
,
'value3'
);
set
tokudb_disable_hot_alter
=
1
;
...
...
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_add_key.test
View file @
06bdc441
...
...
@@ -53,10 +53,10 @@ ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
UPDATE
t
SET
c27
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
--
error
ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
ADD
KEY
(
c25
);
set
tokudb_disable_slow_alter
=
0
;
#--error ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
ADD
KEY
(
c25
);
#set tokudb_disable_slow_alter=0;
#ALTER TABLE t ADD KEY (c25);
UPDATE
t
SET
c27
=
0
;
drop
table
t
;
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_col_rename.test
View file @
06bdc441
...
...
@@ -53,10 +53,10 @@ ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
UPDATE
t
SET
c27
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
--
error
ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
CHANGE
COLUMN
c25
x25
char
(
1
);
set
tokudb_disable_slow_alter
=
0
;
#--error ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
CHANGE
COLUMN
c25
x25
char
(
1
);
#set tokudb_disable_slow_alter=0;
#ALTER TABLE t CHANGE COLUMN c25 x25 char(1);
UPDATE
t
SET
c27
=
0
;
drop
table
t
;
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_default.test
View file @
06bdc441
...
...
@@ -53,10 +53,10 @@ ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
UPDATE
t
SET
c27
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
--
error
ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
ALTER
c120
DROP
DEFAULT
;
set
tokudb_disable_slow_alter
=
0
;
#--error ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
ALTER
c120
DROP
DEFAULT
;
#set tokudb_disable_slow_alter=0;
#ALTER TABLE t ALTER c120 DROP DEFAULT;
UPDATE
t
SET
c27
=
0
;
drop
table
t
;
\ No newline at end of file
drop
table
t
;
storage/tokudb/mysql-test/tokudb_alter_table/t/null_bytes_drop_key.test
View file @
06bdc441
...
...
@@ -55,10 +55,10 @@ ALTER TABLE t ROW_FORMAT=FIXED KEY_BLOCK_SIZE=1;
UPDATE
t
SET
c27
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
--
error
ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
DROP
KEY
c25
;
set
tokudb_disable_slow_alter
=
0
;
#--error ER_UNSUPPORTED_EXTENSION
ALTER
TABLE
t
DROP
KEY
c25
;
#set tokudb_disable_slow_alter=0;
#ALTER TABLE t DROP KEY c25;
UPDATE
t
SET
c27
=
0
;
drop
table
t
;
\ No newline at end of file
drop
table
t
;
storage/tokudb/mysql-test/tokudb_bugs/include/not_5_5.inc
0 → 100644
View file @
06bdc441
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