mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Additional test coverage for
Bug#30977 Concurrent statement using stored function and DROP FUNCTION breaks SBR Bug#48246 assert in close_thread_table
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "transaction.h"
|
||||
#include "sql_audit.h"
|
||||
#include "sql_prepare.h"
|
||||
#include "debug_sync.h"
|
||||
#include "probes_mysql.h"
|
||||
#include "set_var.h"
|
||||
|
||||
@@ -2115,6 +2116,11 @@ mysql_execute_command(THD *thd)
|
||||
if (thd->global_read_lock.wait_if_global_read_lock(thd, FALSE, TRUE))
|
||||
goto error;
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
if (lex->sql_command != SQLCOM_SET_OPTION)
|
||||
DEBUG_SYNC(thd,"before_execute_sql_command");
|
||||
#endif
|
||||
|
||||
switch (lex->sql_command) {
|
||||
|
||||
case SQLCOM_SHOW_EVENTS:
|
||||
|
Reference in New Issue
Block a user