Commit dda93b89 authored by Rich Prohaska's avatar Rich Prohaska

refs #5254 update the fast update int tests

git-svn-id: file:///svn/mysql/tests/mysql-test@50587 c7de825b-a66e-492c-adef-691d508d4ae1
parent e344fc19
......@@ -46,13 +46,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -103,13 +103,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -160,13 +160,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -217,13 +217,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -274,13 +274,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -331,13 +331,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -388,13 +388,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -445,13 +445,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -502,13 +502,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -559,13 +559,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -616,13 +616,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -673,13 +673,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -730,13 +730,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -787,13 +787,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -844,13 +844,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -901,13 +901,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -958,13 +958,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -1015,13 +1015,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -1072,13 +1072,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......@@ -1129,13 +1129,13 @@ update t set x=1+x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=-x where id=1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
id x
1 0
2 100
3 0
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
update t set x=x+1;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......
......@@ -59,13 +59,13 @@ def test_int(t, u, n):
print "update t set x=-x where id=1;"
# yes, we can update a field in a non-existent row and the row is not inserted
print "update t set x=x+1 where id=1000000;"
print "update t set x=x+1 where id=100;"
print "select * from t;"
# range updates are not yet fast
print "replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;"
print "error ER_UNSUPPORTED_EXTENSION;"
print "update t set x=x+1 where 1 <= id and id < 1000;"
print "update t set x=x+1 where 1 <= id and id < 100;"
# full table updates are not yet fast
print "replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;"
......
......@@ -28,11 +28,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -61,11 +61,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -94,11 +94,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -127,11 +127,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -160,11 +160,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -193,11 +193,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -226,11 +226,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -259,11 +259,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -292,11 +292,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -325,11 +325,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -358,11 +358,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -391,11 +391,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -424,11 +424,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -457,11 +457,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -490,11 +490,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -523,11 +523,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -556,11 +556,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -589,11 +589,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -622,11 +622,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......@@ -655,11 +655,11 @@ update t set x=1+x where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=-x where id=1;
update t set x=x+1 where id=1000000;
update t set x=x+1 where id=100;
select * from t;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1 where 1 <= id and id < 1000;
update t set x=x+1 where 1 <= id and id < 100;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update t set x=x+1;
......
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