Commit 48ad9cdd authored by Rich Prohaska's avatar Rich Prohaska

refs #5763 backout the last_insert_id change to mysql. reset the autoinc...

refs #5763 backout the last_insert_id change to mysql.  reset the autoinc tests to the mysql behavior

git-svn-id: file:///svn/mysql/tests/mysql-test@50961 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5b9d65e2
...@@ -966,7 +966,7 @@ id ...@@ -966,7 +966,7 @@ id
18446744073709551609 18446744073709551609
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551609 -7
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -977,7 +977,7 @@ id ...@@ -977,7 +977,7 @@ id
18446744073709551610 18446744073709551610
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551610 -6
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -989,7 +989,7 @@ id ...@@ -989,7 +989,7 @@ id
18446744073709551611 18446744073709551611
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551611 -5
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -1002,7 +1002,7 @@ id ...@@ -1002,7 +1002,7 @@ id
18446744073709551612 18446744073709551612
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551612 -4
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -1016,7 +1016,7 @@ id ...@@ -1016,7 +1016,7 @@ id
18446744073709551613 18446744073709551613
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551613 -3
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -1031,25 +1031,25 @@ id ...@@ -1031,25 +1031,25 @@ id
18446744073709551614 18446744073709551614
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
drop table t; drop table t;
...@@ -370,7 +370,7 @@ id ...@@ -370,7 +370,7 @@ id
18446744073709551609 18446744073709551609
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551609 -7
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -381,7 +381,7 @@ id ...@@ -381,7 +381,7 @@ id
18446744073709551610 18446744073709551610
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551610 -6
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -393,7 +393,7 @@ id ...@@ -393,7 +393,7 @@ id
18446744073709551611 18446744073709551611
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551611 -5
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -406,7 +406,7 @@ id ...@@ -406,7 +406,7 @@ id
18446744073709551612 18446744073709551612
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551612 -4
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -420,7 +420,7 @@ id ...@@ -420,7 +420,7 @@ id
18446744073709551613 18446744073709551613
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551613 -3
insert into t set id=null; insert into t set id=null;
show warnings; show warnings;
Level Code Message Level Code Message
...@@ -435,20 +435,20 @@ id ...@@ -435,20 +435,20 @@ id
18446744073709551614 18446744073709551614
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
insert into t set id=null; insert into t set id=null;
Got one of the listed errors Got one of the listed errors
select last_insert_id() from t limit 1; select last_insert_id() from t limit 1;
last_insert_id() last_insert_id()
18446744073709551614 -2
drop table t; drop table t;
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