Partially revert 4ba011266843857bbd3201e5b925a47e88e1808f

Add back leading operator enforcement.
This commit is contained in:
Markus Mäkelä
2018-09-20 15:26:51 +03:00
parent d8d0b1a29c
commit 71ffef5708
95 changed files with 1395 additions and 1392 deletions

View File

@ -1,25 +1,25 @@
#ifndef SQL_CONST_H
#define SQL_CONST_H
const char* create_repl_user
= "grant replication slave on *.* to repl@'%%' identified by 'repl'; "
"FLUSH PRIVILEGES";
const char* setup_slave
= "change master to MASTER_HOST='%s', "
"MASTER_USER='repl', "
"MASTER_PASSWORD='repl', "
"MASTER_LOG_FILE='%s', "
"MASTER_LOG_POS=%s, "
"MASTER_PORT=%d; "
"start slave;";
const char* create_repl_user =
"grant replication slave on *.* to repl@'%%' identified by 'repl'; "
"FLUSH PRIVILEGES";
const char* setup_slave =
"change master to MASTER_HOST='%s', "
"MASTER_USER='repl', "
"MASTER_PASSWORD='repl', "
"MASTER_LOG_FILE='%s', "
"MASTER_LOG_POS=%s, "
"MASTER_PORT=%d; "
"start slave;";
const char* setup_slave_no_pos
= "change master to MASTER_HOST='%s', "
"MASTER_USER='repl', "
"MASTER_PASSWORD='repl', "
"MASTER_LOG_FILE='mar-bin.000001', "
"MASTER_LOG_POS=4, "
"MASTER_PORT=%d";
const char* setup_slave_no_pos =
"change master to MASTER_HOST='%s', "
"MASTER_USER='repl', "
"MASTER_PASSWORD='repl', "
"MASTER_LOG_FILE='mar-bin.000001', "
"MASTER_LOG_POS=4, "
"MASTER_PORT=%d";
#endif // SQL_CONST_H