Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 13cc311

Browse files
committed
Fix ps_is_account_enabled tests for 5.7
1 parent 9c8e8a5 commit 13cc311

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

mysql-test/suite/sysschema/include/ps_setup_actors_cleanup.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
TRUNCATE TABLE performance_schema.setup_actors;
44

5-
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%');
5+
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%', 'YES');

mysql-test/suite/sysschema/r/fn_ps_is_account_enabled.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ sys.ps_is_account_enabled('foo', 'bar')
33
YES
44
DELETE FROM performance_schema.setup_actors;
55
INSERT INTO performance_schema.setup_actors VALUES
6-
('test', 'test', '%');
6+
('test', 'test', '%', 'YES');
77
SELECT sys.ps_is_account_enabled('foo', 'bar');
88
sys.ps_is_account_enabled('foo', 'bar')
99
NO
1010
SELECT sys.ps_is_account_enabled('test', 'test');
1111
sys.ps_is_account_enabled('test', 'test')
1212
YES
1313
TRUNCATE TABLE performance_schema.setup_actors;
14-
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%');
14+
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%', 'YES');

mysql-test/suite/sysschema/t/fn_ps_is_account_enabled.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SELECT sys.ps_is_account_enabled('foo', 'bar');
88
DELETE FROM performance_schema.setup_actors;
99

1010
INSERT INTO performance_schema.setup_actors VALUES
11-
('test', 'test', '%');
11+
('test', 'test', '%', 'YES');
1212

1313
# Now the random account should not be enabled
1414
SELECT sys.ps_is_account_enabled('foo', 'bar');

0 commit comments

Comments
 (0)