Commit 0d387b85 authored by Rich Prohaska's avatar Rich Prohaska

refs #5511 test case for type comparisons with auto increment change

git-svn-id: file:///svn/mysql/tests/mysql-test@48765 c7de825b-a66e-492c-adef-691d508d4ae1
parent ded75678
DROP TABLE IF EXISTS t;
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
CREATE TABLE t (a INT, PRIMARY KEY(a));
ALTER TABLE t CHANGE COLUMN a a INT AUTO_INCREMENT;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
DROP TABLE t;
--disable_warnings
DROP TABLE IF EXISTS t;
--enable_warnings
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
CREATE TABLE t (a INT, PRIMARY KEY(a));
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
ALTER TABLE t CHANGE COLUMN a a INT AUTO_INCREMENT;
DROP TABLE t;
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment