Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 518 Bytes
package constants
const (
SELECT_TABLES_CMD_FORMAT = "mysql -u%s -p%s -B -N -e 'SELECT * FROM %s.%s'"
SHOW_TABLES_CMD_FORMAT = "mysql %s -u%s -p%s -B -N -e 'show tables'"
CLEAN_TABLES_CMD_FORMAT = "mysql -u%s -p%s -B -N -e 'DELETE FROM %s.%s'"
CLEAN_TABLES_CMD_FORMAT_WITHOUT_PASSPHRASE = "mysql -u%s -B -N -e 'DELETE FROM %s.%s'"
DELETE_TABLE_QUERY_FORMAT = "DELETE FROM %s.%s"
LOAD_INFILE_QUERY_FORMAT = "LOAD DATA LOCAL INFILE '%s' INTO TABLE %s.%s"
TMP_DIR_PATH = "/tmp/db_sync"
)
You can’t perform that action at this time.