summaryrefslogtreecommitdiff
path: root/libmysql/libmysql.c
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-06-16 14:06:39 +0400
committerkonstantin@mysql.com <>2004-06-16 14:06:39 +0400
commit5f8ef7a38d6e649c127029c44357f2c1fed5ee73 (patch)
treefd5050765b2969ea9b5b4b49a964811823a4946e /libmysql/libmysql.c
parente7de488713ded61b2a7ed4306dc89584f97bbc38 (diff)
downloadmariadb-git-5f8ef7a38d6e649c127029c44357f2c1fed5ee73.tar.gz
Another place where Bug#4079 "error checking in prepared statements"
pops up fixed.
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r--libmysql/libmysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index a6181cd0269..c1a0be7b5e1 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -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);
}