diff options
author | Sven Sandberg <sven@mysql.com> | 2009-01-09 13:49:24 +0100 |
---|---|---|
committer | Sven Sandberg <sven@mysql.com> | 2009-01-09 13:49:24 +0100 |
commit | a24862ed462d6cbe6f0f34b55f0beb50b62638f3 (patch) | |
tree | 418ba265746fd8558d0760a399b1832bbc733247 /sql/sql_lex.h | |
parent | b727dab9fd86f6396b7b65be8bad8d9c57c1f63c (diff) | |
download | mariadb-git-a24862ed462d6cbe6f0f34b55f0beb50b62638f3.tar.gz |
BUG#41924: high-level replication functions are not commented
Adding comments to some of the high-level functions in replication.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 26bd8d18750..ed6b9e7d8df 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -190,6 +190,15 @@ typedef struct st_lex_server_options char *server_name, *host, *db, *username, *password, *scheme, *socket, *owner; } LEX_SERVER_OPTIONS; + +/** + Structure to hold parameters for CHANGE MASTER or START/STOP SLAVE + or SHOW NEW MASTER. + + Remark: this should not be confused with Master_info (and perhaps + would better be renamed to st_lex_replication_info). Some fields, + e.g., delay, are saved in Relay_log_info, not in Master_info. +*/ typedef struct st_lex_master_info { char *host, *user, *password, *log_file_name; |