From cf5d0db657634c9949b4f9968c3bd4a050fe9066 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 16 Jun 2004 14:06:39 +0400 Subject: [PATCH] Another place where Bug#4079 "error checking in prepared statements" pops up fixed. libmysql/libmysql.c: Another place where Bug#4079 pops up fixed. --- libmysql/libmysql.c | 1 + 1 file changed, 1 insertion(+) 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); }