+1-208-473-2904 (USA - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-925-271-5054 (Training)
This feature is intended to provide a general mechanism (using log_warnings_silence) to disable certain warning messages to the log file. Currently, it is only implemented for disabling message #1592 warnings.
- 5.1.47-rel11.1 System variable suppress_log_warning_1592 introduced.
| Version Info: |
|
|---|---|
| Command Line: | Yes |
| Config File: | Yes |
| Scope: | Global |
| Dynamic: | Yes |
| Variable Type: | Boolean |
| Default Value: | OFF |
| Range: | ON(=‘1592’) / OFF |
This has no effect on replication, but it can fill up your error log with unnecessary messages. This variable allows you to completely disable logging of this warning.
NOTE: Only MySQL 5.1 is subject to this bug. A partial solution has been published beginning with MySQL 5.1.37, but this bug still appears in some situations.
When ON, disables reporting of warning #1592 (unsafe statement for binary logging).
All warnings #1592 will be disabled, so you will not be able to know if your statements are really safe to replicate anymore. Use it at your own risk and only if you understand what you are doing.
In some circumstances, MySQL will warn you that a statement is unsafe to replicate even though it is perfectly safe. For example:
090213 16:58:54 [Warning] Statement is not safe to log in statement format.