1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

fixed unlocking tables during subquery execution (BUG#2048)

This commit is contained in:
bell@sanja.is.com.ua
2003-12-10 22:46:14 +02:00
parent 4734f45213
commit e756a511f8
6 changed files with 52 additions and 8 deletions

View File

@@ -114,7 +114,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
DBUG_RETURN(1); // out of memory
// st_select_lex_unit::prepare correctly work for single select
if ((res= unit->prepare(thd, derived_result)))
if ((res= unit->prepare(thd, derived_result, 0)))
goto exit;
/*