Debian Codegraph @

mysql-test/suite/galera/r/galera_cache_index.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (c1 int, UNIQUE INDEX (c1)) engine=innodb;
4 INSERT INTO t1 VALUES (1),(2),(3),(4),(5);
5 CREATE TABLE t2 (c1 int);
6 INSERT INTO t2 VALUES (1),(2),(3),(4),(5);
7 CREATE TEMPORARY TABLE t1 (c1 INT) ENGINE=MRG_MyISAM UNION=(t1,t2) INSERT_METHOD=LAST;
8 CACHE INDEX t1,t2 IN default;
9 Table Op Msg_type Msg_text
10 test.t1 assign_to_keycache Error Table 't1' is differently defined or of non-MyISAM type or doesn't exist
11 test.t1 assign_to_keycache error Corrupt
12 test.t2 assign_to_keycache note The storage engine for the table doesn't support assign_to_keycache
13 LOAD INDEX INTO CACHE t1,t2;
14 Table Op Msg_type Msg_text
15 test.t1 preload_keys Error Table 't1' is differently defined or of non-MyISAM type or doesn't exist
16 test.t1 preload_keys error Corrupt
17 test.t2 preload_keys note The storage engine for the table doesn't support preload_keys
18 DROP TEMPORARY TABLE t1;
19 DROP TABLE t1,t2;
20 CREATE TABLE t1 (c1 int, UNIQUE INDEX (c1)) engine=MyISAM;
21 INSERT INTO t1 VALUES (1),(2),(3),(4),(5);
22 CREATE TABLE t2 (c1 int, UNIQUE INDEX (c1)) engine=MyISAM;
23 INSERT INTO t2 VALUES (1),(2),(3),(4),(5);
24 CREATE TEMPORARY TABLE t1 (c1 INT) ENGINE=MRG_MyISAM UNION=(t1,t2) INSERT_METHOD=LAST;
25 CACHE INDEX t1,t2 IN default;
26 Table Op Msg_type Msg_text
27 test.t1 assign_to_keycache Error Table 't1' is differently defined or of non-MyISAM type or doesn't exist
28 test.t1 assign_to_keycache error Corrupt
29 test.t2 assign_to_keycache status OK
30 LOAD INDEX INTO CACHE t1,t2;
31 Table Op Msg_type Msg_text
32 test.t1 preload_keys Error Table 't1' is differently defined or of non-MyISAM type or doesn't exist
33 test.t1 preload_keys error Corrupt
34 test.t2 preload_keys status OK
35 DROP TEMPORARY TABLE t1;
36 DROP TABLE t1,t2;
37 CREATE TABLE t1 (c1 int, UNIQUE INDEX (c1)) engine=MyISAM;
38 INSERT INTO t1 VALUES (1),(2),(3),(4),(5);
39 CREATE TABLE t2 (c1 int, UNIQUE INDEX (c1)) engine=MyISAM;
40 INSERT INTO t2 VALUES (1),(2),(3),(4),(5);
41 CACHE INDEX t1,t2 IN default;
42 Table Op Msg_type Msg_text
43 test.t1 assign_to_keycache status OK
44 test.t2 assign_to_keycache status OK
45 LOAD INDEX INTO CACHE t1,t2;
46 Table Op Msg_type Msg_text
47 test.t1 preload_keys status OK
48 test.t2 preload_keys status OK
49 DROP TABLE t1,t2;