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
69f40808
Commit
69f40808
authored
Oct 07, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb_alter_table.result, ndb_alter_table.test:
...
parent
9035aab3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/r/ndb_alter_table.result
mysql-test/r/ndb_alter_table.result
+2
-0
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+2
-0
No files found.
mysql-test/r/ndb_alter_table.result
View file @
69f40808
...
@@ -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
...
...
mysql-test/t/ndb_alter_table.test
View file @
69f40808
...
@@ -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
;
...
...
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