1
0
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:
Jon Olav Hauglid
2010-04-19 15:35:13 +02:00
parent 1a1a96e7af
commit b12af816d5
6 changed files with 337 additions and 55 deletions

View File

@@ -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: