summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-06-16 14:06:39 +0400
committerunknown <konstantin@mysql.com>2004-06-16 14:06:39 +0400
commitcf5d0db657634c9949b4f9968c3bd4a050fe9066 (patch)
treefd5050765b2969ea9b5b4b49a964811823a4946e /libmysql
parent95325f13544aa8f43af45ae66a271949fd6aee2d (diff)
downloadmariadb-git-cf5d0db657634c9949b4f9968c3bd4a050fe9066.tar.gz
Another place where Bug#4079 "error checking in prepared statements"
pops up fixed. libmysql/libmysql.c: Another place where Bug#4079 pops up fixed.
Diffstat (limited to 'libmysql')
-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);
}