summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-09-22 21:24:57 +0200
committerunknown <msvensson@neptunus.(none)>2005-09-22 21:24:57 +0200
commit727f0b8a1f2fdc3f458f6b5da5ebe3cc73620403 (patch)
tree7b33bc343955ddc8da59720f82c66d2f8fedda7a /client
parent443b394fc31898b2903ab48b43dd20dc7826733e (diff)
downloadmariadb-git-727f0b8a1f2fdc3f458f6b5da5ebe3cc73620403.tar.gz
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.
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index f5facccee3a..1b8a0658cc7 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -3914,6 +3914,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: