Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb/t/ndb_bug26793.test |
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc -- source include/have_ndb.inc --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings CREATE 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 user CREATE USER user1@localhost IDENTIFIED BY 'pass'; GRANT USAGE ON *.* TO user1@localhost; connect (user1,localhost,user1,pass,*NO-ONE*); # Run the query 100 times disable_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 cleanup connection default; DROP TABLE `test`.`test`; drop user user1@localhost;