⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 status.test

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 TEST
字号:
# This test doesn't work with the embedded version as this code# assumes that one query is running while we are doing queries on# a second connection.# This would work if mysqltest run would be threaded and handle each# connection in a separate thread.#--source include/not_embedded.inc# PS causes different statistics--disable_ps_protocolconnect (con1,localhost,root,,);connect (con2,localhost,root,,);flush status;show status like 'Table_lock%';connection con1;SET SQL_LOG_BIN=0;--disable_warningsdrop table if exists t1;--enable_warningscreate table t1(n int) engine=myisam;insert into t1 values(1);connection con2;lock tables t1 read;unlock tables;lock tables t1 read;connection con1;--sendupdate t1 set n = 3;connection con2;sleep 0.5;unlock tables;connection con1;reap;show status like 'Table_lock%';drop table t1;# End of 4.1 tests## lost_query_cost#select 1;show status like 'last_query_cost';

⌨️ 快捷键说明

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