mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Backport Bug #45827 Stmt using two autoinc values does not produce unsafe warning
One statement that have more than one different tables to update with
autoinc columns just was marked as unsafe in mixed mode, so the unsafe
warning can't be produced in statement mode.
To fix the problem, mark the statement as unsafe in statement mode too.
This commit is contained in:
@@ -471,7 +471,9 @@ BEGIN
|
||||
END|
|
||||
DELIMITER ;|
|
||||
|
||||
--disable_warnings
|
||||
INSERT INTO trigger_table VALUES ('bye.');
|
||||
--enable_warnings
|
||||
|
||||
|
||||
--echo ==== Insert variables from a prepared statement ====
|
||||
|
||||
Reference in New Issue
Block a user