summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-06-29 16:54:55 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-06-29 16:54:55 +0300
commit26f0c1fd4b3c502f9defb8e4e91b567cdf7b0957 (patch)
treee47e30d41c92efb2ee66c520957eae4bdf7b8513 /client/mysqltest.cc
parent050048462c8209a5e5d75587147d343f683cc7df (diff)
parent428ff7f8a0b1abfbe34b617411da42ef4159ea7c (diff)
downloadmariadb-git-26f0c1fd4b3c502f9defb8e4e91b567cdf7b0957.tar.gz
merge bug#13708485 5.1->5.5
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r--client/mysqltest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 6bd1472f6a3..b1784fdc7b6 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -7303,6 +7303,8 @@ void run_query_normal(struct st_connection *cn, struct st_command *command,
*/
if ((counter==0) && do_read_query_result(cn))
{
+ /* we've failed to collect the result set */
+ cn->pending= TRUE;
handle_error(command, mysql_errno(mysql), mysql_error(mysql),
mysql_sqlstate(mysql), ds);
goto end;