Skip to content

Commit 3814b2a

Browse files
authored
mysqlctld: Remove unneeded resets in init_db.sql (#15832)
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
1 parent cb624f5 commit 3814b2a

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

config/init_db.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ GRANT SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD
7070
GRANT SELECT, UPDATE, DELETE, DROP
7171
ON performance_schema.* TO 'vt_monitoring'@'localhost';
7272

73-
RESET SLAVE ALL;
74-
RESET MASTER;
75-
7673
# custom sql is used to add custom scripts like creating users/passwords. We use it in our tests
7774
# {{custom_sql}}
7875

examples/compose/config/init_db.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, FILE,
6969
SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER
7070
ON *.* TO 'vt_filtered'@'localhost';
7171

72-
RESET SLAVE ALL;
73-
RESET MASTER;
74-
7572
# custom sql is used to add custom scripts like creating users/passwords. We use it in our tests
7673
# {{custom_sql}}
7774

examples/operator/101_initial_cluster.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ stringData:
212212
SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER
213213
ON *.* TO 'vt_filtered'@'localhost';
214214
215-
RESET SLAVE ALL;
216-
RESET MASTER;
217-
218215
# custom sql is used to add custom scripts like creating users/passwords. We use it in our tests
219216
# {{custom_sql}}
220217

go/test/endtoend/vreplication/testdata/config/init_testserver_db.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,5 @@ GRANT SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD
7979
GRANT SELECT, UPDATE, DELETE, DROP
8080
ON performance_schema.* TO 'vt_monitoring'@'localhost';
8181

82-
RESET REPLICA ALL;
83-
RESET MASTER;
84-
8582
# custom sql is used to add custom scripts like creating users/passwords. We use it in our tests
8683
# {{custom_sql}}

0 commit comments

Comments
 (0)