ndb_bug26793.test
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· TEST 代码 · 共 36 行
TEST
36 行
-- source include/have_ndb.inc--disable_warningsDROP TABLE IF EXISTS t1;--enable_warningsCREATE TABLE `test` (`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,`t` VARCHAR( 10 ) NOT NULL) ENGINE = ndbcluster;# Add user1@localhost with a specific password# and connect as that userGRANT USAGE ON *.* TO user1@localhost IDENTIFIED BY 'pass';connect (user1,localhost,user1,pass,*NO-ONE*);# Run the query 100 timesdisable_query_log;disable_result_log;let $i= 100;while ($i){select count(*) from information_schema.tables union all select count(*) from information_schema.tables union all select count(*) from information_schema.tables;dec $i;}enable_query_log;enable_result_log;disconnect user1;# Switch back to the default connection and cleanupconnection default;DROP TABLE `test`.`test`;drop user user1@localhost;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?