1. 06 Apr, 2009 1 commit
    • Tatiana A. Nurnberg's avatar
      Bug#43835: SHOW VARIABLES does not include 0 for slave_skip_errors · 88a9e65b
      Tatiana A. Nurnberg authored
      We didn't expect "error: no error", although this is
      in fact a legitimate state (if something is erroneous
      on the master, but not on the slave, e.g. INSERT fails
      on master due to UNIQUE constraint which does not exist
      on slave).
      
      We now list the ignore for "0: no error" the same way
      as any other ignore; moreover, if no or an empty
      --slave-skip-errors is passed at start-up, we show
      "OFF" instead of empty list, as intended. (The code
      for that was there, but was only run for the empty-
      argument case, even if it subsequently tested for
      both conditions.) 
      
      mysql-test/r/not_embedded_server.result:
        Show that passing no --slave-skip-errors results
        in "OFF" being shown as the variable's value. This
        test's "twin" (also not embedded, but setting
        --slave-skip-errors in its -opt file) lives in
        variables-notembbeded.test.
      mysql-test/r/variables-notembedded.result:
        Show that error-ignore 0 is handled just like any other
        ignore. This test's "twin" (also not embedded, but not
        setting --slave-skip-errors in its -opt file) lives in
        not_embbeded_server.test.
      mysql-test/t/not_embedded_server.test:
        Show that passing no --slave-skip-errors results
        in "OFF" being shown as the variable's value.
      mysql-test/t/variables-notembedded-master.opt:
        Show that error-ignore 0 is handled just like any other
        ignore.
      sql/slave.cc:
        - set up error-ignore-info even if --slave-skip-errors
          was not passed at start-up.
        
        - handle error 0 just like any other error.
      88a9e65b
  2. 02 Apr, 2009 5 commits
  3. 01 Apr, 2009 16 commits
  4. 31 Mar, 2009 6 commits
  5. 30 Mar, 2009 8 commits
  6. 27 Mar, 2009 4 commits
    • Kristofer Pettersson's avatar
      Bug#40127 Multiple table DELETE IGNORE hangs on foreign key constraint violation · a20bc967
      Kristofer Pettersson authored
                on 5.0            
      The server crashes on an assert in net_end_statement indicating that the
      Diagnostics area wasn't set properly during execution.
      This happened on a multi table DELETE operation using the IGNORE keyword.
      The keyword is suppose to allow for execution to continue on a best effort
      despite some non-fatal errors. Instead execution stopped and no client
      response was sent which would have led to a protocol error if it hadn't been
      for the assert.
      This patch corrects this issue by checking for the existence of an IGNORE
      option before setting an error state during row-by-row delete iteration.
      
      
      mysql-test/r/innodb_mysql.result:
        * Added test case for bug40127
      mysql-test/t/innodb_mysql.test:
        * Added test case for bug40127
      sql/sql_delete.cc:
        * IGNORE option wasn't implemented in multi_delete::send_data
          and multi_delete::do_deletes
      a20bc967
    • Georgi Kodinov's avatar
      merged tree name change · 7092e7a6
      Georgi Kodinov authored
      7092e7a6
    • Georgi Kodinov's avatar
      tree name changed · f56ad8c8
      Georgi Kodinov authored
      f56ad8c8
    • Georgi Kodinov's avatar
      11679a9c