1. 18 Jun, 2007 1 commit
    • unknown's avatar
      Fixes to make team-tree green. · 48c9f3bc
      unknown authored
      
      mysql-test/r/binlog_multi_engine.result:
        Result change
      mysql-test/t/binlog_multi_engine.test:
        Commenting out statements that generate non-deterministic results.
      48c9f3bc
  2. 15 Jun, 2007 4 commits
    • unknown's avatar
      Disabling test case awaiting reply · cdc0a6d8
      unknown authored
      
      mysql-test/t/disabled.def:
        Disabling innodb.test since it requires changes.
      cdc0a6d8
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · 67478382
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b24954-mysql-5.1-new-rpl
      
      
      67478382
    • unknown's avatar
      BUG#29130 (The logic for using delete_all_rows() is wrong): · 02377506
      unknown authored
      Correcting the logic for deciding when to use delete_all_rows() so that
      the behavior of TRUNCATE to not be dependent on binary logging
      format in effect.
      
      A TRUNCATE statement is always logged as a statement, so in this case,
      delete_all_rows() can always be used provided the other logic is correct.
      If a DELETE FROM without a WHERE clause is used, and row-based binlogging
      is used, the rows has to be deleted from the table on a per-row basis.
      
      
      sql/sql_delete.cc:
        The logic for deciding when to use delete_all_rows() was altered so that
        the format used for binary logging does not affect how TRUNCATE is
        handled.
      02377506
    • unknown's avatar
      Fixing typo in test case. · dd83ba7e
      unknown authored
      
      mysql-test/t/loaddata_autocom_ndb.test:
        Typo
      dd83ba7e
  3. 14 Jun, 2007 3 commits
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · d881c4fc
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b23051-mysql-5.1-rpl
      
      
      d881c4fc
    • unknown's avatar
      BUG#23051 (READ COMMITTED breaks mixed and statement-based replication): · dd3ff42c
      unknown authored
      Temporarily using thd_tx_isolation() until decision is made on how to
      get the isolation level.
      
      
      storage/innobase/handler/ha_innodb.cc:
        Using thd_tx_isolation() instead of direct access to variable.
      mysql-test/r/binlog_tx_isolation.result:
        New BitKeeper file ``mysql-test/r/binlog_tx_isolation.result''
      dd3ff42c
    • unknown's avatar
      WL#3303 (RBR: Engine-controlled logging format): · f3dc0478
      unknown authored
      Test case fixes.
      
      
      mysql-test/r/binlog_multi_engine.result:
        Result change.
      mysql-test/r/rpl_ndb_stm_innodb.result:
        Result change.
      mysql-test/t/binlog_multi_engine.test:
        NDB tests only work in MIXED or ROW mode. Adding some cleanup actions.
      mysql-test/t/loaddata_autocom_ndb.test:
        NDB requires MIXED or ROW mode.
      mysql-test/t/ndb_alter_table.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_alter_table2.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_alter_table3.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_autodiscover.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_autodiscover2.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_autodiscover3.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_basic.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_binlog_log_bin.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_binlog_multi.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_bitfield.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_blob.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_blob_partition.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_cache.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_cache2.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_cache_multi.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_cache_multi2.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_charset.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_condition_pushdown.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_config.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_config2.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_cursor.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_database.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_alter.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_backuprestore.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_basic.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_ddl.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_disk2memory.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_dump.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_dd_sql_features.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_gis.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_index.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_index_ordered.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_index_unique.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_insert.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_limit.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_loaddatalocal.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_lock.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_minmax.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_multi.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_partition_error.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_partition_key.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_partition_list.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_partition_range.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_read_multi_range.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_rename.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_replace.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_restore.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_restore_partition.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_restore_print.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_row_format.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_single_user.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_sp.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_subquery.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_temporary.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_transaction.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_trigger.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_truncate.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_types.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_update.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndb_view.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ndbapi.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/ps_7ndb.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/rpl_ndb_commit_afterflush.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/rpl_ndb_innodb_trans.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      mysql-test/t/rpl_ndb_stm_innodb.test:
        We need MIXED mode on slave since it is necessary to let the slave
        switch to row format when executing replicated statements.
      mysql-test/t/strict_autoinc_5ndb.test:
        NDB requires MIXED or ROW mode, but will switch to row format
        automatically, so we only run these tests under ROW mode.
      f3dc0478
  4. 13 Jun, 2007 3 commits
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · 83d22578
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b24954-mysql-5.1-new-rpl
      
      
      83d22578
    • unknown's avatar
      Fixing some trivial test problems. · 2b24acb2
      unknown authored
      
      mysql-test/r/rpl_loaddata_fatal.result:
        Result change
      mysql-test/r/rpl_slave_skip.result:
        Result change
      mysql-test/t/rpl_loaddata_fatal.test:
        Test only valid for debug build
        Adding shutdown sequence.
      mysql-test/t/rpl_slave_skip.test:
        Masking out new columns.
      sql/log_event.cc:
        Freeing memory to keep valgrind silent.
      2b24acb2
    • unknown's avatar
      BUG#23051 (READ COMMITTED breaks mixed and statement-based replication): · 7eebcf2f
      unknown authored
      Post-merge fixes.
      
      
      BitKeeper/deleted/.del-ndb_binlog_basic2.test:
        Delete: mysql-test/t/ndb_binlog_basic2.test
      BitKeeper/deleted/.del-ndb_binlog_basic2.result:
        Delete: mysql-test/r/ndb_binlog_basic2.result
      mysql-test/r/binlog_innodb.result:
        Result change
      mysql-test/r/binlog_multi_engine.result:
        Result change
      mysql-test/t/binlog_multi_engine.test:
        Changed error code
      mysql-test/t/partition_hash.test:
        Changed error code
      sql/sql_class.h:
        Fixes to select_create constructor argument list.
      7eebcf2f
  5. 12 Jun, 2007 4 commits
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · 95d678f8
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b23051-mysql-5.1-rpl
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      storage/archive/ha_archive.h:
        Auto merged
      storage/blackhole/ha_blackhole.h:
        Auto merged
      storage/csv/ha_tina.h:
        Auto merged
      storage/example/ha_example.h:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      storage/heap/ha_heap.h:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.h:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisammrg/ha_myisammrg.h:
        Auto merged
      sql/share/errmsg.txt:
        SCCS merged
      95d678f8
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · 492ebf92
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b23051-mysql-5.1-rpl
      
      
      BitKeeper/deleted/.del-binlog_row_blackhole.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      storage/blackhole/ha_blackhole.h:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.h:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      mysql-test/t/partition_hash.test:
        Manual merge
      sql/handler.h:
        Manual merge
      sql/set_var.cc:
        Manual merge
      sql/sql_class.h:
        Manual merge
      sql/sql_insert.cc:
        Manual merge
      sql/sql_parse.cc:
        Manual merge
      492ebf92
    • unknown's avatar
      BUG#23051 (READ COMMITTED breaks mixed and statement-based · ccbada08
      unknown authored
      replication):
      
      Patch to add binlog format capabilities to the InnoDB storage engine.
      The engine will not allow statement format logging when in READ COMMITTED
      or READ UNCOMMITTED transaction isolation level.
      
      In addition, an error is generated when trying to use READ COMMITTED
      or READ UNCOMMITTED transaction isolation level in STATEMENT binlog
      mode.
      
      
      sql/handler.h:
        Adding declaration of already global arrays.
      sql/share/errmsg.txt:
        Adding error messages for invalid changes of transaction isolation level
        and binlog mode switch.  Removing messages that are not needed any more
        (this cset it pushed together with the cset that introduced these
        messages, so it is safe to remove the messages).
      sql/sql_base.cc:
        Some changes to error reporting code to get more informative messages.
      storage/innobase/handler/ha_innodb.cc:
        Adding capabilities to storage engine.
        
        Ha_innobase:table_flags() now compute flags on a per-statement basis
        and the statement capabilities flag is just set if the transaction
        isolation level is below READ COMMITTED.
        
        An informative message is printed in the event that the transaction
        isolation level is below READ COMMITTED and the binlog mode is STATEMENT.
      storage/innobase/handler/ha_innodb.h:
        Accomodating to changes in the server code that switched from ulong
        to Table_flags as type for the table flags.
      mysql-test/r/binlog_innodb.result:
        New BitKeeper file ``mysql-test/r/binlog_innodb.result''
      mysql-test/t/binlog_innodb.test:
        New BitKeeper file ``mysql-test/t/binlog_innodb.test''
      ccbada08
    • unknown's avatar
      Adding new files to CMakeLists.txt to make it build on Windows. · fac5ba8b
      unknown authored
      
      sql/CMakeLists.txt:
        Adding new files
      fac5ba8b
  6. 11 Jun, 2007 14 commits
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 24eb04ab
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b24954-mysql-5.1-new-rpl
      
      
      mysql-test/r/rpl_rotate_logs.result:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      24eb04ab
    • unknown's avatar
      BUG#24954 (Last_errno and Last_error not set after master_retry_count has · abbf5941
      unknown authored
      been reached):
      
      Post-merge patch to handle all the changes to the tree since the tree
      was cloned.
      
      
      mysql-test/extra/rpl_tests/rpl_log.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/extra/rpl_tests/rpl_reset_slave.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/include/show_slave_status.inc:
        Column change.
      mysql-test/r/rpl_000015.result:
        Result file change.
      mysql-test/r/rpl_change_master.result:
        Result file change.
      mysql-test/r/rpl_empty_master_crash.result:
        Result file change.
      mysql-test/r/rpl_extraCol_innodb.result:
        Result file change.
      mysql-test/r/rpl_extraCol_myisam.result:
        Result file change.
      mysql-test/r/rpl_flushlog_loop.result:
        Result file change.
      mysql-test/r/rpl_incident.result:
        Result file change.
      mysql-test/r/rpl_known_bugs_detection.result:
        Result file change.
      mysql-test/r/rpl_loaddata.result:
        Result file change.
      mysql-test/r/rpl_loaddata_fatal.result:
        Result file change.
      mysql-test/r/rpl_log_pos.result:
        Result file change.
      mysql-test/r/rpl_ndb_basic.result:
        Result file change.
      mysql-test/r/rpl_ndb_circular.result:
        Result file change.
      mysql-test/r/rpl_ndb_extraCol.result:
        Result file change.
      mysql-test/r/rpl_ndb_idempotent.result:
        Result file change.
      mysql-test/r/rpl_ndb_log.result:
        Result file change.
      mysql-test/r/rpl_ndb_sync.result:
        Result file change.
      mysql-test/r/rpl_rbr_to_sbr.result:
        Result file change.
      mysql-test/r/rpl_redirect.result:
        Result file change.
      mysql-test/r/rpl_replicate_do.result:
        Result file change.
      mysql-test/r/rpl_rotate_logs.result:
        Result file change.
      mysql-test/r/rpl_row_inexist_tbl.result:
        Result file change.
      mysql-test/r/rpl_row_log.result:
        Result file change.
      mysql-test/r/rpl_row_log_innodb.result:
        Result file change.
      mysql-test/r/rpl_row_max_relay_size.result:
        Result file change.
      mysql-test/r/rpl_row_reset_slave.result:
        Result file change.
      mysql-test/r/rpl_row_tabledefs_2myisam.result:
        Result file change.
      mysql-test/r/rpl_row_tabledefs_3innodb.result:
        Result file change.
      mysql-test/r/rpl_row_until.result:
        Result file change.
      mysql-test/r/rpl_server_id1.result:
        Result file change.
      mysql-test/r/rpl_server_id2.result:
        Result file change.
      mysql-test/r/rpl_slave_skip.result:
        Result file change.
      mysql-test/r/rpl_ssl.result:
        Result file change.
      mysql-test/r/rpl_ssl1.result:
        Result file change.
      mysql-test/r/rpl_stm_log.result:
        Result file change.
      mysql-test/r/rpl_stm_max_relay_size.result:
        Result file change.
      mysql-test/r/rpl_stm_reset_slave.result:
        Result file change.
      mysql-test/r/rpl_stm_until.result:
        Result file change.
      mysql-test/t/rpl_000015.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_change_master.test:
        Column position change.
        Making result of SHOW SLAVE STATUS vertical.
      mysql-test/t/rpl_empty_master_crash.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_log_pos.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_ndb_basic.test:
        Column position change.
      mysql-test/t/rpl_ndb_idempotent.test:
        Column position change.
      mysql-test/t/rpl_ndb_sync.test:
        Column position change.
        Making result of SHOW SLAVE STATUS vertical.
      mysql-test/t/rpl_redirect.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_replicate_do.test:
        Column position change.
        Making result of SHOW SLAVE STATUS vertical.
      mysql-test/t/rpl_rotate_logs.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_row_inexist_tbl.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_row_until.test:
        Replacing SHOW SLAVE STATUS with include file.
      mysql-test/t/rpl_server_id1.test:
        Column position change.
        Making result of SHOW SLAVE STATUS vertical.
      mysql-test/t/rpl_server_id2.test:
        Column position change.
        Making result of SHOW SLAVE STATUS vertical.
      mysql-test/t/rpl_slave_status.test:
        Column position change.
      mysql-test/t/rpl_ssl.test:
        Column position change.
      mysql-test/t/rpl_ssl1.test:
        Column position change.
      mysql-test/t/rpl_stm_until.test:
        Replacing SHOW SLAVE STATUS with include file.
      sql/log_event.cc:
        Using member function last_error() instead of member variable.
        Replacing use of 'table' with 'm_table'.
        Suppressing warnings in debug printout.
        Setting thd->net.last_error on error return from unpack_row() to get
        a non-zero error message.  The error codes for are being harmonized
        in another worklog.
        Replacing use of slave_print_msg() with RELAY_LOG_INFO::report().
      sql/rpl_mi.h:
        Moving order of include files since they are dependent (!).
      sql/rpl_record.cc:
        Adding missing include file.
        Replacing use of slave_print_msg() with RELAY_LOG_INFO::report().
      sql/rpl_record_old.cc:
        Adding missing include file.
        Replacing use of slave_print_msg() with RELAY_LOG_INFO::report().
      sql/rpl_reporting.cc:
        Adding const modifier to member function.
        Using renamed member variable m_last_error.
      sql/rpl_reporting.h:
        Adding missing constant MAX_SLAVE_ERRMSG.
        Adding const modifier to Slave_reporting_capability::report().
        Hiding and renaming member variable last_error and incorporating
        member function for access in order to make it mutable.
      sql/rpl_rli.h:
        Moving constant MAX_SLAVE_ERRMSG.
      sql/rpl_utility.cc:
        Adding missing include file rpl_rli.h.
      sql/slave.cc:
        Replacing use of member variable last_error with call to member function
        last_error().
        Replacing use of slave_print_msg() with RELAY_LOG_INFO::report().
      abbf5941
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge · 1f89a70d
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      1f89a70d
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/MERGE/mysql-4.1-merge · 0f479195
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      0f479195
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.1-build · b0a140c1
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      b0a140c1
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.0-build · ec4fc416
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      ec4fc416
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl · dd7112fb
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      mysql-test/Makefile.am:
        Auto merged
      dd7112fb
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpl · 62b7d367
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      62b7d367
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-4.1-rpl · 60c2ff08
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-4.1-merge
      
      
      60c2ff08
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 1e15a17e
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      1e15a17e
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · a28ec7b8
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      a28ec7b8
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge · 2afcda2f
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      2afcda2f
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl · 80fa7382
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      sql/field.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Manual merge
      80fa7382
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpl · 4c40289a
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      4c40289a
  7. 09 Jun, 2007 2 commits
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 9fea6f47
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b24954-mysql-5.1-new-rpl
      
      
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Auto merged
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Auto merged
      mysql-test/t/binlog_row_mix_innodb_myisam.test:
        Auto merged
      mysql-test/t/rpl_000015.test:
        Auto merged
      mysql-test/t/rpl_flushlog_loop.test:
        Auto merged
      mysql-test/t/rpl_ndb_bank.test:
        Auto merged
      mysql-test/t/rpl_rbr_to_sbr.test:
        Auto merged
      mysql-test/t/rpl_replicate_do.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/rpl_row_until.test:
        Auto merged
      mysql-test/t/rpl_slave_status.test:
        Auto merged
      mysql-test/t/rpl_ssl1.test:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/rpl_mi.cc:
        Auto merged
      sql/rpl_utility.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      mysql-test/r/rpl_change_master.result:
        Manual merge
      mysql-test/r/rpl_000015.result:
        Manual merge
      mysql-test/r/rpl_deadlock_innodb.result:
        Manual merge
      mysql-test/r/rpl_empty_master_crash.result:
        Manual merge
      mysql-test/r/rpl_extraCol_innodb.result:
        Manual merge
      mysql-test/r/rpl_extraCol_myisam.result:
        Manual merge
      mysql-test/r/rpl_flushlog_loop.result:
        Manual merge
      mysql-test/r/rpl_loaddata.result:
        Manual merge
      mysql-test/r/rpl_log_pos.result:
        Manual merge
      mysql-test/r/rpl_ndb_basic.result:
        Manual merge
      mysql-test/r/rpl_ndb_extraCol.result:
        Manual merge
      mysql-test/r/rpl_ndb_idempotent.result:
        Manual merge
      mysql-test/r/rpl_ndb_log.result:
        Manual merge
      mysql-test/r/rpl_rbr_to_sbr.result:
        Manual merge
      mysql-test/r/rpl_redirect.result:
        Manual merge
      mysql-test/r/rpl_replicate_do.result:
        Manual merge
      mysql-test/r/rpl_rotate_logs.result:
        Manual merge
      mysql-test/r/rpl_row_inexist_tbl.result:
        Manual merge
      mysql-test/r/rpl_row_log.result:
        Manual merge
      mysql-test/r/rpl_row_log_innodb.result:
        Manual merge
      mysql-test/r/rpl_row_max_relay_size.result:
        Manual merge
      mysql-test/r/rpl_row_reset_slave.result:
        Manual merge
      mysql-test/r/rpl_row_tabledefs_2myisam.result:
        Manual merge
      mysql-test/r/rpl_row_tabledefs_3innodb.result:
        Manual merge
      mysql-test/r/rpl_row_until.result:
        Manual merge
      mysql-test/r/rpl_server_id1.result:
        Manual merge
      mysql-test/r/rpl_server_id2.result:
        Manual merge
      mysql-test/r/rpl_slave_status.result:
        Manual merge
      mysql-test/r/rpl_ssl1.result:
        Manual merge
      mysql-test/r/rpl_stm_log.result:
        Manual merge
      mysql-test/r/rpl_stm_max_relay_size.result:
        Manual merge
      mysql-test/r/rpl_stm_reset_slave.result:
        Manual merge
      mysql-test/r/rpl_stm_until.result:
        Manual merge
      mysql-test/t/rpl_log_pos.test:
        Manual merge
      mysql-test/t/rpl_ndb_basic.test:
        Manual merge
      sql/log_event.cc:
        Manual merge
      sql/rpl_mi.h:
        Manual merge
      sql/rpl_rli.cc:
        Manual merge
      sql/rpl_rli.h:
        Manual merge
      sql/slave.cc:
        Manual merge
      sql/share/errmsg.txt:
        Manual merge
      sql/slave.h:
        Manual merge
      9fea6f47
    • unknown's avatar
      BUG#24954 (Last_errno and Last_error not set after master_retry_count was reached): · 79a609aa
      unknown authored
      Adding new fields Last_{IO,SQL}_Errno and Last_{IO,SQL}_Error to output
      of SHOW SLAVE STATUS to hold errors from I/O and SQL thread respectively.
      Old fields Last_Error and Last_Errno are aliases for Last_SQL_Error and
      Last_SQL_Errno respectively.
      
      Fields are added last to output of SHOW SLAVE STATUS to allow old applications
      to use the same positional arguments into the row, while allowing new
      application to benefit from the added information.
      
      In addition, some new error codes are added (especially for the I/O
      thread) to be able to provide sensible error message.
      
      
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Result change
      mysql-test/r/rpl_000015.result:
        Result change
      mysql-test/r/rpl_change_master.result:
        Result change
      mysql-test/r/rpl_deadlock_innodb.result:
        Result change
      mysql-test/r/rpl_empty_master_crash.result:
        Result change
      mysql-test/r/rpl_extraCol_innodb.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_extraCol_myisam.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_flushlog_loop.result:
        Result change
      mysql-test/r/rpl_loaddata.result:
        Result change
      mysql-test/r/rpl_log_pos.result:
        Result change
      mysql-test/r/rpl_ndb_basic.result:
        Result change
      mysql-test/r/rpl_ndb_extraCol.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_ndb_idempotent.result:
        Result change
      mysql-test/r/rpl_ndb_log.result:
        Result change
      mysql-test/r/rpl_openssl.result:
        Result change
      mysql-test/r/rpl_rbr_to_sbr.result:
        Result change
      mysql-test/r/rpl_redirect.result:
        Result change
      mysql-test/r/rpl_replicate_do.result:
        Result change
      mysql-test/r/rpl_rotate_logs.result:
        Result change
      mysql-test/r/rpl_row_inexist_tbl.result:
        Result change
      mysql-test/r/rpl_row_log.result:
        Result change
      mysql-test/r/rpl_row_log_innodb.result:
        Result change
      mysql-test/r/rpl_row_max_relay_size.result:
        Result change
      mysql-test/r/rpl_row_reset_slave.result:
        Result change
      mysql-test/r/rpl_row_tabledefs_2myisam.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_row_tabledefs_3innodb.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_row_until.result:
        Result change
      mysql-test/r/rpl_server_id1.result:
        Result change
      mysql-test/r/rpl_server_id2.result:
        Result change
      mysql-test/r/rpl_slave_status.result:
        Result change
      mysql-test/r/rpl_stm_log.result:
        Result change
      mysql-test/r/rpl_stm_max_relay_size.result:
        Result change
        ---
        Result change.
      mysql-test/r/rpl_stm_reset_slave.result:
        Result change
      mysql-test/r/rpl_stm_until.result:
        Result change
      mysql-test/t/binlog_row_mix_innodb_myisam.test:
        Test fixed.
      mysql-test/t/rpl_000015.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_change_master.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_empty_master_crash.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_flushlog_loop.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_log_pos.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_ndb_bank.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_ndb_basic.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_ndb_idempotent.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_ndb_sync.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_openssl.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_rbr_to_sbr.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_redirect.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_replicate_do.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_rotate_logs.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_row_inexist_tbl.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_row_until.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_server_id1.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_server_id2.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_slave_status.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      mysql-test/t/rpl_stm_until.test:
        Commenting out irrelevant fields Last_IO_Error and Last_IO_Errno
      sql/Makefile.am:
        Adding new files
      sql/log_event.cc:
        Changes to use Slave_reporting_capability for reporting errors.
        
        Adding debug variable to stop slave with an out-of-memory error or with
        a fatal error. The checks are put both in the new Execute_load_query_
        log_event and in the old Load_log_event which is used for Execute_load_
        log_event.
        
        Adding code to generate fatal error message.
        
        Eliminating redundant arguments when printing ER_NO_DEFAULT_FOR_FIELD
        message.
      sql/rpl_mi.cc:
        Using Slave_reporting_capability for error reporting.
      sql/rpl_mi.h:
        Using Slave_reporting_capability to handle I/O thread errors and other messages.
      sql/rpl_rli.cc:
        Using Slave_reporting_capability to handle SQL thread errors and other messages.
      sql/rpl_rli.h:
        Changes to use Slave_reporting_capability for reporting SQL thread error and other messages.
      sql/rpl_utility.cc:
        Changes to use Slave_reporting_capability for reporting errors.
      sql/slave.cc:
        Changes to use Slave_reporting_capability for reporting errors.
      sql/slave.h:
        Removing slave_print_msg()
      sql/share/errmsg.txt:
        New error messages.
        
        Making message for ER_NO_DEFAULT_FOR_FIELD consistent over languages
        (actually restoring old message).
        
        Adding argument to ER_SLAVE_FATAL_ERROR message.
      sql/sql_repl.cc:
        Using new names for thread masks.
      mysql-test/t/rpl_loaddata_fatal-slave.opt:
        New BitKeeper file ``mysql-test/t/rpl_loaddata_fatal-slave.opt''
      sql/rpl_reporting.cc:
        New BitKeeper file ``sql/rpl_reporting.cc''
      sql/rpl_reporting.h:
        New BitKeeper file ``sql/rpl_reporting.h''
      mysql-test/include/show_slave_status.inc:
        New BitKeeper file ``mysql-test/include/show_slave_status.inc''
      mysql-test/r/rpl_loaddata_fatal.result:
        New BitKeeper file ``mysql-test/r/rpl_loaddata_fatal.result''
      mysql-test/t/rpl_loaddata_fatal.test:
        New BitKeeper file ``mysql-test/t/rpl_loaddata_fatal.test''
      79a609aa
  8. 08 Jun, 2007 6 commits
  9. 07 Jun, 2007 3 commits
    • unknown's avatar
      Merge quant.(none):/ext/mysql/bk/mysql-5.1-bug21123 · e8638b5c
      unknown authored
      into  quant.(none):/ext/mysql/bkroot/mysql-5.1-new-rpl-a
      
      
      sql/slave.cc:
        Auto merged
      e8638b5c
    • unknown's avatar
      Merge trift2.:/MySQL/M41/bug23504-4.1 · 35a948f7
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      35a948f7
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 73016f8f
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~1:
        Auto merged
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      netware/myisam_ftdump.def:
        Auto merged
      netware/myisamchk.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      73016f8f