client_xml.test

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 22 行

TEST
22
字号
# Can't run with embedded server-- source include/not_embedded.inc# Test of the xml output of the 'mysql' and 'mysqldump' clients -- makes# sure that basic encoding issues are handled properlycreate table t1 (  `a&b` int,  `a<b` int,  `a>b` text);insert into t1 values (1, 2, 'a&b a<b a>b');--exec $MYSQL --xml test -e "select * from t1"--exec $MYSQL_DUMP --xml --skip-create test--exec $MYSQL --xml test -e "select count(*) from t1"--exec $MYSQL --xml test -e "select 1 < 2 from dual"--exec $MYSQL --xml test -e "select 1 > 2 from dual"--exec $MYSQL --xml test -e "select 1 & 3 from dual"--exec $MYSQL --xml test -e "select null from dual"drop table t1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?