1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-21 21:22:27 +03:00

MDEV-14429 sql_safe_updates in my.cnf not work

add a test case
This commit is contained in:
Sergei Golubchik
2018-10-20 14:05:33 +02:00
parent 564a63b5a3
commit 89a87e8e42
4 changed files with 9 additions and 1 deletions

View File

@ -242,7 +242,7 @@ BEGIN
DECLARE `pos` bigint unsigned; DECLARE `pos` bigint unsigned;
-- Don't write these queries to binlog -- Don't write these queries to binlog
SET SQL_LOG_BIN=0; SET SQL_LOG_BIN=0, SQL_SAFE_UPDATES=0;
-- --
-- Remove mark from lines that are suppressed by global suppressions -- Remove mark from lines that are suppressed by global suppressions

View File

@ -0,0 +1 @@
--enable-sql-safe-updates

View File

@ -0,0 +1,3 @@
select @@sql_safe_updates;
@@sql_safe_updates
1

View File

@ -0,0 +1,4 @@
#
# MDEV-14429 sql_safe_updates in my.cnf not work
#
select @@sql_safe_updates;