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

merge 4.1->5.0

This commit is contained in:
bell@sanja.is.com.ua
2005-03-31 10:39:48 +03:00
24 changed files with 2028 additions and 554 deletions

View File

@ -1166,7 +1166,7 @@ static int mysql_test_select(Prepared_statement *stmt,
It is not SELECT COMMAND for sure, so setup_tables will be called as
usual, and we pass 0 as setup_tables_done_option
*/
if (unit->prepare(thd, 0, 0))
if (unit->prepare(thd, 0, 0, ""))
{
goto err_prep;
}
@ -1318,7 +1318,7 @@ static bool select_like_stmt_test(Prepared_statement *stmt,
thd->used_tables= 0; // Updated by setup_fields
// JOIN::prepare calls
if (lex->unit.prepare(thd, 0, setup_tables_done_option))
if (lex->unit.prepare(thd, 0, setup_tables_done_option, ""))
{
res= TRUE;
}