summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-07-19 20:58:04 +0500
committerholyfoot/hf@hfmain.(none) <>2007-07-19 20:58:04 +0500
commita49bc17fe84abf845a38fd7f93cfb0dbecc44395 (patch)
treec881446c728e19d4121e210e12e497f0fd0c5107 /libmysql
parentbec9500ec074c0349868fc69504b71bd7fcee0fe (diff)
parentdfc38479ea034a024fbc8f991e6d9e66015225b7 (diff)
downloadmariadb-git-a49bc17fe84abf845a38fd7f93cfb0dbecc44395.tar.gz
Merge mysql.com:/home/hf/work/29687/my50-29687
into mysql.com:/home/hf/work/29687/my51-29687
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index a05d061204b..46d0c8f1037 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4939,7 +4939,7 @@ static my_bool reset_stmt_handle(MYSQL_STMT *stmt, uint flags)
Reset stored result set if so was requested or it's a part
of cursor fetch.
*/
- if (result->data && (flags & RESET_STORE_RESULT))
+ if (flags & RESET_STORE_RESULT)
{
/* Result buffered */
free_root(&result->alloc, MYF(MY_KEEP_PREALLOC));