Commit 1b991b1a authored by unknown's avatar unknown

ndb_alter_table.result, ndb_alter_table.test:

  ...


mysql-test/t/ndb_alter_table.test:
  ...
mysql-test/r/ndb_alter_table.result:
  ...
parent c2d6d2c0
...@@ -116,7 +116,9 @@ select * from t1 order by a; ...@@ -116,7 +116,9 @@ select * from t1 order by a;
a b a b
0 1 0 1
17 18 17 18
SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
alter table t1 modify column a int not null auto_increment; alter table t1 modify column a int not null auto_increment;
SET SQL_MODE='';
select * from t1 order by a; select * from t1 order by a;
a b a b
0 1 0 1
......
...@@ -95,7 +95,9 @@ CREATE TABLE t1 ( ...@@ -95,7 +95,9 @@ CREATE TABLE t1 (
INSERT INTO t1 VALUES (0,1),(17,18); INSERT INTO t1 VALUES (0,1),(17,18);
select * from t1 order by a; select * from t1 order by a;
SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
alter table t1 modify column a int not null auto_increment; alter table t1 modify column a int not null auto_increment;
SET SQL_MODE='';
select * from t1 order by a; select * from t1 order by a;
INSERT INTO t1 VALUES (0,19),(20,21); INSERT INTO t1 VALUES (0,19),(20,21);
select * from t1 order by a; select * from t1 order by a;
......
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