Debian Codegraph @

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

raw
1 #
2 # MDEV-9158 file_key_management should support reading from a named pipe
3 #
4 # Test checks if opening a too large key file, file key plugin will only read max key file size bytes and extra bytes will be ignored.
5 select seq,repeat(md5(seq), 200)
6 into outfile 'MYSQLTEST_VARDIR/tmp/filekeys-data-too-large.key'
7 fields terminated by ';'
8 from seq_1_to_1000;
9 #Large key file will read max size bytes, which is 1MB
10 call mtr.add_suppression("filekeys-data-too-large.key too large, must be less than 1048576 bytes");
11 call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
12 call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
13 INSTALL SONAME 'file_key_management';
14 ERROR HY000: File MYSQLTEST_VARDIR/tmp/filekeys-data-too-large.key too large, must be less than 1048576 bytes
15 FOUND 1 /filekeys-data-too-large.key too large, must be less than 1048576 bytes/ in mysqld.1.err