Debian Codegraph @

mysql-test/suite/ndb_ddl/open_table_fail.result

raw
1 #
2 # Test failure to acquire NDB_SHARE while opening table. This is an
3 # unusual error condition and can thus be reproduced only with
4 # error injection.
5 #
6 CREATE TABLE t1(
7 id INT PRIMARY KEY,
8 val INT
9 ) ENGINE=ndbcluster;
10 set @save_debug = @@session.debug;
11 SET SESSION debug="+d,ndb_share_acquire_fail1";
12 SELECT * FROM t1;
13 ERROR HY000: Got error 4009 'Cluster Failure' from NDBCLUSTER
14 SHOW WARNINGS;
15 Level Code Message
16 Warning 1296 Could not open NDB_SHARE for 'test.t1'
17 Error 1296 Got error 4009 'Cluster Failure' from NDBCLUSTER
18 SET SESSION debug=@save_debug;
19 # Cleanup and remove the table
20 DROP TABLE t1;