mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for LP#697622 Assertion `! is_set()' failed when preparing a HANDLER statement
mysql-test/suite/handler/interface.result: Test case mysql-test/suite/handler/interface.test: Test case sql/sql_prepare.cc: Fix for LP#697622 Assertion `! is_set()' failed when preparing a HANDLER statement Return TRUE if mysql_test_handler_read() fails.
This commit is contained in:
@ -2004,11 +2004,8 @@ static bool check_prepared_statement(Prepared_statement *stmt)
|
||||
|
||||
case SQLCOM_HA_READ:
|
||||
res= mysql_test_handler_read(stmt, tables);
|
||||
{
|
||||
/* Statement and field info has already been sent */
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
break;
|
||||
/* Statement and field info has already been sent */
|
||||
DBUG_RETURN(res == 1 ? TRUE : FALSE);
|
||||
|
||||
/*
|
||||
Note that we don't need to have cases in this list if they are
|
||||
|
Reference in New Issue
Block a user