1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

mysqltest: don't eat new lines in --exec

pass them through as is
This commit is contained in:
Sergei Golubchik
2016-10-13 20:58:08 +02:00
parent 383007c75d
commit 01b39b7b07
5 changed files with 15 additions and 19 deletions

View File

@ -13,3 +13,12 @@
--echo
--echo End of tests
# 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";