mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 19:25:32 +02:00
Merge branch '10.1' into 10.2
This commit is contained in:
commit
06b7fce9f2
579 changed files with 9027 additions and 4824 deletions
|
|
@ -334,6 +334,12 @@ static int emb_stmt_execute(MYSQL_STMT *stmt)
|
|||
THD *thd;
|
||||
my_bool res;
|
||||
|
||||
if (stmt->param_count && !stmt->bind_param_done)
|
||||
{
|
||||
set_stmt_error(stmt, CR_PARAMS_NOT_BOUND, unknown_sqlstate, NULL);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
int4store(header, stmt->stmt_id);
|
||||
header[4]= (uchar) stmt->flags;
|
||||
thd= (THD*)stmt->mysql->thd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue