mirror of
https://github.com/MariaDB/server.git
synced 2025-07-26 07:02:12 +03:00
Another place where Bug#4079 "error checking in prepared statements"
pops up fixed. libmysql/libmysql.c: Another place where Bug#4079 pops up fixed.
This commit is contained in:
@ -3880,6 +3880,7 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
|
|||||||
free_root(&result->alloc, MYF(MY_KEEP_PREALLOC));
|
free_root(&result->alloc, MYF(MY_KEEP_PREALLOC));
|
||||||
result->data= NULL;
|
result->data= NULL;
|
||||||
result->rows= 0;
|
result->rows= 0;
|
||||||
|
mysql->status= MYSQL_STATUS_READY;
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user