vitess.io/vitess@v0.16.2/go/mysql/flavor_mariadb_binlog_playback.go (about)

     1  /*
     2  
     3  Copyright 2019 The Vitess Authors.
     4  
     5  Licensed under the Apache License, Version 2.0 (the "License");
     6  you may not use this file except in compliance with the License.
     7  You may obtain a copy of the License at
     8  
     9      http://www.apache.org/licenses/LICENSE-2.0
    10  
    11  Unless required by applicable law or agreed to in writing, software
    12  distributed under the License is distributed on an "AS IS" BASIS,
    13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  See the License for the specific language governing permissions and
    15  limitations under the License.
    16  */
    17  
    18  package mysql
    19  
    20  // These two methods are isolated here so they can be easily changed
    21  // in other trees.
    22  
    23  // enableBinlogPlaybackCommand is part of the Flavor interface.
    24  func (mariadbFlavor) enableBinlogPlaybackCommand() string {
    25  	return ""
    26  }
    27  
    28  // disableBinlogPlaybackCommand is part of the Flavor interface.
    29  func (mariadbFlavor) disableBinlogPlaybackCommand() string {
    30  	return ""
    31  }
    32  
    33  // baseShowTables is part of the Flavor interface.
    34  func (mariadbFlavor) baseShowTables() string {
    35  	return mysqlFlavor{}.baseShowTables()
    36  }
    37  
    38  // baseShowTablesWithSizes is part of the Flavor interface.
    39  func (mariadbFlavor101) baseShowTablesWithSizes() string {
    40  	return TablesWithSize56
    41  }
    42  
    43  // baseShowTablesWithSizes is part of the Flavor interface.
    44  func (mariadbFlavor102) baseShowTablesWithSizes() string {
    45  	return TablesWithSize57
    46  }