1 drop table if exists t1, t2, t3, t4;
3 drop table if exists t1, t2, t3, t4;
5 create table t1 (a int) engine=ndbcluster;
6 create table t2 (a int) engine=ndbcluster;
7 insert into t1 value (2);
8 insert into t2 value (3);
15 show status like 'handler_discover%';
22 create table t1 (a int) engine=ndbcluster;
23 insert into t1 value (2);
27 show status like 'handler_discover%';
31 create table t1 (a int) engine=ndbcluster;
32 insert into t1 value (2);
40 update t1 set a=3 where a=2;
41 show status like 'handler_discover%';
44 create table t3 (a int not null primary key, b varchar(22),
45 c int, last_col text) engine=ndb;
46 insert into t3 values(1, 'Hi!', 89, 'Longtext column');
47 create table t4 (pk int primary key, b int) engine=ndb;
53 1 Hi! 89 Longtext column
54 show tables like 't4';
63 drop table t1, t2, t3, t4;
64 drop table if exists t1, t3, t4;
66 Error 155 Table 'test.t1' doesn't exist
67 Error 155 Table 'test.t3' doesn't exist
68 Error 155 Table 'test.t4' doesn't exist