Debian Codegraph @

mysql-test/suite/s3/debug.result

raw
1 drop table if exists t1;
2 #
3 # MDEV-32884 Make s3_debug dynamic
4 #
5 create or replace table t1 (a int, b int, c varchar(1000), key (a), key(c)) engine=aria;
6 Warnings:
7 Note 1071 Specified key was too long; max key length is 2300 bytes
8 insert into t1 select seq, seq+10, repeat(char(65+ mod(seq, 20)),mod(seq,1000)) from seq_1_to_100;
9 alter table t1 engine=s3;
10 show create table t1;
11 Table Create Table
12 t1 CREATE TABLE `t1` (
13 `a` int(11) DEFAULT NULL,
14 `b` int(11) DEFAULT NULL,
15 `c` varchar(1000) DEFAULT NULL,
16 KEY `a` (`a`),
17 KEY `c` (`c`(575))
18 ) ENGINE=S3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci PAGE_CHECKSUM=1
19 select count(*) from t1;
20 count(*)
21 100
22 flush table t1;
23 NOT FOUND /s3_test_/ in mysqld.1.err
24 set @@global.s3_debug=1;
25 select count(*) from t1;
26 count(*)
27 100
28 set @@global.s3_debug=0;
29 FOUND 8 /s3_test_/ in mysqld.1.err
30 select count(*) from t1;
31 count(*)
32 100
33 drop table t1;
34 FOUND 8 /s3_test_/ in mysqld.1.err