1
-- source include/have_ndb.inc
4
DROP TABLE IF EXISTS t1;
8
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
9
`t` VARCHAR( 10 ) NOT NULL
10
) ENGINE = ndbcluster;
12
# Add user1@localhost with a specific password
13
# and connect as that user
14
GRANT USAGE ON *.* TO user1@localhost IDENTIFIED BY 'pass';
15
connect (user1,localhost,user1,pass,*NO-ONE*);
17
# Run the query 100 times
23
select count(*) from information_schema.tables union all select count(*) from information_schema.tables union all select count(*) from information_schema.tables;
31
# Switch back to the default connection and cleanup
33
DROP TABLE `test`.`test`;
34
drop user user1@localhost;