2010-08-25 10:17:15 +02:00
|
|
|
-- source include/not_windows.inc
|
|
|
|
# This test should work in embedded server after we fix mysqltest
|
|
|
|
-- source include/not_embedded.inc
|
|
|
|
#
|
|
|
|
# Testing the MySQL command line client(mysql)
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Bug #54466 client 5.5 built from source lacks "pager" support
|
|
|
|
#
|
|
|
|
--echo Bug #54466 client 5.5 built from source lacks "pager" support
|
|
|
|
--exec $MYSQL --pager test -e "select 1 as a"
|
|
|
|
|
|
|
|
--echo
|
|
|
|
--echo End of tests
|
2016-10-13 20:58:08 +02:00
|
|
|
|
|
|
|
# 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";
|