mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
96e63d07dd
Rename: mysql-test/t/rpl_ndb_dd_partitions-slave.opt -> mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-slave.opt .del-rpl_stm_extraColmaster_ndb.result: Delete: mysql-test/r/rpl_stm_extraColmaster_ndb.result .del-rpl_extraColmaster_myisam.test: Delete: mysql-test/t/rpl_extraColmaster_myisam.test ndb_bug26793.result: Rename: mysql-test/r/ndb_bug26793.result -> mysql-test/suite/ndb/r/ndb_bug26793.result .del-rpl_extraColmaster_innodb-slave.opt: Delete: mysql-test/t/rpl_extraColmaster_innodb-slave.opt .del-rpl_extraColmaster_innodb-master.opt: Delete: mysql-test/t/rpl_extraColmaster_innodb-master.opt .del-rpl_row_extraColmaster_ndb.test: Delete: mysql-test/t/rpl_row_extraColmaster_ndb.test .del-rpl_row_extraColmaster_ndb.result: Delete: mysql-test/r/rpl_row_extraColmaster_ndb.result .del-rpl_stm_extraColmaster_ndb.test: Delete: mysql-test/t/rpl_stm_extraColmaster_ndb.test .del-rpl_extraColmaster_innodb.test: Delete: mysql-test/t/rpl_extraColmaster_innodb.test ndb_bug26793.test: Rename: mysql-test/t/ndb_bug26793.test -> mysql-test/suite/ndb/t/ndb_bug26793.test rpl_ndb_dd_partitions-master.opt: Rename: mysql-test/t/rpl_ndb_dd_partitions-master.opt -> mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-master.opt .del-rpl_colSize.test~d9690ba9ffd2b048: Delete: mysql-test/t/rpl_colSize.test BitKeeper/deleted/.del-rpl_colSize.test~d9690ba9ffd2b048: Delete: mysql-test/t/rpl_colSize.test BitKeeper/deleted/.del-rpl_extraColmaster_innodb-master.opt: Delete: mysql-test/t/rpl_extraColmaster_innodb-master.opt BitKeeper/deleted/.del-rpl_extraColmaster_innodb-slave.opt: Delete: mysql-test/t/rpl_extraColmaster_innodb-slave.opt BitKeeper/deleted/.del-rpl_extraColmaster_innodb.test: Delete: mysql-test/t/rpl_extraColmaster_innodb.test BitKeeper/deleted/.del-rpl_extraColmaster_myisam.test: Delete: mysql-test/t/rpl_extraColmaster_myisam.test BitKeeper/deleted/.del-rpl_row_extraColmaster_ndb.test: Delete: mysql-test/t/rpl_row_extraColmaster_ndb.test BitKeeper/deleted/.del-rpl_stm_extraColmaster_ndb.test: Delete: mysql-test/t/rpl_stm_extraColmaster_ndb.test mysql-test/suite/ndb/t/ndb_bug26793.test: Rename: mysql-test/t/ndb_bug26793.test -> mysql-test/suite/ndb/t/ndb_bug26793.test mysql-test/suite/ndb/r/ndb_bug26793.result: Rename: mysql-test/r/ndb_bug26793.result -> mysql-test/suite/ndb/r/ndb_bug26793.result BitKeeper/deleted/.del-rpl_row_extraColmaster_ndb.result: Delete: mysql-test/r/rpl_row_extraColmaster_ndb.result BitKeeper/deleted/.del-rpl_stm_extraColmaster_ndb.result: Delete: mysql-test/r/rpl_stm_extraColmaster_ndb.result mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-master.opt: Rename: mysql-test/t/rpl_ndb_dd_partitions-master.opt -> mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-master.opt mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-slave.opt: Rename: mysql-test/t/rpl_ndb_dd_partitions-slave.opt -> mysql-test/suite/rpl_ndb/t/rpl_ndb_dd_partitions-slave.opt
35 lines
843 B
Text
35 lines
843 B
Text
-- 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
|
|
GRANT USAGE ON *.* TO user1@localhost IDENTIFIED BY 'pass';
|
|
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;
|
|
|