summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-07-04 17:14:31 -0600
committerunknown <sasha@mysql.sashanet.com>2001-07-04 17:14:31 -0600
commitbb9da6021ccd4ae4b2eab46b9125c6a1ee62bd33 (patch)
tree7de23b11fd755130471c9d86c87da861f6161272 /sql/sql_lex.h
parent2752103dba17e2c96f72e121b36fe4fd8b3e2d61 (diff)
downloadmariadb-git-bb9da6021ccd4ae4b2eab46b9125c6a1ee62bd33.tar.gz
SHOW NEW MASTER FOR SLAVE WITH ...
include/mysqld_error.h: new error message mysql-test/r/rpl_log.result: updated results mysql-test/t/rpl_log.test: test show new master for slave sql/lex.h: show new master for slave sql/share/czech/errmsg.txt: new error sql/share/danish/errmsg.txt: new error sql/share/dutch/errmsg.txt: new error sql/share/english/errmsg.txt: new error sql/share/estonian/errmsg.txt: new error sql/share/french/errmsg.txt: new error sql/share/german/errmsg.txt: new error sql/share/greek/errmsg.txt: new error sql/share/hungarian/errmsg.txt: new error sql/share/italian/errmsg.txt: new error sql/share/japanese/errmsg.txt: new error sql/share/korean/errmsg.txt: new error sql/share/norwegian-ny/errmsg.txt: new error sql/share/norwegian/errmsg.txt: new error sql/share/polish/errmsg.txt: new error sql/share/portuguese/errmsg.txt: new error sql/share/romanian/errmsg.txt: new error sql/share/russian/errmsg.txt: new error sql/share/slovak/errmsg.txt: new error sql/share/spanish/errmsg.txt: new error sql/share/swedish/errmsg.txt: new error sql/sql_lex.h: show new master for slave sql/sql_parse.cc: show new master for slave sql/sql_repl.cc: show new master for slave sql/sql_repl.h: show new master for slave sql/sql_yacc.yy: show new master for slave
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index e585ec65191..372e4814910 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -56,7 +56,7 @@ enum enum_sql_command {
SQLCOM_SHOW_OPEN_TABLES, SQLCOM_LOAD_MASTER_DATA,
SQLCOM_HA_OPEN, SQLCOM_HA_CLOSE, SQLCOM_HA_READ,
SQLCOM_SHOW_SLAVE_HOSTS, SQLCOM_MULTI_DELETE, SQLCOM_UNION_SELECT,
- SQLCOM_SHOW_BINLOG_EVENTS
+ SQLCOM_SHOW_BINLOG_EVENTS, SQLCOM_SHOW_NEW_MASTER
};
enum lex_states { STATE_START, STATE_CHAR, STATE_IDENT,
@@ -93,7 +93,9 @@ typedef struct st_lex_master_info
{
char* host, *user, *password,*log_file_name;
uint port, connect_retry;
+ ulong last_log_seq;
ulonglong pos;
+ ulong server_id;
} LEX_MASTER_INFO;