This website requires JavaScript.
Explore
Help
Sign in
mirror
/
mariadb
Watch
1
Star
0
Fork
You've already forked mariadb
0
mirror of
https://github.com/MariaDB/server.git
synced
2025-01-23 15:24:16 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
780566d4c5
mariadb
/
mysql-test
/
suite
/
binlog
/
t
/
binlog_stm_unsafe_warning-master.opt
2 lines
38 B
Text
Raw
Normal View
History
Unescape
Escape
Bug#46265: Can not disable warning about unsafe statements for binary logging If using statement based replication (SBR), repeatedly calling statements which are unsafe for SBR will cause a warning message to be written to the error for each statement. This might lead to filling up the error log and there is no way to disable this behavior. The solution is to only log these message (about statements unsafe for statement based replication) if the log_warnings option is set. For example: SET GLOBAL LOG_WARNINGS = 0; INSERT INTO t1 VALUES(UUID()); SET GLOBAL LOG_WARNINGS = 1; INSERT INTO t1 VALUES(UUID()); In this case the message will be printed only once: [Warning] Statement may not be safe to log in statement format. Statement: INSERT INTO t1 VALUES(UUID())
2009-07-31 10:00:35 -03:00
--binlog-ignore-db=b42851 --log-error
Reference in a new issue
Copy permalink