• unknown's avatar
    Implemented support for START SLAVE UNTIL (WL#868) · 2f8f0a7e
    unknown authored
    include/mysqld_error.h:
      Added error codes for warnings and error messages for START SLAVE UNTIL
    mysql-test/r/rpl000015.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_empty_master_crash.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_flush_log_loop.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_log.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_log_pos.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_redirect.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_replicate_do.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    mysql-test/r/rpl_rotate_logs.result:
      Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
    sql/lex.h:
      Added UNTIL symbol
    sql/log.cc:
      Invalidating until_log_name comparison result if group_relay_log_name is changed
    sql/log_event.cc:
      Invalidating until_log_name comparison result if group_master_log_name is changed
    sql/repl_failsafe.cc:
      Cancel until condition if LOAD MASTER DATA is executed
    sql/share/czech/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/danish/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/dutch/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/english/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/estonian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/french/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/german/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/greek/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/hungarian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/italian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/japanese/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/korean/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/norwegian-ny/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/norwegian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/polish/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/portuguese/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/romanian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/russian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/serbian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/slovak/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/spanish/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/swedish/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/share/ukrainian/errmsg.txt:
      Added error and warning message for START SLAVE UNTIL
    sql/slave.cc:
      Fixed wrong locking order in init_relay_log_pos()
      Added until condition fields to SHOW SLAVE STATUS
      Added checking if UNTIL condition is reached 
      (added proper method, added its invocation, reorganized locking 
      in exec_relay_log_event() and next_event())
    sql/slave.h:
      Members in RELAY_LOG_INFO for storing UNTIL condition. Also 
      methods for for invalidation of cached UNTIL condition comparison
      results
    sql/sql_repl.cc:
      Now honoring UNTIL clause then starting slave thread. Proper 
      errors and warnings.
    sql/sql_yacc.yy:
      Added support for UNTIL clause in START SLAVE. This involved 
      extraction of some of master_defs to separate master_file_def
      non-terminal.
    2f8f0a7e
errmsg.txt 17.9 KB
/* Copyright 2003 MySQL AB
   Translation done in 2003 by Egor Egorov; Ensita.NET, http://www.ensita.net/
   This file is public domain and comes with NO WARRANTY of any kind */
/* charset: KOI8-R */

"hashchk",
"isamchk",
"",
"",
"   '%-.64s' (: %d)",
"   '%-.64s' (: %d)",
"    '%-.64s' (: %d)",
"    '%-.64s'.    ",
"    '%-.64s'.    ",
"     (  '%-.64s', : %d)",
"    (   '%-.64s', : %d)",
"   '%-.64s' (: %d)",
"     ",
"     '%-.64s' (: %d)",
"    (: %d)",
"     (: %d)",
"  : '%-.64s' (: %d)",
"  : '%-.64s' (: %d)",
"   '%-.64s' (: %d)",
"    '%-.64s' (: %d)",
"        '%-.64s'",
" . (%s). ,  -     ...",
"  ,     '%-.64s'",
"   '%-.64s' (: %d)",
"   '%-.64s' (: %d)",
"   '%-.64s'  '%-.64s' (: %d)",
"    '%-.64s' (: %d)",
"'%-.64s'   ",
" ",
" '%-.64s'    '%-.64s'",
"  %d   ",
"  '%-.64s'    ",
"    '%-.64s'",
"    '%-.64s'",
"    : '%-.64s'.   ",
"     '%-.64s';  !",
" '%-.64s'    ",
" .       ( %d )",
"   .      ",
"   '%-.64s' (: %d)",
"  ",
" ; ,  mysqld  -       .  ,     ulimit,    mysqld  ,     ",
"      ",
" ",
"  '%-.32s'@'%-.64s'     '%-.64s' ",
"    '%-.32s'@'%-.64s' (  : %s)",
"   ",
"   ",
" '%-.64s'     NULL",
"   '%-.64s'",
" '%-.64s'  ",
"  '%-.64s'",
" '%-.64s'  %-.64s  ",
"    ",
"  '%-.64s'  '%-.64s'",
"'%-.64s'    GROUP BY",
"    '%-.64s'",
"     ,    GROUP BY.         ?",
"      ",
"   '%-.100s'",
"   '%-.64s'",
"   '%-.64s'",
"  '%-.64s'   %d",
"     '%-.64s'",
"%s  '%-.80s'   %d",
"  ",
" / '%-.64s'",
"     '%-.64s'",
"   ",
"   .     %d ",
"     .     %d ",
"   .     %d",
"  '%-.64s'    ",
"  BLOB '%-.64s'           ",
"    '%-.64s' ( = %d).   BLOB  ",
"  :      ,       ",
"%s:   .\n: '%s'  : '%s'  : %d\n",
"%s:  \n",
"%s:   %d. !\n",
"%s:  \n",
"%s:    %ld  : '%-.32s'\n",
"  IP-",
"  '%-.64s'   ,   CREATE INDEX.   ",
"   -  ,  .   ",
"      BLOB  .  'fields terminated by'.",
" '%-.64s'      ,    ,     ",
" '%-.80s'  ",
": %ld  : %ld  : %ld  : %ld",
": %ld  : %ld",
"  .      ,   ,    ,        ",
"      ALTER TABLE.   DROP TABLE",
"  (DROP) '%-.64s'.   /  ",
": %ld  : %ld  : %ld",
"    '%-.64s'    FROM     ",
"  : %lu",
"     %lu",
"   ",
"     %-.64s  SET",
"      %-.64s.(1-999)\n",
" '%-.64s'   READ lock     ",
" '%-.64s'      LOCK TABLES",
"       BLOB '%-.64s'",
"    '%-.100s'",
"   '%-.100s'",
"   SELECT       , ,     .    WHERE, ,      ,  SET SQL_BIG_SELECTS=1",
" ",
"  '%-.64s'",
"     '%-.64s'",
"    '%-.64s'",
"  '%-.64s'  %-.32s",
" '%-.64s'  ",
"   ",
"  '%-.64s'  ,      MySQL",
"       ",
" '%-.64s' ",
"  '%-.64s'",
"  . MySQL    %d   ",
"  ",
"   .   ,   BLOB, - %d. ,        BLOB",
"  :  : %ld  %ld .   'mysqld -O thread_stack=#'     ,  ",
" OUTER JOIN   .     ON",
" '%-.64s'   UNIQUE   INDEX,     NOT NULL",
"   '%-.64s'",
"   '%-.64s'; %-.80s",
"     ",
" '%-.64s'  ",
"    '%-.64s' (: %d %-.64s)",
"   '%-.64s'  ",
" '%-.64s'  ",
" '%-.64s'  -     .      'mysqladmin flush-hosts'",
" '%-.64s'       MySQL",
"  MySQL    ,       ",
"      ,            mysql",
"      ",
" : %ld  : %ld  : %ld",
"    ( %d).    ,    ,              ",
"         %ld",
"    '%-.64s'",
"   NULL",
"  '%-.64s'   ",
"   (GROUP)  (MIN(),MAX(),COUNT(),...)     ,     GROUP BY",
"      '%-.32s'   '%-.64s'",
" %-.16s   '%-.32s'@'%-.64s'   '%-.64s'",
" %-.16s   '%-.32s'@'%-.64s'   '%-.64s'   '%-.64s'",
"  GRANT  REVOKE.   ,  ,    ",
"   /  GRANT",
" '%-.64s.%-.64s'  ",
"      '%-.32s'   '%-.64s'   '%-.64s'",
"        MySQL",
"    .      MySQL    ",
",    (delayed insert),        %-.64s",
"  ,    (delayed insert)",
"  %ld    '%-.64s'  '%-.32s' (%-.64s)",
"  ,  'max_allowed_packet'",
"      (connection pipe)",
"   fcntl()",
"    ",
"  ,    ",
"         ",
"       ",
"        ",
"         ",
"  ,  'max_allowed_packet'",
"     BLOB/TEXT",
"     ",
"  INSERT DELAYED   '%-.64s',       LOCK TABLES",
"   '%-.100s'",
"       '%-.64s'",
"    MERGE  ",
"    '%-.64s' -   ",
"  BLOB '%-.64s'         ",
"    (PRIMARY KEY)     NOT NULL;      NULL  ,   UNIQUE",
"      ",
"      ",
"  MySQL    RAID",
"      (safe update mode)           WHERE",
" '%-.64s'     '%-.64s'",
"  ",
"    : %s",
"       ",
"  %d   COMMIT",
"  %d   ROLLBACK",
"  %d   FLUSH_LOGS",
"  %d   CHECKPOINT",
"  %ld    '%-.64s'  '%-.32s'   `%-.64s' (%-.64s)",
"         (dump)",
"   ,   RESET MASTER",
"     '%-.64s'",
"   : '%-.64s'",
"        ",
"        ",
"   (FULLTEXT) ,   ",
"   ,          ",
"   '%-.64s'",
" '%-.64s'         ",
" '%-.64s'      (?)    ",
":          ",
",    ,    'max_binlog_cache_size' .     mysqld    ",
"        .   STOP SLAVE",
"      .   START SLAVE",
"     .         CHANGE MASTER TO",
"       .     master.info",
"    .   ",
"  %-.64s    'max_user_connections'  ",
"    SET   ",
"   ;   ",
"      ",
"         (  READ UNCOMMITTED) ",
"  DROP DATABASE,      ",
"  CREATE DATABASE,      ",
"   %s",
"'%-.32s'@'%-.64s'     ",
"  ;    MERGE        ",
"      ;   ",
"      ",
"    ",
"     :      ",
"     :      ",
"    : %-.128s",
"     : %-.128s",
"    %s: %-.128s",
"  %s  %s",
"   (SELECT)    ",
"  ,       ",
"      ",
" '%s'    ",
" '%-.64s'    '%s' ( : %ld)",
"  .    %-.128s   ",
" '%-.64s'   (LOCAL)         SET GLOBAL",
" '%-.64s'   (GLOBAL) ,       SET GLOBAL",
" '%-.64s'     ",
" '%-.64s'       '%-.64s'",
"     '%-.64s'",
" '%-.64s'    ,   ",
"       '%s'",
"  MySQL     '%s'",
"   %d: '%-.128s'          ",
"Wrong foreign key definition for '%-.64s': %s",
"Key reference and table reference doesn't match",
"   (/ %d )",
"    ",
"Unknown prepared statement handler (%ld) given to %s",
"Help database is corrupt or does not exist",
"   ",
"  '%s'  %s  %s",
" '%-.64s'   (%s)",
"Every derived table must have it's own alias",
"Select %u     ",
"Table '%-.64s' from one of SELECT's can not be used in %-.32s",
"Client does not support authentication protocol requested by server; consider upgrading MySQL client",
"All parts of a SPATIAL KEY must be NOT NULL",
"COLLATION '%s' is not valid for CHARACTER SET '%s'",
"The slave was already running",
"The slave was already stopped",
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)",
"Z_BUF_ERROR: Not enough memory available for zlib",
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
"Can't revoke all privileges, grant for one or more of the requested users"
"Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'",
"Illegal mix of collations for operation '%s'",
"Variable '%-.64s' is not a variable component (Can't be used as XXXX.variable_name)",
"Unknown collation: '%-.64s'",
"Wrong parameter or combination of parameters for START SLAVE UNTIL"
"It is recommended to run with --skip-slave-start when doing step-by-step replication with START SLAVE UNTIL, otherwise you are not safe in case of unexpected slave's mysqld restart"
"SQL thread is not to be started so UNTIL options are ignored"