mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
post merge fixes
This commit is contained in:
@ -3191,7 +3191,7 @@ unsent_create_error:
|
||||
Don't allow this within a transaction because we want to use
|
||||
re-generate table
|
||||
*/
|
||||
if (thd->locked_tables || thd->active_transaction())
|
||||
if ((thd->locked_tables && !lex->sphead) || thd->active_transaction())
|
||||
{
|
||||
my_message(ER_LOCK_OR_ACTIVE_TRANSACTION,
|
||||
ER(ER_LOCK_OR_ACTIVE_TRANSACTION), MYF(0));
|
||||
|
Reference in New Issue
Block a user