1call mtr.add_suppression("InnoDB: The page \\[page id: space=[1-9][0-9]*, page number=[1-9][0-9]*\\] in file '.*test.t[123]\\.ibd' cannot be decrypted\\."); 2call mtr.add_suppression("failed to read or decrypt \\[page id: space=[1-9][0-9]*, page number=[1-9][0-9]*\\]"); 3call mtr.add_suppression("\\[Error\\] InnoDB: Page is still encrypted"); 4call mtr.add_suppression("\\[Warning\\] InnoDB: Table is encrypted but encryption service or used key_id is not available\. Can't continue reading table\."); 5CREATE TABLE t1(a int not null primary key, b varchar(128)) engine=innodb ENCRYPTION='KEYRING' ENCRYPTION_KEY_ID=7; 6CREATE TABLE t2(a int not null primary key, b varchar(128)) engine=innodb ENCRYPTION='KEYRING' ENCRYPTION_KEY_ID=6; 7CREATE TABLE t3(a int not null primary key, b varchar(128)) engine=innodb ENCRYPTION='N'; 8insert into t1 values (500, 'thisissecretmessage'); 9insert into t1 values (499, 'thisissecretmessage'); 10insert into t1 values (498, 'thisissecretmessage'); 11insert into t1 values (497, 'thisissecretmessage'); 12insert into t1 values (496, 'thisissecretmessage'); 13insert into t1 values (495, 'thisissecretmessage'); 14insert into t1 values (494, 'thisissecretmessage'); 15insert into t1 values (493, 'thisissecretmessage'); 16insert into t1 values (492, 'thisissecretmessage'); 17insert into t1 values (491, 'thisissecretmessage'); 18insert into t1 values (490, 'thisissecretmessage'); 19insert into t1 values (489, 'thisissecretmessage'); 20insert into t1 values (488, 'thisissecretmessage'); 21insert into t1 values (487, 'thisissecretmessage'); 22insert into t1 values (486, 'thisissecretmessage'); 23insert into t1 values (485, 'thisissecretmessage'); 24insert into t1 values (484, 'thisissecretmessage'); 25insert into t1 values (483, 'thisissecretmessage'); 26insert into t1 values (482, 'thisissecretmessage'); 27insert into t1 values (481, 'thisissecretmessage'); 28insert into t1 values (480, 'thisissecretmessage'); 29insert into t1 values (479, 'thisissecretmessage'); 30insert into t1 values (478, 'thisissecretmessage'); 31insert into t1 values (477, 'thisissecretmessage'); 32insert into t1 values (476, 'thisissecretmessage'); 33insert into t1 values (475, 'thisissecretmessage'); 34insert into t1 values (474, 'thisissecretmessage'); 35insert into t1 values (473, 'thisissecretmessage'); 36insert into t1 values (472, 'thisissecretmessage'); 37insert into t1 values (471, 'thisissecretmessage'); 38insert into t1 values (470, 'thisissecretmessage'); 39insert into t1 values (469, 'thisissecretmessage'); 40insert into t1 values (468, 'thisissecretmessage'); 41insert into t1 values (467, 'thisissecretmessage'); 42insert into t1 values (466, 'thisissecretmessage'); 43insert into t1 values (465, 'thisissecretmessage'); 44insert into t1 values (464, 'thisissecretmessage'); 45insert into t1 values (463, 'thisissecretmessage'); 46insert into t1 values (462, 'thisissecretmessage'); 47insert into t1 values (461, 'thisissecretmessage'); 48insert into t1 values (460, 'thisissecretmessage'); 49insert into t1 values (459, 'thisissecretmessage'); 50insert into t1 values (458, 'thisissecretmessage'); 51insert into t1 values (457, 'thisissecretmessage'); 52insert into t1 values (456, 'thisissecretmessage'); 53insert into t1 values (455, 'thisissecretmessage'); 54insert into t1 values (454, 'thisissecretmessage'); 55insert into t1 values (453, 'thisissecretmessage'); 56insert into t1 values (452, 'thisissecretmessage'); 57insert into t1 values (451, 'thisissecretmessage'); 58insert into t1 values (450, 'thisissecretmessage'); 59insert into t1 values (449, 'thisissecretmessage'); 60insert into t1 values (448, 'thisissecretmessage'); 61insert into t1 values (447, 'thisissecretmessage'); 62insert into t1 values (446, 'thisissecretmessage'); 63insert into t1 values (445, 'thisissecretmessage'); 64insert into t1 values (444, 'thisissecretmessage'); 65insert into t1 values (443, 'thisissecretmessage'); 66insert into t1 values (442, 'thisissecretmessage'); 67insert into t1 values (441, 'thisissecretmessage'); 68insert into t1 values (440, 'thisissecretmessage'); 69insert into t1 values (439, 'thisissecretmessage'); 70insert into t1 values (438, 'thisissecretmessage'); 71insert into t1 values (437, 'thisissecretmessage'); 72insert into t1 values (436, 'thisissecretmessage'); 73insert into t1 values (435, 'thisissecretmessage'); 74insert into t1 values (434, 'thisissecretmessage'); 75insert into t1 values (433, 'thisissecretmessage'); 76insert into t1 values (432, 'thisissecretmessage'); 77insert into t1 values (431, 'thisissecretmessage'); 78insert into t1 values (430, 'thisissecretmessage'); 79insert into t1 values (429, 'thisissecretmessage'); 80insert into t1 values (428, 'thisissecretmessage'); 81insert into t1 values (427, 'thisissecretmessage'); 82insert into t1 values (426, 'thisissecretmessage'); 83insert into t1 values (425, 'thisissecretmessage'); 84insert into t1 values (424, 'thisissecretmessage'); 85insert into t1 values (423, 'thisissecretmessage'); 86insert into t1 values (422, 'thisissecretmessage'); 87insert into t1 values (421, 'thisissecretmessage'); 88insert into t1 values (420, 'thisissecretmessage'); 89insert into t1 values (419, 'thisissecretmessage'); 90insert into t1 values (418, 'thisissecretmessage'); 91insert into t1 values (417, 'thisissecretmessage'); 92insert into t1 values (416, 'thisissecretmessage'); 93insert into t1 values (415, 'thisissecretmessage'); 94insert into t1 values (414, 'thisissecretmessage'); 95insert into t1 values (413, 'thisissecretmessage'); 96insert into t1 values (412, 'thisissecretmessage'); 97insert into t1 values (411, 'thisissecretmessage'); 98insert into t1 values (410, 'thisissecretmessage'); 99insert into t1 values (409, 'thisissecretmessage'); 100insert into t1 values (408, 'thisissecretmessage'); 101insert into t1 values (407, 'thisissecretmessage'); 102insert into t1 values (406, 'thisissecretmessage'); 103insert into t1 values (405, 'thisissecretmessage'); 104insert into t1 values (404, 'thisissecretmessage'); 105insert into t1 values (403, 'thisissecretmessage'); 106insert into t1 values (402, 'thisissecretmessage'); 107insert into t1 values (401, 'thisissecretmessage'); 108insert into t1 values (400, 'thisissecretmessage'); 109insert into t1 values (399, 'thisissecretmessage'); 110insert into t1 values (398, 'thisissecretmessage'); 111insert into t1 values (397, 'thisissecretmessage'); 112insert into t1 values (396, 'thisissecretmessage'); 113insert into t1 values (395, 'thisissecretmessage'); 114insert into t1 values (394, 'thisissecretmessage'); 115insert into t1 values (393, 'thisissecretmessage'); 116insert into t1 values (392, 'thisissecretmessage'); 117insert into t1 values (391, 'thisissecretmessage'); 118insert into t1 values (390, 'thisissecretmessage'); 119insert into t1 values (389, 'thisissecretmessage'); 120insert into t1 values (388, 'thisissecretmessage'); 121insert into t1 values (387, 'thisissecretmessage'); 122insert into t1 values (386, 'thisissecretmessage'); 123insert into t1 values (385, 'thisissecretmessage'); 124insert into t1 values (384, 'thisissecretmessage'); 125insert into t1 values (383, 'thisissecretmessage'); 126insert into t1 values (382, 'thisissecretmessage'); 127insert into t1 values (381, 'thisissecretmessage'); 128insert into t1 values (380, 'thisissecretmessage'); 129insert into t1 values (379, 'thisissecretmessage'); 130insert into t1 values (378, 'thisissecretmessage'); 131insert into t1 values (377, 'thisissecretmessage'); 132insert into t1 values (376, 'thisissecretmessage'); 133insert into t1 values (375, 'thisissecretmessage'); 134insert into t1 values (374, 'thisissecretmessage'); 135insert into t1 values (373, 'thisissecretmessage'); 136insert into t1 values (372, 'thisissecretmessage'); 137insert into t1 values (371, 'thisissecretmessage'); 138insert into t1 values (370, 'thisissecretmessage'); 139insert into t1 values (369, 'thisissecretmessage'); 140insert into t1 values (368, 'thisissecretmessage'); 141insert into t1 values (367, 'thisissecretmessage'); 142insert into t1 values (366, 'thisissecretmessage'); 143insert into t1 values (365, 'thisissecretmessage'); 144insert into t1 values (364, 'thisissecretmessage'); 145insert into t1 values (363, 'thisissecretmessage'); 146insert into t1 values (362, 'thisissecretmessage'); 147insert into t1 values (361, 'thisissecretmessage'); 148insert into t1 values (360, 'thisissecretmessage'); 149insert into t1 values (359, 'thisissecretmessage'); 150insert into t1 values (358, 'thisissecretmessage'); 151insert into t1 values (357, 'thisissecretmessage'); 152insert into t1 values (356, 'thisissecretmessage'); 153insert into t1 values (355, 'thisissecretmessage'); 154insert into t1 values (354, 'thisissecretmessage'); 155insert into t1 values (353, 'thisissecretmessage'); 156insert into t1 values (352, 'thisissecretmessage'); 157insert into t1 values (351, 'thisissecretmessage'); 158insert into t1 values (350, 'thisissecretmessage'); 159insert into t1 values (349, 'thisissecretmessage'); 160insert into t1 values (348, 'thisissecretmessage'); 161insert into t1 values (347, 'thisissecretmessage'); 162insert into t1 values (346, 'thisissecretmessage'); 163insert into t1 values (345, 'thisissecretmessage'); 164insert into t1 values (344, 'thisissecretmessage'); 165insert into t1 values (343, 'thisissecretmessage'); 166insert into t1 values (342, 'thisissecretmessage'); 167insert into t1 values (341, 'thisissecretmessage'); 168insert into t1 values (340, 'thisissecretmessage'); 169insert into t1 values (339, 'thisissecretmessage'); 170insert into t1 values (338, 'thisissecretmessage'); 171insert into t1 values (337, 'thisissecretmessage'); 172insert into t1 values (336, 'thisissecretmessage'); 173insert into t1 values (335, 'thisissecretmessage'); 174insert into t1 values (334, 'thisissecretmessage'); 175insert into t1 values (333, 'thisissecretmessage'); 176insert into t1 values (332, 'thisissecretmessage'); 177insert into t1 values (331, 'thisissecretmessage'); 178insert into t1 values (330, 'thisissecretmessage'); 179insert into t1 values (329, 'thisissecretmessage'); 180insert into t1 values (328, 'thisissecretmessage'); 181insert into t1 values (327, 'thisissecretmessage'); 182insert into t1 values (326, 'thisissecretmessage'); 183insert into t1 values (325, 'thisissecretmessage'); 184insert into t1 values (324, 'thisissecretmessage'); 185insert into t1 values (323, 'thisissecretmessage'); 186insert into t1 values (322, 'thisissecretmessage'); 187insert into t1 values (321, 'thisissecretmessage'); 188insert into t1 values (320, 'thisissecretmessage'); 189insert into t1 values (319, 'thisissecretmessage'); 190insert into t1 values (318, 'thisissecretmessage'); 191insert into t1 values (317, 'thisissecretmessage'); 192insert into t1 values (316, 'thisissecretmessage'); 193insert into t1 values (315, 'thisissecretmessage'); 194insert into t1 values (314, 'thisissecretmessage'); 195insert into t1 values (313, 'thisissecretmessage'); 196insert into t1 values (312, 'thisissecretmessage'); 197insert into t1 values (311, 'thisissecretmessage'); 198insert into t1 values (310, 'thisissecretmessage'); 199insert into t1 values (309, 'thisissecretmessage'); 200insert into t1 values (308, 'thisissecretmessage'); 201insert into t1 values (307, 'thisissecretmessage'); 202insert into t1 values (306, 'thisissecretmessage'); 203insert into t1 values (305, 'thisissecretmessage'); 204insert into t1 values (304, 'thisissecretmessage'); 205insert into t1 values (303, 'thisissecretmessage'); 206insert into t1 values (302, 'thisissecretmessage'); 207insert into t1 values (301, 'thisissecretmessage'); 208insert into t1 values (300, 'thisissecretmessage'); 209insert into t1 values (299, 'thisissecretmessage'); 210insert into t1 values (298, 'thisissecretmessage'); 211insert into t1 values (297, 'thisissecretmessage'); 212insert into t1 values (296, 'thisissecretmessage'); 213insert into t1 values (295, 'thisissecretmessage'); 214insert into t1 values (294, 'thisissecretmessage'); 215insert into t1 values (293, 'thisissecretmessage'); 216insert into t1 values (292, 'thisissecretmessage'); 217insert into t1 values (291, 'thisissecretmessage'); 218insert into t1 values (290, 'thisissecretmessage'); 219insert into t1 values (289, 'thisissecretmessage'); 220insert into t1 values (288, 'thisissecretmessage'); 221insert into t1 values (287, 'thisissecretmessage'); 222insert into t1 values (286, 'thisissecretmessage'); 223insert into t1 values (285, 'thisissecretmessage'); 224insert into t1 values (284, 'thisissecretmessage'); 225insert into t1 values (283, 'thisissecretmessage'); 226insert into t1 values (282, 'thisissecretmessage'); 227insert into t1 values (281, 'thisissecretmessage'); 228insert into t1 values (280, 'thisissecretmessage'); 229insert into t1 values (279, 'thisissecretmessage'); 230insert into t1 values (278, 'thisissecretmessage'); 231insert into t1 values (277, 'thisissecretmessage'); 232insert into t1 values (276, 'thisissecretmessage'); 233insert into t1 values (275, 'thisissecretmessage'); 234insert into t1 values (274, 'thisissecretmessage'); 235insert into t1 values (273, 'thisissecretmessage'); 236insert into t1 values (272, 'thisissecretmessage'); 237insert into t1 values (271, 'thisissecretmessage'); 238insert into t1 values (270, 'thisissecretmessage'); 239insert into t1 values (269, 'thisissecretmessage'); 240insert into t1 values (268, 'thisissecretmessage'); 241insert into t1 values (267, 'thisissecretmessage'); 242insert into t1 values (266, 'thisissecretmessage'); 243insert into t1 values (265, 'thisissecretmessage'); 244insert into t1 values (264, 'thisissecretmessage'); 245insert into t1 values (263, 'thisissecretmessage'); 246insert into t1 values (262, 'thisissecretmessage'); 247insert into t1 values (261, 'thisissecretmessage'); 248insert into t1 values (260, 'thisissecretmessage'); 249insert into t1 values (259, 'thisissecretmessage'); 250insert into t1 values (258, 'thisissecretmessage'); 251insert into t1 values (257, 'thisissecretmessage'); 252insert into t1 values (256, 'thisissecretmessage'); 253insert into t1 values (255, 'thisissecretmessage'); 254insert into t1 values (254, 'thisissecretmessage'); 255insert into t1 values (253, 'thisissecretmessage'); 256insert into t1 values (252, 'thisissecretmessage'); 257insert into t1 values (251, 'thisissecretmessage'); 258insert into t1 values (250, 'thisissecretmessage'); 259insert into t1 values (249, 'thisissecretmessage'); 260insert into t1 values (248, 'thisissecretmessage'); 261insert into t1 values (247, 'thisissecretmessage'); 262insert into t1 values (246, 'thisissecretmessage'); 263insert into t1 values (245, 'thisissecretmessage'); 264insert into t1 values (244, 'thisissecretmessage'); 265insert into t1 values (243, 'thisissecretmessage'); 266insert into t1 values (242, 'thisissecretmessage'); 267insert into t1 values (241, 'thisissecretmessage'); 268insert into t1 values (240, 'thisissecretmessage'); 269insert into t1 values (239, 'thisissecretmessage'); 270insert into t1 values (238, 'thisissecretmessage'); 271insert into t1 values (237, 'thisissecretmessage'); 272insert into t1 values (236, 'thisissecretmessage'); 273insert into t1 values (235, 'thisissecretmessage'); 274insert into t1 values (234, 'thisissecretmessage'); 275insert into t1 values (233, 'thisissecretmessage'); 276insert into t1 values (232, 'thisissecretmessage'); 277insert into t1 values (231, 'thisissecretmessage'); 278insert into t1 values (230, 'thisissecretmessage'); 279insert into t1 values (229, 'thisissecretmessage'); 280insert into t1 values (228, 'thisissecretmessage'); 281insert into t1 values (227, 'thisissecretmessage'); 282insert into t1 values (226, 'thisissecretmessage'); 283insert into t1 values (225, 'thisissecretmessage'); 284insert into t1 values (224, 'thisissecretmessage'); 285insert into t1 values (223, 'thisissecretmessage'); 286insert into t1 values (222, 'thisissecretmessage'); 287insert into t1 values (221, 'thisissecretmessage'); 288insert into t1 values (220, 'thisissecretmessage'); 289insert into t1 values (219, 'thisissecretmessage'); 290insert into t1 values (218, 'thisissecretmessage'); 291insert into t1 values (217, 'thisissecretmessage'); 292insert into t1 values (216, 'thisissecretmessage'); 293insert into t1 values (215, 'thisissecretmessage'); 294insert into t1 values (214, 'thisissecretmessage'); 295insert into t1 values (213, 'thisissecretmessage'); 296insert into t1 values (212, 'thisissecretmessage'); 297insert into t1 values (211, 'thisissecretmessage'); 298insert into t1 values (210, 'thisissecretmessage'); 299insert into t1 values (209, 'thisissecretmessage'); 300insert into t1 values (208, 'thisissecretmessage'); 301insert into t1 values (207, 'thisissecretmessage'); 302insert into t1 values (206, 'thisissecretmessage'); 303insert into t1 values (205, 'thisissecretmessage'); 304insert into t1 values (204, 'thisissecretmessage'); 305insert into t1 values (203, 'thisissecretmessage'); 306insert into t1 values (202, 'thisissecretmessage'); 307insert into t1 values (201, 'thisissecretmessage'); 308insert into t1 values (200, 'thisissecretmessage'); 309insert into t1 values (199, 'thisissecretmessage'); 310insert into t1 values (198, 'thisissecretmessage'); 311insert into t1 values (197, 'thisissecretmessage'); 312insert into t1 values (196, 'thisissecretmessage'); 313insert into t1 values (195, 'thisissecretmessage'); 314insert into t1 values (194, 'thisissecretmessage'); 315insert into t1 values (193, 'thisissecretmessage'); 316insert into t1 values (192, 'thisissecretmessage'); 317insert into t1 values (191, 'thisissecretmessage'); 318insert into t1 values (190, 'thisissecretmessage'); 319insert into t1 values (189, 'thisissecretmessage'); 320insert into t1 values (188, 'thisissecretmessage'); 321insert into t1 values (187, 'thisissecretmessage'); 322insert into t1 values (186, 'thisissecretmessage'); 323insert into t1 values (185, 'thisissecretmessage'); 324insert into t1 values (184, 'thisissecretmessage'); 325insert into t1 values (183, 'thisissecretmessage'); 326insert into t1 values (182, 'thisissecretmessage'); 327insert into t1 values (181, 'thisissecretmessage'); 328insert into t1 values (180, 'thisissecretmessage'); 329insert into t1 values (179, 'thisissecretmessage'); 330insert into t1 values (178, 'thisissecretmessage'); 331insert into t1 values (177, 'thisissecretmessage'); 332insert into t1 values (176, 'thisissecretmessage'); 333insert into t1 values (175, 'thisissecretmessage'); 334insert into t1 values (174, 'thisissecretmessage'); 335insert into t1 values (173, 'thisissecretmessage'); 336insert into t1 values (172, 'thisissecretmessage'); 337insert into t1 values (171, 'thisissecretmessage'); 338insert into t1 values (170, 'thisissecretmessage'); 339insert into t1 values (169, 'thisissecretmessage'); 340insert into t1 values (168, 'thisissecretmessage'); 341insert into t1 values (167, 'thisissecretmessage'); 342insert into t1 values (166, 'thisissecretmessage'); 343insert into t1 values (165, 'thisissecretmessage'); 344insert into t1 values (164, 'thisissecretmessage'); 345insert into t1 values (163, 'thisissecretmessage'); 346insert into t1 values (162, 'thisissecretmessage'); 347insert into t1 values (161, 'thisissecretmessage'); 348insert into t1 values (160, 'thisissecretmessage'); 349insert into t1 values (159, 'thisissecretmessage'); 350insert into t1 values (158, 'thisissecretmessage'); 351insert into t1 values (157, 'thisissecretmessage'); 352insert into t1 values (156, 'thisissecretmessage'); 353insert into t1 values (155, 'thisissecretmessage'); 354insert into t1 values (154, 'thisissecretmessage'); 355insert into t1 values (153, 'thisissecretmessage'); 356insert into t1 values (152, 'thisissecretmessage'); 357insert into t1 values (151, 'thisissecretmessage'); 358insert into t1 values (150, 'thisissecretmessage'); 359insert into t1 values (149, 'thisissecretmessage'); 360insert into t1 values (148, 'thisissecretmessage'); 361insert into t1 values (147, 'thisissecretmessage'); 362insert into t1 values (146, 'thisissecretmessage'); 363insert into t1 values (145, 'thisissecretmessage'); 364insert into t1 values (144, 'thisissecretmessage'); 365insert into t1 values (143, 'thisissecretmessage'); 366insert into t1 values (142, 'thisissecretmessage'); 367insert into t1 values (141, 'thisissecretmessage'); 368insert into t1 values (140, 'thisissecretmessage'); 369insert into t1 values (139, 'thisissecretmessage'); 370insert into t1 values (138, 'thisissecretmessage'); 371insert into t1 values (137, 'thisissecretmessage'); 372insert into t1 values (136, 'thisissecretmessage'); 373insert into t1 values (135, 'thisissecretmessage'); 374insert into t1 values (134, 'thisissecretmessage'); 375insert into t1 values (133, 'thisissecretmessage'); 376insert into t1 values (132, 'thisissecretmessage'); 377insert into t1 values (131, 'thisissecretmessage'); 378insert into t1 values (130, 'thisissecretmessage'); 379insert into t1 values (129, 'thisissecretmessage'); 380insert into t1 values (128, 'thisissecretmessage'); 381insert into t1 values (127, 'thisissecretmessage'); 382insert into t1 values (126, 'thisissecretmessage'); 383insert into t1 values (125, 'thisissecretmessage'); 384insert into t1 values (124, 'thisissecretmessage'); 385insert into t1 values (123, 'thisissecretmessage'); 386insert into t1 values (122, 'thisissecretmessage'); 387insert into t1 values (121, 'thisissecretmessage'); 388insert into t1 values (120, 'thisissecretmessage'); 389insert into t1 values (119, 'thisissecretmessage'); 390insert into t1 values (118, 'thisissecretmessage'); 391insert into t1 values (117, 'thisissecretmessage'); 392insert into t1 values (116, 'thisissecretmessage'); 393insert into t1 values (115, 'thisissecretmessage'); 394insert into t1 values (114, 'thisissecretmessage'); 395insert into t1 values (113, 'thisissecretmessage'); 396insert into t1 values (112, 'thisissecretmessage'); 397insert into t1 values (111, 'thisissecretmessage'); 398insert into t1 values (110, 'thisissecretmessage'); 399insert into t1 values (109, 'thisissecretmessage'); 400insert into t1 values (108, 'thisissecretmessage'); 401insert into t1 values (107, 'thisissecretmessage'); 402insert into t1 values (106, 'thisissecretmessage'); 403insert into t1 values (105, 'thisissecretmessage'); 404insert into t1 values (104, 'thisissecretmessage'); 405insert into t1 values (103, 'thisissecretmessage'); 406insert into t1 values (102, 'thisissecretmessage'); 407insert into t1 values (101, 'thisissecretmessage'); 408insert into t1 values (100, 'thisissecretmessage'); 409insert into t1 values (99, 'thisissecretmessage'); 410insert into t1 values (98, 'thisissecretmessage'); 411insert into t1 values (97, 'thisissecretmessage'); 412insert into t1 values (96, 'thisissecretmessage'); 413insert into t1 values (95, 'thisissecretmessage'); 414insert into t1 values (94, 'thisissecretmessage'); 415insert into t1 values (93, 'thisissecretmessage'); 416insert into t1 values (92, 'thisissecretmessage'); 417insert into t1 values (91, 'thisissecretmessage'); 418insert into t1 values (90, 'thisissecretmessage'); 419insert into t1 values (89, 'thisissecretmessage'); 420insert into t1 values (88, 'thisissecretmessage'); 421insert into t1 values (87, 'thisissecretmessage'); 422insert into t1 values (86, 'thisissecretmessage'); 423insert into t1 values (85, 'thisissecretmessage'); 424insert into t1 values (84, 'thisissecretmessage'); 425insert into t1 values (83, 'thisissecretmessage'); 426insert into t1 values (82, 'thisissecretmessage'); 427insert into t1 values (81, 'thisissecretmessage'); 428insert into t1 values (80, 'thisissecretmessage'); 429insert into t1 values (79, 'thisissecretmessage'); 430insert into t1 values (78, 'thisissecretmessage'); 431insert into t1 values (77, 'thisissecretmessage'); 432insert into t1 values (76, 'thisissecretmessage'); 433insert into t1 values (75, 'thisissecretmessage'); 434insert into t1 values (74, 'thisissecretmessage'); 435insert into t1 values (73, 'thisissecretmessage'); 436insert into t1 values (72, 'thisissecretmessage'); 437insert into t1 values (71, 'thisissecretmessage'); 438insert into t1 values (70, 'thisissecretmessage'); 439insert into t1 values (69, 'thisissecretmessage'); 440insert into t1 values (68, 'thisissecretmessage'); 441insert into t1 values (67, 'thisissecretmessage'); 442insert into t1 values (66, 'thisissecretmessage'); 443insert into t1 values (65, 'thisissecretmessage'); 444insert into t1 values (64, 'thisissecretmessage'); 445insert into t1 values (63, 'thisissecretmessage'); 446insert into t1 values (62, 'thisissecretmessage'); 447insert into t1 values (61, 'thisissecretmessage'); 448insert into t1 values (60, 'thisissecretmessage'); 449insert into t1 values (59, 'thisissecretmessage'); 450insert into t1 values (58, 'thisissecretmessage'); 451insert into t1 values (57, 'thisissecretmessage'); 452insert into t1 values (56, 'thisissecretmessage'); 453insert into t1 values (55, 'thisissecretmessage'); 454insert into t1 values (54, 'thisissecretmessage'); 455insert into t1 values (53, 'thisissecretmessage'); 456insert into t1 values (52, 'thisissecretmessage'); 457insert into t1 values (51, 'thisissecretmessage'); 458insert into t1 values (50, 'thisissecretmessage'); 459insert into t1 values (49, 'thisissecretmessage'); 460insert into t1 values (48, 'thisissecretmessage'); 461insert into t1 values (47, 'thisissecretmessage'); 462insert into t1 values (46, 'thisissecretmessage'); 463insert into t1 values (45, 'thisissecretmessage'); 464insert into t1 values (44, 'thisissecretmessage'); 465insert into t1 values (43, 'thisissecretmessage'); 466insert into t1 values (42, 'thisissecretmessage'); 467insert into t1 values (41, 'thisissecretmessage'); 468insert into t1 values (40, 'thisissecretmessage'); 469insert into t1 values (39, 'thisissecretmessage'); 470insert into t1 values (38, 'thisissecretmessage'); 471insert into t1 values (37, 'thisissecretmessage'); 472insert into t1 values (36, 'thisissecretmessage'); 473insert into t1 values (35, 'thisissecretmessage'); 474insert into t1 values (34, 'thisissecretmessage'); 475insert into t1 values (33, 'thisissecretmessage'); 476insert into t1 values (32, 'thisissecretmessage'); 477insert into t1 values (31, 'thisissecretmessage'); 478insert into t1 values (30, 'thisissecretmessage'); 479insert into t1 values (29, 'thisissecretmessage'); 480insert into t1 values (28, 'thisissecretmessage'); 481insert into t1 values (27, 'thisissecretmessage'); 482insert into t1 values (26, 'thisissecretmessage'); 483insert into t1 values (25, 'thisissecretmessage'); 484insert into t1 values (24, 'thisissecretmessage'); 485insert into t1 values (23, 'thisissecretmessage'); 486insert into t1 values (22, 'thisissecretmessage'); 487insert into t1 values (21, 'thisissecretmessage'); 488insert into t1 values (20, 'thisissecretmessage'); 489insert into t1 values (19, 'thisissecretmessage'); 490insert into t1 values (18, 'thisissecretmessage'); 491insert into t1 values (17, 'thisissecretmessage'); 492insert into t1 values (16, 'thisissecretmessage'); 493insert into t1 values (15, 'thisissecretmessage'); 494insert into t1 values (14, 'thisissecretmessage'); 495insert into t1 values (13, 'thisissecretmessage'); 496insert into t1 values (12, 'thisissecretmessage'); 497insert into t1 values (11, 'thisissecretmessage'); 498insert into t1 values (10, 'thisissecretmessage'); 499insert into t1 values (9, 'thisissecretmessage'); 500insert into t1 values (8, 'thisissecretmessage'); 501insert into t1 values (7, 'thisissecretmessage'); 502insert into t1 values (6, 'thisissecretmessage'); 503insert into t1 values (5, 'thisissecretmessage'); 504insert into t1 values (4, 'thisissecretmessage'); 505insert into t1 values (3, 'thisissecretmessage'); 506insert into t1 values (2, 'thisissecretmessage'); 507insert into t1 values (1, 'thisissecretmessage'); 508INSERT INTO t2 SELECT * FROM t1; 509INSERT INTO t3 SELECT * FROM t1; 510 511# Restart server with keys3.txt 512# restart:--keyring-file-data=MYSQLTEST_VARDIR/std_data/keys3.txt 513set global innodb_encryption_rotate_key_age = 1; 514use test; 515CREATE TABLE t4(a int not null primary key, b varchar(128)) engine=innodb ENCRYPTION='KEYRING' ENCRYPTION_KEY_ID=6; 516SELECT SLEEP(5); 517SLEEP(5) 5180 519SELECT COUNT(1) FROM t3; 520COUNT(1) 521500 522SELECT COUNT(1) FROM t2; 523COUNT(1) 524500 525SELECT COUNT(1) FROM t2,t1 where t2.a = t1.a; 526ERROR HY000: Got error 500 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB 527SELECT COUNT(1) FROM t1 where b = 'ab'; 528ERROR HY000: Got error 500 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB 529SELECT COUNT(1) FROM t1; 530ERROR HY000: Got error 500 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB 531 532# Start server with keys2.txt 533# restart:--keyring-file-data=MYSQLTEST_VARDIR/std_data/keys2.txt 534SELECT COUNT(1) FROM t1; 535COUNT(1) 536500 537SELECT COUNT(1) FROM t2; 538COUNT(1) 539500 540SELECT COUNT(1) FROM t3; 541COUNT(1) 542500 543DROP TABLE t1, t2, t3; 544