summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqltest.test
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2010-01-20 14:23:57 +0100
committerBjorn Munch <Bjorn.Munch@sun.com>2010-01-20 14:23:57 +0100
commit84616df3ffd514d85c5942c6db8729b8c466f39c (patch)
tree6d10b04e422cb63806e6a562aaba72fb8b83fb96 /mysql-test/t/mysqltest.test
parent87ff57cb7eaefd87e54ec0cbf80f71af2167581a (diff)
parent5ae2eda776477494af7dfe2cad9d50bb4ad8d9eb (diff)
downloadmariadb-git-84616df3ffd514d85c5942c6db8729b8c466f39c.tar.gz
merge 49837
Diffstat (limited to 'mysql-test/t/mysqltest.test')
-rw-r--r--mysql-test/t/mysqltest.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test
index 3212c82bffd..748f31bb5a3 100644
--- a/mysql-test/t/mysqltest.test
+++ b/mysql-test/t/mysqltest.test
@@ -605,6 +605,15 @@ echo ;
--error 1
--exec echo "--exec " | $MYSQL_TEST 2>&1
+# Multi-line exec
+exec $MYSQL
+ test -e "select 1";
+exec $MYSQL test -e "select
+ 2";
+let $query = select 3
+ as X;
+exec $MYSQL test -e "$query";
+
# ----------------------------------------------------------------------------
# Test let command
# ----------------------------------------------------------------------------