diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-09-23 12:00:52 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-09-23 12:00:52 +0200 |
commit | 14c767ca48d6a86a3d495476bb6b5999036e00af (patch) | |
tree | 5ea8376823ce1bf61f2f883f03f2c27921ec257a /client | |
parent | 9ea133fb3be4c46741e059ab78118f75afe791a1 (diff) | |
download | mariadb-git-14c767ca48d6a86a3d495476bb6b5999036e00af.tar.gz |
fix typo: binlog_annotate_rows_events -> binlog_annotate_row_events
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 7543667f7c8..6540361aa02 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -109,7 +109,7 @@ static ulonglong rec_count= 0; static short binlog_flags = 0; static MYSQL* mysql = NULL; static const char* dirname_for_local_load= 0; -static bool opt_skip_annotate_rows_events= 0; +static bool opt_skip_annotate_row_events= 0; /** Pointer to the Format_description_log_event of the currently active binlog. @@ -1020,7 +1020,7 @@ Exit_status process_event(PRINT_EVENT_INFO *print_event_info, Log_event *ev, break; } case ANNOTATE_ROWS_EVENT: - if (!opt_skip_annotate_rows_events) + if (!opt_skip_annotate_row_events) { /* We don't print Annotate event just now because all subsequent @@ -1328,10 +1328,10 @@ that may lead to an endless loop.", "Updates to a database with a different name than the original. \ Example: rewrite-db='from->to'.", 0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, - {"skip-annotate-rows-events", OPT_SKIP_ANNOTATE_ROWS_EVENTS, + {"skip-annotate-row-events", OPT_SKIP_ANNOTATE_ROWS_EVENTS, "Don't print Annotate_rows events stored in the binary log.", - (uchar**) &opt_skip_annotate_rows_events, - (uchar**) &opt_skip_annotate_rows_events, + (uchar**) &opt_skip_annotate_row_events, + (uchar**) &opt_skip_annotate_row_events, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} }; @@ -1815,7 +1815,7 @@ static Exit_status dump_remote_log_entries(PRINT_EVENT_INFO *print_event_info, cast to uint32. */ int4store(buf, (uint32)start_position); - if (!opt_skip_annotate_rows_events) + if (!opt_skip_annotate_row_events) binlog_flags|= BINLOG_SEND_ANNOTATE_ROWS_EVENT; int2store(buf + BIN_LOG_HEADER_SIZE, binlog_flags); |