File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -259,20 +259,6 @@ func (d *dbImplExec) DumbQuery(ctx context.Context) error {
259
259
return errors .Wrap (err , "SELECT 1" )
260
260
}
261
261
262
- func (d * dbImplExec ) SetSemiSyncSource (ctx context.Context , enabled bool ) error {
263
- var errb , outb bytes.Buffer
264
- q := fmt .Sprintf ("SET GLOBAL rpl_semi_sync_master_enabled=%t" , enabled )
265
- err := d .exec (ctx , q , & outb , & errb )
266
- return errors .Wrap (err , "set rpl_semi_sync_master_enabled" )
267
- }
268
-
269
- func (d * dbImplExec ) SetSemiSyncSize (ctx context.Context , size int ) error {
270
- var errb , outb bytes.Buffer
271
- q := fmt .Sprintf ("SET GLOBAL rpl_semi_sync_master_wait_for_slave_count=%d" , size )
272
- err := d .exec (ctx , q , & outb , & errb )
273
- return errors .Wrap (err , "set rpl_semi_sync_master_wait_for_slave_count" )
274
- }
275
-
276
262
func (d * dbImplExec ) GetGlobal (ctx context.Context , variable string ) (interface {}, error ) {
277
263
rows := []* struct {
278
264
Val interface {} `csv:"val"`
You can’t perform that action at this time.
0 commit comments