mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-11848 Automatic statement repreparation changes query semantics
This commit is contained in:
@ -652,7 +652,9 @@ v1 v2
|
||||
3 4
|
||||
ALTER TABLE t1 ADD COLUMN v3 int;
|
||||
execute stmt;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.* FROM t1' at line 1
|
||||
v1 v2 v3
|
||||
1 2 NULL
|
||||
3 4 NULL
|
||||
ALTER TABLE t1 drop COLUMN v3;
|
||||
deallocate prepare stmt;
|
||||
''
|
||||
@ -670,7 +672,9 @@ v1 v2
|
||||
3 4
|
||||
ALTER TABLE t1 ADD COLUMN v3 int;
|
||||
execute stmt;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.* FROM t1' at line 1
|
||||
v1 v2 v3
|
||||
1 2 NULL
|
||||
3 4 NULL
|
||||
ALTER TABLE t1 drop COLUMN v3;
|
||||
deallocate prepare stmt;
|
||||
SELECT @@sql_mode;
|
||||
|
Reference in New Issue
Block a user