mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.6 into 10.7
This commit is contained in:
@@ -2433,7 +2433,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
|
||||
Disable slow log if:
|
||||
- Slow logging is enabled (no change needed)
|
||||
- This is a normal SP (not event log)
|
||||
- If we have not explicitely disabled logging of SP
|
||||
- If we have not explicitly disabled logging of SP
|
||||
*/
|
||||
if (save_enable_slow_log &&
|
||||
((!(m_flags & LOG_SLOW_STATEMENTS) &&
|
||||
@@ -2447,7 +2447,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
|
||||
Disable general log if:
|
||||
- If general log is enabled (no change needed)
|
||||
- This is a normal SP (not event log)
|
||||
- If we have not explicitely disabled logging of SP
|
||||
- If we have not explicitly disabled logging of SP
|
||||
*/
|
||||
if (!(thd->variables.option_bits & OPTION_LOG_OFF) &&
|
||||
(!(m_flags & LOG_GENERAL_LOG) &&
|
||||
|
Reference in New Issue
Block a user