Commit 5f8ef7a3 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Another place where Bug#4079 "error checking in prepared statements"

pops up fixed.
parent e7de4887
......@@ -3880,6 +3880,7 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
free_root(&result->alloc, MYF(MY_KEEP_PREALLOC));
result->data= NULL;
result->rows= 0;
mysql->status= MYSQL_STATUS_READY;
DBUG_RETURN(1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment