1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

After the fix for Bug #12752572, there is a pb2 failure. Fixing it by

updating the result file.  Because a multi-row insert now reserves the
auto increment values before hand, if any explicitly specified auto
increment values are there, then some of the reserved values are lost.
This commit is contained in:
Annamalai Gurusami
2012-05-23 10:12:52 +05:30
parent 41c37c77b4
commit 8aedf7d30f

View File

@ -29,7 +29,7 @@ a b
1 2 1 2
3 0 3 0
4 0 4 0
5 0 6 0
500 0 500 0
select a,name, old_a, old_b, truncate(rand_value,4) from t3; select a,name, old_a, old_b, truncate(rand_value,4) from t3;
a name old_a old_b truncate(rand_value,4) a name old_a old_b truncate(rand_value,4)
@ -39,7 +39,7 @@ a name old_a old_b truncate(rand_value,4)
103 t2 1 2 0.9164 103 t2 1 2 0.9164
104 t2 3 0 0.8826 104 t2 3 0 0.8826
105 t2 4 0 0.6635 105 t2 4 0 0.6635
106 t2 5 0 0.6699 106 t2 6 0 0.6699
107 t2 500 0 0.3593 107 t2 500 0 0.3593
--- On slave -- --- On slave --
@ -52,7 +52,7 @@ a b
1 2 1 2
3 0 3 0
4 0 4 0
5 0 6 0
500 0 500 0
select a,name, old_a, old_b, truncate(rand_value,4) from t3; select a,name, old_a, old_b, truncate(rand_value,4) from t3;
a name old_a old_b truncate(rand_value,4) a name old_a old_b truncate(rand_value,4)
@ -62,7 +62,7 @@ a name old_a old_b truncate(rand_value,4)
103 t2 1 2 0.9164 103 t2 1 2 0.9164
104 t2 3 0 0.8826 104 t2 3 0 0.8826
105 t2 4 0 0.6635 105 t2 4 0 0.6635
106 t2 5 0 0.6699 106 t2 6 0 0.6699
107 t2 500 0 0.3593 107 t2 500 0 0.3593
drop table t1,t2,t3; drop table t1,t2,t3;
select get_lock("bug12480",2); select get_lock("bug12480",2);