1. 07 Nov, 2007 4 commits
  2. 06 Nov, 2007 15 commits
    • unknown's avatar
      Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags · 7e873ae0
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/merge-5.1
      
      
      mysql-test/suite/binlog/r/binlog_killed.result:
        Auto merged
      mysql-test/suite/binlog/t/binlog_killed.test:
        Auto merged
      mysql-test/suite/rpl/t/rpl_dual_pos_advance.test:
        Auto merged
      mysql-test/suite/rpl/t/rpl_temporary.test:
        manual merge
      sql/log.cc:
        manual merge
      7e873ae0
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · df210b74
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags
      
      df210b74
    • unknown's avatar
      bug#27571 · 62e9ce16
      unknown authored
      refining non-deterministic tests.
      The new Bug@32148 is in the way. Adjuting the tests to be somehow useful.
       
      
      
      mysql-test/r/binlog_killed.result:
        results changed
      mysql-test/t/binlog_killed.test:
        refining the tests as killing is inherently non-deterministic;
        leaving todos.
      62e9ce16
    • unknown's avatar
      bug#27571 · 9c4b1f65
      unknown authored
      tests fixing: refreshing the results file.
      
      
      mysql-test/suite/binlog/r/binlog_killed.result:
        results changed
      9c4b1f65
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 38e8d5c4
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug28597-log_name_upgrade
      
      38e8d5c4
    • unknown's avatar
      results from 5.0 is not needed · 20f5aff4
      unknown authored
      
      BitKeeper/deleted/.del-binlog_killed_simulate.result:
        Delete: mysql-test/r/binlog_killed_simulate.result
      20f5aff4
    • unknown's avatar
      Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/BARE/5.0 · f7be180b
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/merge-5.1
      
      
      BitKeeper/deleted/.del-binlog_killed_bug27571-master.opt:
        Auto merged
      BitKeeper/deleted/.del-binlog_killed_bug27571.test:
        Auto merged
      f7be180b
    • unknown's avatar
      bug#27571 · 06a48161
      unknown authored
      fixing tests
      
      
      mysql-test/r/binlog_killed_simulate.result:
        the new tests' result
      06a48161
    • unknown's avatar
      bug#27571 · 71cb6a6f
      unknown authored
      removing extra tests (on 5.1 that's been already done)
      
      
      BitKeeper/deleted/.del-binlog_killed_bug27571-master.opt:
        Delete: mysql-test/t/binlog_killed_bug27571-master.opt
      BitKeeper/deleted/.del-binlog_killed_bug27571.test:
        Delete: mysql-test/t/binlog_killed_bug27571.test
      71cb6a6f
    • unknown's avatar
      Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/BARE/5.0 · 8f882c5c
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/merge-5.1
      
      
      mysql-test/suite/binlog/r/binlog_killed.result:
        manual merge ul
      mysql-test/suite/binlog/t/binlog_killed.test:
        manual merge with 5.0 specific tests; use local
      mysql-test/suite/binlog/t/binlog_killed_simulate.test:
         manual merge with 5.0 specific tests; use local
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/func_regexp.test:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        automerge
      mysql-test/r/ctype_utf8.result:
        automerge
      mysql-test/r/func_regexp.result:
        automerge
      mysql-test/t/ctype_utf8.test:
        automerge
      sql/item_cmpfunc.cc:
        automerge
      sql/item_cmpfunc.h:
        automerge
      sql/sql_class.h:
        automerge
      sql/sql_insert.cc:
        automerge
      sql/sql_parse.cc:
        automerge
      sql/sql_update.cc:
        automerge
      8f882c5c
    • unknown's avatar
      bug#27571 · 61d0ece4
      unknown authored
      commit is specific for 5.0 to eliminated non-deterministic tests.
      Those tests run only in 5.1 env where there is a necessary devices such
      as processlist table of info_schema.
      
      
      mysql-test/r/binlog_killed.result:
        results changed
      mysql-test/t/binlog_killed.test:
        removing non-deterministic part of the test
      mysql-test/t/binlog_killed_simulate.test:
        adding the guard same as for 5.1 version
      61d0ece4
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 1a12422b
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags
      
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      1a12422b
    • unknown's avatar
      bug#27571 · 9b524eae
      unknown authored
      non-deterministic tests refining.
      This particular patch tested on two archs.
      
      
      mysql-test/suite/binlog/t/binlog_killed.test:
        deploying synchronization of killing with reaching the explected state
        of the prey's connection.
      9b524eae
    • unknown's avatar
      bug#27571 · 30774977
      unknown authored
      non-deterministic tests execution on some platforms.
      
      
      mysql-test/suite/binlog/r/binlog_killed.result:
        results changed
      mysql-test/suite/binlog/t/binlog_killed.test:
        correcting the prev test's cleanup;
        increasing time to wait by to be killed query;
        adding the masking out error due to Bug@32140 wrong error code caught when an SF() call is interruped with KILL query
      30774977
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 210da549
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl
      
      210da549
  3. 05 Nov, 2007 3 commits
    • unknown's avatar
      bug#27571 asynchronous setting mysql_`query`::error and Query_log_e::error_code · 4cbfccca
      unknown authored
      refining tests as they appear to be non-deterministic.
      
      
      mysql-test/suite/binlog/r/binlog_killed.result:
        results changed
      mysql-test/suite/binlog/t/binlog_killed.test:
        restructuring the test to deliver more deterministic outcome.
        order-by for update and delete did not guaratee the order of scanning.
        --error are masked with zero in order to catch more info if killing
        really will happen to be non-deterministic on some platform (witnessed
        something like that on dl145j)
      mysql-test/suite/binlog/t/binlog_killed_simulate.test:
        important guard added
      4cbfccca
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 1787d300
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug28597-log_name_upgrade
      
      1787d300
    • unknown's avatar
      Bug #28597 Replication doesn't start after upgrading to 5.1.18 · ec4c562c
      unknown authored
      Since bug@20166, which replaced the binlog file name generating to base
      on pidfile_name instead of the previous glob_hostname, the binlog file
      name suddenly started to be stored solely in the absolute path format,
      including a case when --log-bin option meant a relative path.
      What's more serious, the path for binlog file can lead unrequestedly 
      to pid-file directory so that after any proper fix for this bug
      there might be similar to the bug report consequences for one who
      upgrades from post-fix-bug@20166-pre-fix-bug@28597 to post-fix-bug@28597.
      
      Fixed with preserving`pidfile_name' (intr.by bug@20166) but stripping
      off its directory part. This restores the original logics of storing
      the names in compatible with --log-bin option format and with the
      requirement for --log-bin ralative path to corresond to the data directory.
      Side effects for this fix:
      
      effective fixing bug@27070, refining its test;
      ensuring no overrun for buff can happen anymore (Bug#31836 
      insufficient space reserved for the suffix of relay log file name);
      bug#31837  --remove_file $MYSQLTEST_VARDIR/tmp/bug14157.sql missed
      in rpl_temporary.test;
      fixes Bug@28603  Invalid log-bin default location;
      
      
      mysql-test/t/rpl_dual_pos_advance.test:
        After correcting the logics of log file name composing workaround for
        
          Bug #27070 server logs are created unrequested and in wrong directory
        
        is removed.
      mysql-test/t/rpl_temporary.test:
        remaining temp file of the test removed
      sql/log.cc:
        stripping off the directory part of `pidfile_name' for binlog name
        generating (which fixes two more bugs on wrong binlog file location);
        ensuring no overrun for buff can happen anymore (Bug #31836 
        insufficient space reserved for the suffix of relay log file name);
      ec4c562c
  4. 02 Nov, 2007 5 commits
    • unknown's avatar
      Merge skozlov@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · c8de13d3
      unknown authored
      into  mysql.com:/home/ksm/commits/mysql-5.1-new-rpl
      
      c8de13d3
    • unknown's avatar
      WL#3949. Added an option for support "combinations" of mysqld arguments for a suite · 2f193e82
      unknown authored
      
      mysql-test/lib/mtr_cases.pl:
        updated mtr_cases.pl
      mysql-test/mysql-test-run.pl:
        updated mtr
      2f193e82
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · ded0beb6
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/bug31554-rpl_truncate
      
      ded0beb6
    • unknown's avatar
      Bug #31554 rpl.rpl_truncate_2myisam test failure: wrong master binlog file name · b504eae7
      unknown authored
      Actually, the failure happened with 3innodb as well. Most probably
      the reason is in failing to delete a binlog file on __NT__ so that
      that master increments the index of the binlog file.
      The test results hide valueable warning that windows could generate
      about that.
      
      The scope of this fix is to make sure we have such warning and
      to lessen chances for binlog file being held at time of closing.
      The dump thread is getting a good chance to leave and 
      release the file for its successful deletion.
      
      We shall watch over the two tests as regression is not excluded.
      In that case we would have an extra info possibly explaining why
      __NT__ env can not close/delete the file.
      However, regardless of that reason, there is alwasy workaround to mask out
      non-deterministic binlog index number.
      
      
      
      mysql-test/extra/rpl_tests/rpl_truncate_helper.test:
        enable warnings for other than DROP queries;
        wait for slave's full stop which ensures io thread left and that
        will be regarded by dump thread to leave and close the binlog file;
        relocating reset master to the end of the test so that the caller of
        this helper should start with the binlog name which has not yet been
        affected/reset since its creation.
      mysql-test/suite/rpl/r/rpl_truncate_2myisam.result:
        results changed
      mysql-test/suite/rpl/r/rpl_truncate_3innodb.result:
        results changed
      b504eae7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-rpl · def77da1
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
      
      def77da1
  5. 31 Oct, 2007 6 commits
    • unknown's avatar
      BUG#28086 (SBR of USER() becomes corrupted on slave): · eb7f3e59
      unknown authored
      Marking statements containing USER() or CURRENT_USER() as unsafe, causing
      them to switch to using row-based logging in MIXED mode and generate a
      warning in STATEMENT mode.
      
      
      mysql-test/suite/rpl/r/rpl_switch_stm_row_mixed.result:
        Result change.
      mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test:
        Adding test to check that USER() and CURRENT_USER() cause a switch
        to row-based logging.
      sql/sql_yacc.yy:
        Setting statements containing USER() or CURRENT_USER() to be unsafe.
      eb7f3e59
    • unknown's avatar
      rpl_extraSlave_Col.test: · 3f81710e
      unknown authored
        Corrected issues found in preparing to push code
      
      
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        Corrected issues found in preparing to push code
      3f81710e
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 8bf11e74
      unknown authored
      into  mysql.com:/usr/clones/rpl-push
      
      8bf11e74
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · b1ac8d0f
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl
      
      b1ac8d0f
    • unknown's avatar
      bug#27571 merging. Fixing offsets and moving tests to the corrent · 323ded6e
      unknown authored
      destination. Removing wrong (local temp) tests.
      
      
      mysql-test/suite/binlog/t/binlog_killed_simulate-master.opt:
        Rename: mysql-test/t/binlog_killed_simulate-master.opt -> mysql-test/suite/binlog/t/binlog_killed_simulate-master.opt
      BitKeeper/deleted/.del-binlog_killed_bug27571.test:
        Delete: mysql-test/t/binlog_killed_bug27571.test
      BitKeeper/deleted/.del-binlog_killed_bug27571-master.opt:
        Delete: mysql-test/t/binlog_killed_bug27571-master.opt
      mysql-test/suite/binlog/r/binlog_killed.result:
        results changed
      mysql-test/suite/binlog/t/binlog_killed.test:
        binlog offset made 5.1 specific
      mysql-test/suite/binlog/t/binlog_killed_simulate.test:
        binlog offset + guard to run the test with stmt/mixed format
      mysql-test/suite/binlog/r/binlog_killed_simulate.result:
        new results file
      323ded6e
    • unknown's avatar
      Post-merge fixes to handle some test failures. · bf70bf1b
      unknown authored
      
      mysql-test/suite/rpl/r/rpl_innodb_bug28430.result:
        Result file change.
      mysql-test/suite/rpl/t/rpl_innodb_bug28430.test:
        Include file show_slave_status.inc should be used for portable SHOW SLAVE STATUS.
      bf70bf1b
  6. 30 Oct, 2007 7 commits
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · a7c80852
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b19958-mysql-5.1-rpl
      
      
      sql/log_event.cc:
        Auto merged
      a7c80852
    • unknown's avatar
      BUG#19958 (RBR idempotency issue for UPDATE and DELETE): · fe81f3dc
      unknown authored
      The rpl_trigger test case indicated a problem with idempotency support when run
      under row-based replication, which this patch fixes.
      
      However, despite this, the test is not designed for execution under row-based
      replication and hence rpl_trigger.test is not executed under row-based
      replication.
      
      The problem is that the test expects triggers to be executed when the slave
      updates rows on the slave, and this is (deliberately) not done with row-based
      replication.
      
      
      sql/log_event.cc:
        Adding function to print symbolic name of handler errors for debug purposes.
        Ignoring some more error messages to provide full idempotency support for
        update and delete operations.
      mysql-test/suite/rpl/r/rpl_idempotency.result:
        New BitKeeper file ``mysql-test/suite/rpl/r/rpl_idempotency.result''
      mysql-test/suite/rpl/t/rpl_idempotency.test:
        New BitKeeper file ``mysql-test/suite/rpl/t/rpl_idempotency.test''
      fe81f3dc
    • unknown's avatar
      Merge mysql.com:/usr/clones/mysql-5.1-new-rpl · b6b37b8f
      unknown authored
      into  mysql.com:/usr/clones/rpl-push
      
      
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        Auto merged
      mysql-test/suite/rpl/r/rpl_extraCol_innodb.result:
        Auto merged
      mysql-test/suite/rpl/r/rpl_extraCol_myisam.result:
        Auto merged
      mysql-test/suite/rpl_ndb/r/rpl_ndb_extraCol.result:
        Auto merged
      b6b37b8f
    • unknown's avatar
      manual merge · 89bf4e14
      unknown authored
      
      BitKeeper/deleted/.del-rpl_slave_skip-slave.opt:
        Delete: mysql-test/t/rpl_slave_skip-slave.opt
      BitKeeper/deleted/.del-rpl_slave_skip.test:
        Delete: mysql-test/t/rpl_slave_skip.test
      BitKeeper/deleted/.del-rpl_slave_skip.result:
        Delete: mysql-test/r/rpl_slave_skip.result
      89bf4e14
    • unknown's avatar
      Manual merge 5.0-rpl -> 5.1-rpl. · 0ce3426d
      unknown authored
      involved bug#12691, bug#27571
      
      
      mysql-test/suite/rpl/r/rpl_sp_effects.result:
        results changed
      sql/slave.cc:
        pended manual merge done (mats)
      sql/sql_delete.cc:
        manual merge
      sql/sql_insert.cc:
        manual merge
      sql/sql_load.cc:
        manual merge
      sql/sql_update.cc:
        manual merge.
      0ce3426d
    • unknown's avatar
      Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags · c73c1812
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/5.1-merge-bug27571
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/ctype_euckr.result:
        Auto merged
      mysql-test/r/ctype_uca.result:
        Auto merged
      mysql-test/suite/binlog/r/binlog_killed.result:
        Auto merged
      mysql-test/suite/binlog/t/binlog_killed.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      mysql-test/suite/rpl/r/rpl_sp_effects.result:
        manual merge ul
      mysql-test/suite/rpl/t/rpl_sp_effects.test:
        manual merge
      sql/slave.cc:
        leaving for manual merge
      sql/sql_delete.cc:
        leaving for manual merge
      sql/sql_insert.cc:
        leaving for manual merge
      sql/sql_load.cc:
        leaving for manual merge
      sql/sql_update.cc:
        leaving for manual merge
      c73c1812
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · c52e7706
      unknown authored
      into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27571_asyn_killed_flags
      
      c52e7706