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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e7237420
Commit
e7237420
authored
Feb 06, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40 fix mod_enum test portability
parent
013e8e65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/suite/tokudb.alter_table/r/mod_enum.result
mysql-test/suite/tokudb.alter_table/r/mod_enum.result
+2
-2
mysql-test/suite/tokudb.alter_table/t/mod_enum.test
mysql-test/suite/tokudb.alter_table/t/mod_enum.test
+2
-0
No files found.
mysql-test/suite/tokudb.alter_table/r/mod_enum.result
View file @
e7237420
...
@@ -26,7 +26,7 @@ col1 col2
...
@@ -26,7 +26,7 @@ col1 col2
set tokudb_disable_hot_alter=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
set tokudb_disable_slow_alter=1;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this
MySQL
version
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_hot_alter=1;
set tokudb_disable_slow_alter=0;
set tokudb_disable_slow_alter=0;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
...
@@ -46,7 +46,7 @@ col1 col2
...
@@ -46,7 +46,7 @@ col1 col2
set tokudb_disable_hot_alter=0;
set tokudb_disable_hot_alter=0;
set tokudb_disable_slow_alter=1;
set tokudb_disable_slow_alter=1;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this
MySQL
version
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_hot_alter=1;
set tokudb_disable_slow_alter=0;
set tokudb_disable_slow_alter=0;
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
...
...
mysql-test/suite/tokudb.alter_table/t/mod_enum.test
View file @
e7237420
...
@@ -26,6 +26,7 @@ SELECT * FROM test_enum;
...
@@ -26,6 +26,7 @@ SELECT * FROM test_enum;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
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'
);
ALTER
TABLE
test_enum
MODIFY
COLUMN
col2
ENUM
(
'value1'
,
'value3'
);
...
@@ -43,6 +44,7 @@ SELECT * FROM test_enum;
...
@@ -43,6 +44,7 @@ SELECT * FROM test_enum;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_hot_alter
=
0
;
set
tokudb_disable_slow_alter
=
1
;
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'
,
'value2'
,
'value4'
);
ALTER
TABLE
test_enum
MODIFY
COLUMN
col2
ENUM
(
'value1'
,
'value2'
,
'value4'
);
...
...
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