mysql.test
来自「开启mysql的远程连接的方法 mysql-noinstall-5.1.6-al」· TEST 代码 · 共 46 行
TEST
46 行
# This test should work in embedded server after we fix mysqltest-- source include/not_embedded.inc## Testing the MySQL command line client(mysql)#--disable_warningsdrop table if exists t1;--enable_warnings## Test the "delimiter" functionality# Bug#9879#create table t1(a int);insert into t1 values(1);# Test delimiters--exec $MYSQL test 2>&1 < "./t/mysql_delimiter.sql"--disable_query_log# Test delimiter : supplied on the command lineselect "Test delimiter : from command line" as " ";--exec $MYSQL test --delimiter=":" -e "select * from t1:"# Test delimiter :; supplied on the command lineselect "Test delimiter :; from command line" as " ";--exec $MYSQL test --delimiter=":;" -e "select * from t1:;"# Test 'go' command (vertical output) \Gselect "Test 'go' command(vertical output) \G" as " ";--exec $MYSQL test -e "select * from t1\G"# Test 'go' command \gselect "Test 'go' command \g" as " ";--exec $MYSQL test -e "select * from t1\g"--enable_query_logdrop table t1;## BUG9998 - MySQL client hangs on USE "database"#create table t1(a int);lock tables t1 write;--exec $MYSQL -e "use test; select database();"unlock tables;drop table t1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?