From 2fec728eb73cbd9177564faf4dc7ef64c9288a54 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Sep 2005 21:52:04 +0200 Subject: Bug #13384 mysqltest, no protocol when script contains only lines with eval client/mysqltest.c: Set query_executed also for eval, that results in a query being executed and output is likely. Commited once again in 5.0 --- client/mysqltest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/mysqltest.c b/client/mysqltest.c index 287fa012b7d..fdc1dec6dc1 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -4125,6 +4125,7 @@ int main(int argc, char **argv) error|= run_query(&cur_con->mysql, q, QUERY_REAP|QUERY_SEND); display_result_vertically= old_display_result_vertically; q->last_argument= q->end; + query_executed= 1; break; } case Q_QUERY: -- cgit v1.2.1