• unknown's avatar
    Fix for · eed62d99
    unknown authored
    BUG#797 "If query ignored on slave (replicate-ignore-table) the slave still checks if
    the returned error (0) is the same as the one on the master, whereas it shouldn't
    test this.
    Plus a new test for BUG#797.
    
    
    include/mysqld_error.h:
      New error code (can be sent only to the slave thread, not to normal clients).
    sql/log.cc:
      removed comment from a previous debugging.
    sql/log_event.cc:
      ER_SLAVE_IGNORED_TABLE is an ignorable error.
    sql/share/czech/errmsg.txt:
      for BUG#797
    sql/share/danish/errmsg.txt:
      for BUG#797
    sql/share/dutch/errmsg.txt:
      for BUG#797
    sql/share/english/errmsg.txt:
      for BUG#797
    sql/share/estonian/errmsg.txt:
      for BUG#797
    sql/share/french/errmsg.txt:
      for BUG#797
    sql/share/german/errmsg.txt:
      for BUG#797
    sql/share/greek/errmsg.txt:
      for BUG#797
    sql/share/hungarian/errmsg.txt:
      for BUG#797
    sql/share/italian/errmsg.txt:
      for BUG#797
    sql/share/japanese/errmsg.txt:
      for BUG#797
    sql/share/korean/errmsg.txt:
      for BUG#797
    sql/share/norwegian-ny/errmsg.txt:
      for BUG#797
    sql/share/norwegian/errmsg.txt:
      for BUG#797
    sql/share/polish/errmsg.txt:
      for BUG#797
    sql/share/portuguese/errmsg.txt:
      for BUG#797
    sql/share/romanian/errmsg.txt:
      for BUG#797
    sql/share/russian/errmsg.txt:
      for BUG#797
    sql/share/slovak/errmsg.txt:
      for BUG#797
    sql/share/spanish/errmsg.txt:
      for BUG#797
    sql/share/swedish/errmsg.txt:
      for BUG#797
    sql/share/ukrainian/errmsg.txt:
      for BUG#797
    sql/sql_parse.cc:
      when in sql_parse in the slave thread we ignore the query because of replicate-do
      and replicate-ignore options, we return a specific error to the slave thread,
      so that it knows that the query has been ignored (which is different from a
      successful query).
      A small cleanup (test was done twice).
    eed62d99
errmsg.txt 13.3 KB