1. 01 Jun, 2006 1 commit
    • unknown's avatar
      Bug#19066 (DELETE FROM inconsistency for NDB): · ddc25698
      unknown authored
      Under row-based replication, DELETE FROM will now always be
      replicated as individual row deletions, while TRUNCATE TABLE will
      always be replicated as a statement.
      
      
      mysql-test/extra/rpl_tests/rpl_ddl.test:
        Using --echo instead of SELECT to print message.
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Result change.
      mysql-test/r/federated.result:
        Result change.
      mysql-test/r/range.result:
        Result change.
      mysql-test/r/rpl_sp_effects.result:
        Result change.
      mysql-test/r/show_check.result:
        Result change.
      mysql-test/r/sp-error.result:
        Result change.
      mysql-test/r/sp.result:
        Result change.
      mysql-test/r/timezone2.result:
        Result change.
      mysql-test/r/trigger-grant.result:
        Result change.
      mysql-test/r/type_datetime.result:
        Result change.
      mysql-test/r/type_ranges.result:
        Result change.
      mysql-test/r/type_timestamp.result:
        Result change.
      mysql-test/r/view.result:
        Result change.
      mysql-test/t/archive.test:
        Test contain statements that only works for statement-based logging.
      mysql-test/t/disabled.def:
        Disabling test due to reported bug.
      mysql-test/t/federated.test:
        Adding ORDER BY clause to SELECT statements
      mysql-test/t/range.test:
        Adding ORDER BY clause to SELECT (sub-)statement
      mysql-test/t/rpl_sp_effects.test:
        Adding ORDER BY clause to SELECT statement.
      mysql-test/t/show_check.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/sp-error.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/sp.test:
        Adding ORDER BY clause to SELECT statement.
      mysql-test/t/timezone2.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/trigger-grant.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/type_datetime.test:
        Adding ORDER BY clause to SELECT statement.
      mysql-test/t/type_ranges.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/type_timestamp.test:
        Replacing DELETE FROM without WHERE with TRUNCATE TABLE.
      mysql-test/t/view.test:
        Adding ORDER BY clause to SELECT statement.
      sql/sql_class.h:
        Adding member function to set replication to statement-based.
      sql/sql_delete.cc:
        When row-based replication is used, DELETE FROM will always delete the
        contents of the table row-by-row and not use delete_all_rows().
      mysql-test/extra/rpl_tests/rpl_truncate.test:
        New BitKeeper file ``mysql-test/extra/rpl_tests/rpl_truncate.test''
      mysql-test/extra/rpl_tests/rpl_truncate_helper.inc:
        New BitKeeper file ``mysql-test/extra/rpl_tests/rpl_truncate_helper.inc''
      mysql-test/r/rpl_truncate_2myisam.result:
        New BitKeeper file ``mysql-test/r/rpl_truncate_2myisam.result''
      mysql-test/r/rpl_truncate_3innodb.result:
        New BitKeeper file ``mysql-test/r/rpl_truncate_3innodb.result''
      mysql-test/r/rpl_truncate_7ndb.result:
        New BitKeeper file ``mysql-test/r/rpl_truncate_7ndb.result''
      mysql-test/t/rpl_truncate_2myisam.test:
        New BitKeeper file ``mysql-test/t/rpl_truncate_2myisam.test''
      mysql-test/t/rpl_truncate_3innodb.test:
        New BitKeeper file ``mysql-test/t/rpl_truncate_3innodb.test''
      mysql-test/t/rpl_truncate_7ndb.test:
        New BitKeeper file ``mysql-test/t/rpl_truncate_7ndb.test''
      ddc25698
  2. 11 May, 2006 2 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · 564a94da
      unknown authored
      into  mysql.com:/home/bk/b17400-mysql-5.1-new
      
      
      sql/log_event.cc:
        Auto merged
      564a94da
    • unknown's avatar
      Bug#17400 (CRBR: Delete and update of table w/o PK fails on slave): · 8b17d33d
      unknown authored
      Fixing bug where UPDATE failed on slave and some cleanup of ndb_unpack_record().
      
      
      mysql-test/r/rpl_bit_npk.result:
        Result change
      mysql-test/t/disabled.def:
        Disabling tests
      mysql-test/t/rpl_bit_npk.test:
        Making test storage-engine independent
      mysql-test/t/rpl_ndb_innodb2ndb-slave.opt:
        Storage engine name change
      mysql-test/t/rpl_ndb_myisam2ndb-slave.opt:
        Storage engine name change
      sql/ha_ndbcluster.cc:
        Using move_field_offset() to move field pointer.
        Using my_ptrdiff_t instead of uint for pointer difference.
        Removing ineffective cast.
        Calling member function directly, bypassing the virtual mechanism
        for Field_bit.
      sql/log_event.cc:
        Starting and stopping range scan and index read inside find_and_fetch row
        instead of in calling function. There are storage engines that require the
        search to be restarted for every changed row.
      8b17d33d
  3. 10 May, 2006 5 commits
  4. 09 May, 2006 4 commits
  5. 08 May, 2006 8 commits
  6. 06 May, 2006 2 commits
  7. 05 May, 2006 10 commits
    • unknown's avatar
      Bug #19492 --binlog-do-db option cuases tables create issues for ndb master · 2ad7a70f
      unknown authored
      - ndb system tables not created because of filter, moved chack of filter
      
      
      2ad7a70f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 8e8d8e8a
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      8e8d8e8a
    • unknown's avatar
      Don't use row level logging on optimize or repair table. · 3995b06b
      unknown authored
      (Fixes core dump in rpl_failed_optimize.test)
      Ensure we end active transcations if we do an admin command (like optimize, repair etc)
      
      
      mysql-test/extra/rpl_tests/rpl_failed_optimize.test:
        Added extra test + drop of table at end of test
      mysql-test/lib/mtr_report.pl:
        Fail if mysqld asserts or prints stack
      mysql-test/mysql-test-run.sh:
        Fail if mysqld asserts or prints stack
      mysql-test/r/exampledb.result:
        Cleanup of events_tests (as this caused a lot of problems if it didn't work)
      mysql-test/r/innodb.result:
        Extra test to see that we can do an optimize table on an active transaction
      mysql-test/r/rpl_failed_optimize.result:
        Added extra test + drop of table at end of test
      mysql-test/t/exampledb.test:
        Cleanup of events_tests (as this caused a lot of problems if it didn't work)
      mysql-test/t/innodb.test:
        Extra test to see that we can do an optimize table on an active transaction
      sql/handler.cc:
        Don't use row level logging on optimize or repair table.
      sql/log.cc:
        Simplify code (no logic changes)
      sql/mysql_priv.h:
        Added prototype
      sql/sql_base.cc:
        Better name for define
      sql/sql_class.cc:
        Indentation fix
      sql/sql_parse.cc:
        Make end_active_trans() global
      sql/sql_table.cc:
        Ensure we end active transcations if we do an admin command (like optimize, repair etc)
      3995b06b
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · dac68ff7
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      
      dac68ff7
    • unknown's avatar
      do not install ndb slave if no slaves · 2a6a3ad2
      unknown authored
          fixed memleak in ndbcluster_end
      
      
      mysql-test/mysql-test-run.pl:
        do not install ndb slave if no slaves
      sql/ha_ndbcluster.cc:
        fixed memleak in ndbcluster_end
      2a6a3ad2
    • unknown's avatar
      Bug #18798: mysqld cores on update in ha_ndbcluster call if cluster has failed... · 4bc3ba78
      unknown authored
      Bug #18798: mysqld cores on update in ha_ndbcluster call if cluster has failed before, added extra check that transaction is started
      
      
      
      4bc3ba78
    • unknown's avatar
      Fixed wrong merge · d1b6779a
      unknown authored
      d1b6779a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · e44823ff
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      e44823ff
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · 286ee9aa
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug10405
      
      
      286ee9aa
    • unknown's avatar
      After merge fix · 9535b127
      unknown authored
      9535b127
  8. 04 May, 2006 8 commits