mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1 sql/sql_base.cc: Auto merged sql/sql_prepare.cc: Auto merged
This commit is contained in:
@ -1041,7 +1041,7 @@ static int mysql_test_select(Prepared_statement *stmt,
|
||||
THD *thd= stmt->thd;
|
||||
LEX *lex= stmt->lex;
|
||||
SELECT_LEX_UNIT *unit= &lex->unit;
|
||||
|
||||
int result= 1;
|
||||
DBUG_ENTER("mysql_test_select");
|
||||
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
@ -1087,13 +1087,12 @@ static int mysql_test_select(Prepared_statement *stmt,
|
||||
goto err_prep;
|
||||
}
|
||||
}
|
||||
unit->cleanup();
|
||||
DBUG_RETURN(0);
|
||||
result= 0; // ok
|
||||
|
||||
err_prep:
|
||||
unit->cleanup();
|
||||
err:
|
||||
DBUG_RETURN(1);
|
||||
DBUG_RETURN(result);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user