428d851913
* refactor: generic rename to mysql * refactor: g4 with mysql syntax * test: mysql syntax * refactor: remove useless keywords * refactor: remove nonReserved keywords * refactor: lint specificFunction --------- Co-authored-by: liuyi <liuyi@dtstack.com>
29 lines
582 B
SQL
29 lines
582 B
SQL
-- https://dev.mysql.com/doc/refman/8.0/en/reset-replica.html
|
|
|
|
/* RESET REPLICA [ALL] [channel_option]
|
|
|
|
channel_option:
|
|
FOR CHANNEL channel */
|
|
|
|
|
|
RESET REPLICA ALL FOR CHANNEL 'channel';
|
|
RESET REPLICA FOR CHANNEL 'channel';
|
|
RESET REPLICA;
|
|
|
|
|
|
|
|
-- https://dev.mysql.com/doc/refman/8.0/en/reset-slave.html
|
|
|
|
/* RESET {SLAVE | REPLICA} [ALL] [channel_option]
|
|
|
|
channel_option:
|
|
FOR CHANNEL channel */
|
|
|
|
|
|
RESET SLAVE ALL FOR CHANNEL 'channel';
|
|
RESET REPLICA ALL FOR CHANNEL 'channel';
|
|
RESET SLAVE FOR CHANNEL 'channel';
|
|
RESET REPLICA FOR CHANNEL 'channel';
|
|
RESET SLAVE;
|
|
RESET REPLICA;
|