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:
@ -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";
|
||||
|
Reference in New Issue
Block a user