mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 18:55:31 +02:00
manual merge
libmysql/libmysql.c: Auto merged mysql-test/mysql-test-run.sh: Auto merged
This commit is contained in:
commit
c7674f1424
3 changed files with 60 additions and 2 deletions
|
|
@ -2499,6 +2499,11 @@ int cli_stmt_execute(MYSQL_STMT *stmt)
|
|||
set_stmt_error(stmt, CR_PARAMS_NOT_BOUND, unknown_sqlstate);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
if (stmt->mysql->status != MYSQL_STATUS_READY)
|
||||
{
|
||||
set_stmt_error(stmt, CR_COMMANDS_OUT_OF_SYNC, unknown_sqlstate);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
net_clear(net); /* Sets net->write_pos */
|
||||
/* Reserve place for null-marker bytes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue