@@ -56,7 +56,7 @@ connection default;
56
56
grant select on *.* to role1;
57
57
show status like 'debug%';
58
58
Variable_name Value
59
- Debug_role_merges_global 19
59
+ Debug_role_merges_global 20
60
60
Debug_role_merges_db 0
61
61
Debug_role_merges_table 0
62
62
Debug_role_merges_column 0
@@ -106,7 +106,7 @@ connection default;
106
106
revoke select on *.* from role1;
107
107
show status like 'debug%';
108
108
Variable_name Value
109
- Debug_role_merges_global 27
109
+ Debug_role_merges_global 29
110
110
Debug_role_merges_db 0
111
111
Debug_role_merges_table 0
112
112
Debug_role_merges_column 0
@@ -124,8 +124,8 @@ connection default;
124
124
grant select on mysql.* to role1;
125
125
show status like 'debug%';
126
126
Variable_name Value
127
- Debug_role_merges_global 27
128
- Debug_role_merges_db 8
127
+ Debug_role_merges_global 29
128
+ Debug_role_merges_db 9
129
129
Debug_role_merges_table 0
130
130
Debug_role_merges_column 0
131
131
Debug_role_merges_routine 0
@@ -164,8 +164,8 @@ connection default;
164
164
revoke select on mysql.* from role1;
165
165
show status like 'debug%';
166
166
Variable_name Value
167
- Debug_role_merges_global 27
168
- Debug_role_merges_db 16
167
+ Debug_role_merges_global 29
168
+ Debug_role_merges_db 17
169
169
Debug_role_merges_table 0
170
170
Debug_role_merges_column 0
171
171
Debug_role_merges_routine 0
@@ -177,9 +177,9 @@ connection default;
177
177
grant select on mysql.roles_mapping to role1;
178
178
show status like 'debug%';
179
179
Variable_name Value
180
- Debug_role_merges_global 27
181
- Debug_role_merges_db 16
182
- Debug_role_merges_table 8
180
+ Debug_role_merges_global 29
181
+ Debug_role_merges_db 17
182
+ Debug_role_merges_table 9
183
183
Debug_role_merges_column 0
184
184
Debug_role_merges_routine 0
185
185
connection foo;
@@ -217,9 +217,9 @@ connection default;
217
217
revoke select on mysql.roles_mapping from role1;
218
218
show status like 'debug%';
219
219
Variable_name Value
220
- Debug_role_merges_global 27
221
- Debug_role_merges_db 16
222
- Debug_role_merges_table 16
220
+ Debug_role_merges_global 29
221
+ Debug_role_merges_db 17
222
+ Debug_role_merges_table 17
223
223
Debug_role_merges_column 0
224
224
Debug_role_merges_routine 0
225
225
connection foo;
@@ -230,10 +230,10 @@ connection default;
230
230
grant select(User) on mysql.roles_mapping to role1;
231
231
show status like 'debug%';
232
232
Variable_name Value
233
- Debug_role_merges_global 27
234
- Debug_role_merges_db 16
235
- Debug_role_merges_table 24
236
- Debug_role_merges_column 8
233
+ Debug_role_merges_global 29
234
+ Debug_role_merges_db 17
235
+ Debug_role_merges_table 26
236
+ Debug_role_merges_column 9
237
237
Debug_role_merges_routine 0
238
238
connection foo;
239
239
select count(*) from mysql.roles_mapping;
@@ -272,10 +272,10 @@ connection default;
272
272
grant select(Host) on mysql.roles_mapping to role3;
273
273
show status like 'debug%';
274
274
Variable_name Value
275
- Debug_role_merges_global 27
276
- Debug_role_merges_db 16
277
- Debug_role_merges_table 30
278
- Debug_role_merges_column 14
275
+ Debug_role_merges_global 29
276
+ Debug_role_merges_db 17
277
+ Debug_role_merges_table 33
278
+ Debug_role_merges_column 16
279
279
Debug_role_merges_routine 0
280
280
connection foo;
281
281
select count(concat(User,Host,Role)) from mysql.roles_mapping;
@@ -312,10 +312,10 @@ connection default;
312
312
revoke select(User) on mysql.roles_mapping from role1;
313
313
show status like 'debug%';
314
314
Variable_name Value
315
- Debug_role_merges_global 27
316
- Debug_role_merges_db 16
317
- Debug_role_merges_table 38
318
- Debug_role_merges_column 22
315
+ Debug_role_merges_global 29
316
+ Debug_role_merges_db 17
317
+ Debug_role_merges_table 41
318
+ Debug_role_merges_column 24
319
319
Debug_role_merges_routine 0
320
320
connection foo;
321
321
select count(concat(User,Host)) from mysql.roles_mapping;
@@ -327,10 +327,10 @@ connection default;
327
327
revoke select(Host) on mysql.roles_mapping from role3;
328
328
show status like 'debug%';
329
329
Variable_name Value
330
- Debug_role_merges_global 27
331
- Debug_role_merges_db 16
332
- Debug_role_merges_table 44
333
- Debug_role_merges_column 28
330
+ Debug_role_merges_global 29
331
+ Debug_role_merges_db 17
332
+ Debug_role_merges_table 47
333
+ Debug_role_merges_column 30
334
334
Debug_role_merges_routine 0
335
335
connection foo;
336
336
select count(concat(Host)) from mysql.roles_mapping;
@@ -342,11 +342,11 @@ create function fn1() returns char(10) return "fn1";
342
342
grant execute on procedure test.pr1 to role1;
343
343
show status like 'debug%';
344
344
Variable_name Value
345
- Debug_role_merges_global 27
346
- Debug_role_merges_db 16
347
- Debug_role_merges_table 44
348
- Debug_role_merges_column 28
349
- Debug_role_merges_routine 8
345
+ Debug_role_merges_global 29
346
+ Debug_role_merges_db 17
347
+ Debug_role_merges_table 47
348
+ Debug_role_merges_column 30
349
+ Debug_role_merges_routine 9
350
350
connection foo;
351
351
call pr1();
352
352
ERROR 42000: execute command denied to user 'foo'@'localhost' for routine 'test.pr1'
@@ -360,11 +360,11 @@ connection default;
360
360
grant execute on function test.fn1 to role5;
361
361
show status like 'debug%';
362
362
Variable_name Value
363
- Debug_role_merges_global 27
364
- Debug_role_merges_db 16
365
- Debug_role_merges_table 44
366
- Debug_role_merges_column 28
367
- Debug_role_merges_routine 13
363
+ Debug_role_merges_global 29
364
+ Debug_role_merges_db 17
365
+ Debug_role_merges_table 47
366
+ Debug_role_merges_column 30
367
+ Debug_role_merges_routine 15
368
368
connection foo;
369
369
select fn1();
370
370
fn1()
@@ -373,11 +373,11 @@ connection default;
373
373
revoke execute on procedure test.pr1 from role1;
374
374
show status like 'debug%';
375
375
Variable_name Value
376
- Debug_role_merges_global 27
377
- Debug_role_merges_db 16
378
- Debug_role_merges_table 44
379
- Debug_role_merges_column 28
380
- Debug_role_merges_routine 21
376
+ Debug_role_merges_global 29
377
+ Debug_role_merges_db 17
378
+ Debug_role_merges_table 47
379
+ Debug_role_merges_column 30
380
+ Debug_role_merges_routine 23
381
381
connection foo;
382
382
call pr1();
383
383
ERROR 42000: execute command denied to user 'foo'@'localhost' for routine 'test.pr1'
@@ -388,11 +388,11 @@ connection default;
388
388
revoke execute on function test.fn1 from role5;
389
389
show status like 'debug%';
390
390
Variable_name Value
391
- Debug_role_merges_global 27
392
- Debug_role_merges_db 16
393
- Debug_role_merges_table 44
394
- Debug_role_merges_column 28
395
- Debug_role_merges_routine 26
391
+ Debug_role_merges_global 29
392
+ Debug_role_merges_db 17
393
+ Debug_role_merges_table 47
394
+ Debug_role_merges_column 30
395
+ Debug_role_merges_routine 28
396
396
connection foo;
397
397
select fn1();
398
398
ERROR 42000: execute command denied to user 'foo'@'localhost' for routine 'test.fn1'
@@ -403,67 +403,67 @@ drop function fn1;
403
403
grant select on mysql.roles_mapping to role3;
404
404
show status like 'debug%';
405
405
Variable_name Value
406
- Debug_role_merges_global 27
407
- Debug_role_merges_db 16
408
- Debug_role_merges_table 50
409
- Debug_role_merges_column 28
410
- Debug_role_merges_routine 26
406
+ Debug_role_merges_global 29
407
+ Debug_role_merges_db 17
408
+ Debug_role_merges_table 54
409
+ Debug_role_merges_column 30
410
+ Debug_role_merges_routine 28
411
411
grant select on mysql.roles_mapping to role1;
412
412
show status like 'debug%';
413
413
Variable_name Value
414
- Debug_role_merges_global 27
415
- Debug_role_merges_db 16
416
- Debug_role_merges_table 53
417
- Debug_role_merges_column 28
418
- Debug_role_merges_routine 26
414
+ Debug_role_merges_global 29
415
+ Debug_role_merges_db 17
416
+ Debug_role_merges_table 58
417
+ Debug_role_merges_column 30
418
+ Debug_role_merges_routine 28
419
419
revoke select on mysql.roles_mapping from role3;
420
420
show status like 'debug%';
421
421
Variable_name Value
422
- Debug_role_merges_global 27
423
- Debug_role_merges_db 16
424
- Debug_role_merges_table 54
425
- Debug_role_merges_column 28
426
- Debug_role_merges_routine 26
422
+ Debug_role_merges_global 29
423
+ Debug_role_merges_db 17
424
+ Debug_role_merges_table 59
425
+ Debug_role_merges_column 30
426
+ Debug_role_merges_routine 28
427
427
revoke select on mysql.roles_mapping from role1;
428
428
show status like 'debug%';
429
429
Variable_name Value
430
- Debug_role_merges_global 27
431
- Debug_role_merges_db 16
432
- Debug_role_merges_table 62
433
- Debug_role_merges_column 28
434
- Debug_role_merges_routine 26
430
+ Debug_role_merges_global 29
431
+ Debug_role_merges_db 17
432
+ Debug_role_merges_table 67
433
+ Debug_role_merges_column 30
434
+ Debug_role_merges_routine 28
435
435
grant select on mysql.* to role1;
436
436
show status like 'debug%';
437
437
Variable_name Value
438
- Debug_role_merges_global 27
439
- Debug_role_merges_db 24
440
- Debug_role_merges_table 62
441
- Debug_role_merges_column 28
442
- Debug_role_merges_routine 26
438
+ Debug_role_merges_global 29
439
+ Debug_role_merges_db 26
440
+ Debug_role_merges_table 67
441
+ Debug_role_merges_column 30
442
+ Debug_role_merges_routine 28
443
443
grant select on test.* to role1;
444
444
show status like 'debug%';
445
445
Variable_name Value
446
- Debug_role_merges_global 27
447
- Debug_role_merges_db 32
448
- Debug_role_merges_table 62
449
- Debug_role_merges_column 28
450
- Debug_role_merges_routine 26
446
+ Debug_role_merges_global 29
447
+ Debug_role_merges_db 35
448
+ Debug_role_merges_table 67
449
+ Debug_role_merges_column 30
450
+ Debug_role_merges_routine 28
451
451
revoke select on mysql.* from role1;
452
452
show status like 'debug%';
453
453
Variable_name Value
454
- Debug_role_merges_global 27
455
- Debug_role_merges_db 40
456
- Debug_role_merges_table 62
457
- Debug_role_merges_column 28
458
- Debug_role_merges_routine 26
454
+ Debug_role_merges_global 29
455
+ Debug_role_merges_db 43
456
+ Debug_role_merges_table 67
457
+ Debug_role_merges_column 30
458
+ Debug_role_merges_routine 28
459
459
revoke select on test.* from role1;
460
460
show status like 'debug%';
461
461
Variable_name Value
462
- Debug_role_merges_global 27
463
- Debug_role_merges_db 48
464
- Debug_role_merges_table 62
465
- Debug_role_merges_column 28
466
- Debug_role_merges_routine 26
462
+ Debug_role_merges_global 29
463
+ Debug_role_merges_db 51
464
+ Debug_role_merges_table 67
465
+ Debug_role_merges_column 30
466
+ Debug_role_merges_routine 28
467
467
connection default;
468
468
drop user foo@localhost;
469
469
drop role role1;
0 commit comments