Debian Codegraph @

mysql-test/suite/encryption/r/aria_tiny.result

raw
1 SET @aria_encrypt= @@aria_encrypt_tables;
2 SET global aria_encrypt_tables=1;
3 create table t1 (i int, key(i)) engine=aria;
4 insert into t1 values (1);
5 drop table t1;
6 create table t1 (a int primary key, b int, c int, key(b),key(c)) engine=aria;
7 alter table t1 disable keys;
8 insert into t1 select seq,seq,seq from seq_1_to_100;
9 alter table t1 enable keys;
10 check table t1;
11 Table Op Msg_type Msg_text
12 test.t1 check status OK
13 drop table t1;
14 #
15 # MDEV CHECK on encrypted Aria table complains about "Wrong LSN"
16 #
17 CREATE TABLE t1 (f DATE PRIMARY KEY) ENGINE=Aria;
18 INSERT INTO t1 (f) VALUES ('1995-01-01'),('2000-01-01');
19 DELETE FROM t1 WHERE f = '2000-01-01';
20 OPTIMIZE TABLE t1;
21 Table Op Msg_type Msg_text
22 test.t1 optimize status OK
23 CHECK TABLE t1 EXTENDED;
24 Table Op Msg_type Msg_text
25 test.t1 check status OK
26 DROP TABLE t1;
27 set global aria_encrypt_tables=@aria_encrypt;