1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

inserted forgoten ASSERT (BUG#1180)

This commit is contained in:
bell@sanja.is.com.ua
2003-09-03 10:59:14 +03:00
parent 51374e569d
commit 054c6a93bb

View File

@ -937,8 +937,7 @@ void mysql_stmt_execute(THD *thd, char *packet)
// copy WHERE clause pointers to avoid damaging they by optimisation
if (sl->prep_where)
sl->where= sl->prep_where->copy_andor_structure(thd);
// force allocation new JOIN for this mem_root (for safety)
sl->join= 0;
DBUG_ASSERT(sl->join == 0);
}
init_stmt_execute(stmt);