mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed BUG#6600: Stored procedure crash after repeated calls with check table
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
|
||||
#include "sp_head.h"
|
||||
#include "sp.h"
|
||||
#include "sp_cache.h"
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
/*
|
||||
@ -3045,6 +3046,7 @@ unsent_create_error:
|
||||
goto error; /* purecov: inspected */
|
||||
thd->slow_command=TRUE;
|
||||
res = mysql_check_table(thd, first_table, &lex->check_opt);
|
||||
sp_cache_invalidate();
|
||||
break;
|
||||
}
|
||||
case SQLCOM_ANALYZE:
|
||||
|
Reference in New Issue
Block a user