1. 11 Sep, 2006 2 commits
  2. 08 Sep, 2006 3 commits
  3. 07 Sep, 2006 1 commit
    • unknown's avatar
      Removing sleeps; rpl_row_basic_8partition falls from 2 minutes · a6a1aba2
      unknown authored
      15 seconds to less than a second.
      The sleeps used to be necessary but not anymore as NDB has been fixed
      wrt sync_slave_with_master.
      
      
      mysql-test/include/rpl_multi_engine3.inc:
        Sleeps are not necessary anymore
        because NDB has been fixed wrt sync_slave_with_master.
      a6a1aba2
  4. 06 Sep, 2006 2 commits
  5. 04 Sep, 2006 1 commit
  6. 30 Aug, 2006 6 commits
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 6dd107a9
      unknown authored
      into  andrepl.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/wl3368_mixed_default
      
      
      6dd107a9
    • unknown's avatar
      WL#3368 mixed format as default · 4da5da9d
      unknown authored
      Two minor fixes:
       1. to make make test executes with mixed;
       2. proper isolation of binlog_statement_insert_delayed 
          from others through reset master cleaning up binlog
          todo: adapt this technique to other restarting for binlog tests
      
      
      Makefile.am:
        Binlog format switches to MIXED. A new Makefile target
        test-binlog-statement 
        is introduced for checking tests requiring exclusive STATEMENT format.
      mysql-test/t/binlog_statement_insert_delayed.test:
        cheapest method to clean up binlog after previous tests
      4da5da9d
    • unknown's avatar
      Merge romeo.(none):/home/bk/mytap-mysql-5.1-new · 0014295d
      unknown authored
      into  romeo.(none):/home/bk/mysql-5.1-new-rpl
      
      
      0014295d
    • unknown's avatar
      Changes to make unit tests work on OS X and AIX · 207202aa
      unknown authored
      
      unittest/unit.pl:
        Removing reliance on Straps, since it's to unstable.
      207202aa
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 86148b90
      unknown authored
      into  andrepl.dsl.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/wl3368_mixed_default
      
      
      86148b90
    • unknown's avatar
      Changes made according to HLD/LLD. · 930e542f
      unknown authored
         The following is an excerption from the WL.
            
         1. Change so that MIXED is default format
            1.1 to change the default for command line --binlog-format
            1.2 to alter global_system_variables.binlog_format calculation
                basing on command line --binlog-format parameter and 
                its default.
         2. Change test suite so that more testing is done by MIXED format.
            2.1 to check if there are test cases requiring --binlog-foramt=statement via
                `source include/have_binlog_format_statement.inc' and affected by 
                altering the latter to be "mixed".
            2.2 to check the content of such vulnerable cases to find if
                extending to the mixed does not modify results. In that case simply
                substitute source arguments as explained.
            2.3 if a test in mixed mode deals with features triggering
                row-binlogging then if necessary we can switch explicitly
                to statement mode or create another test to run with 
                non-recommended STATEMENT mode
         
                Particullarily, extracting INSERT DELAYED 
                binlogging subtest for statement mode is performed, and 
                the snippet is moved into a separate test file.
                Note that since now all three modes verify this use case
                through 3 different tests.
         
         No changes in item 3 of HLD appeared to be needed.
      
      
      mysql-test/extra/binlog_tests/binlog.test:
        Moving INSERT DELAYED verification section into separate file. The latter is sourced
        from two different files: the current one and a newly created for STATEMENT
        mode check.
      mysql-test/extra/rpl_tests/rpl_loaddata.test:
        require mixed_or_statement
      mysql-test/extra/rpl_tests/rpl_stm_000001.test:
        require mixed_or_statement
      mysql-test/extra/rpl_tests/rpl_stm_charset.test:
        require mixed_or_statement
      mysql-test/r/binlog_stm_binlog.result:
        new result to correspond to MIXED mode.
      mysql-test/r/rpl_rbr_to_sbr.result:
        result changed
      mysql-test/t/archive.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_binlog.test:
        require exclusive mixed format because of INSERT DELAYED.
      mysql-test/t/binlog_stm_blackhole.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_ctype_cp932.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_ctype_ucs.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_drop_tmp_tbl.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_innodb_stat.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_insert_select.test:
        require mixed_or_statement
      mysql-test/t/binlog_stm_mix_innodb_myisam.test:
        require mixed_or_statement
      mysql-test/t/create_select_tmp.test:
        require mixed_or_statement
      mysql-test/t/ctype_cp932_binlog_stm.test:
        require mixed_or_statement
      mysql-test/t/date_formats.test:
        MIXED case appended to the replace instruction
      mysql-test/t/mysqlbinlog.test:
        require mixed_or_statement
      mysql-test/t/mysqlbinlog2.test:
        require mixed_or_statement
      mysql-test/t/ndb_multi.test:
        require mixed_or_statement
      mysql-test/t/rpl000013.test:
        require mixed_or_statement
      mysql-test/t/rpl_heap.test:
        require mixed_or_statement
      mysql-test/t/rpl_loaddata_s.test:
        require mixed_or_statement
      mysql-test/t/rpl_mixed_ddl_dml.test:
        require mixed_or_statement
      mysql-test/t/rpl_rbr_to_sbr.test:
        Rather meaningless line is discarded.
        The test does not loose anything without it and without considering the WL.
      mysql-test/t/rpl_rewrt_db.test:
        require mixed_or_statement
      mysql-test/t/rpl_rotate_logs.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_EE_err2.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_flsh_tbls.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_log.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_max_relay_size.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_multi_query.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_mystery22.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_no_op.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_reset_slave.test:
        require mixed_or_statement
      mysql-test/t/rpl_stm_until.test:
        require mixed_or_statement
      mysql-test/t/rpl_temp_table.test:
        require mixed_or_statement
      mysql-test/t/rpl_trigger.test:
        require mixed_or_statement
      mysql-test/t/rpl_trunc_temp.test:
        require mixed_or_statement
      mysql-test/t/user_var-binlog.test:
        require mixed_or_statement
      sql/mysqld.cc:
        Implementation of making BINLOG_FORMAT_MIXED to be the default of
        global_system_variables.binlog_format. Not in the case of embedded.
      mysql-test/extra/binlog_tests/binlog_insert_delayed.test:
        Snippend sourced from two tests to verify INSERT DELAYED in all three binlog formats.
      mysql-test/include/have_binlog_format_mixed.inc:
        Part of exclusive MIXED format requirement
      mysql-test/include/have_binlog_format_mixed_or_statement.inc:
        requirement to have mixed or statement. Most of the tests with STATEMENT format indeed
        are tolerant to MIXED format to yield the same result files. There are few exception
        because of features triggering RBR events when MIXED format.
      mysql-test/r/binlog_statement_insert_delayed.result:
        BitKeeper file /home/elkin/MySQL/TEAM/FIXES/5.1/wl3368_mixed_default/mysql-test/r/binlog_statement_insert_delayed.result
      mysql-test/r/have_binlog_format_mixed.require:
        Exclusive MIXED format
      mysql-test/t/binlog_statement_insert_delayed.test:
        BitKeeper file /home/elkin/MySQL/TEAM/FIXES/5.1/wl3368_mixed_default/mysql-test/t/binlog_statement_insert_delayed.test
      930e542f
  7. 29 Aug, 2006 1 commit
    • unknown's avatar
      Various fixes to make MyTAP build on all platforms. · 1b8dad2b
      unknown authored
      
      unittest/Makefile.am:
        Not installing unit.pl any more.
        Adding test-verbose target to see the TAP output (for debugging).
      unittest/mytap/tap.h:
        Including portability file.
        Whitespace changes.
        Code sample for BAIL_OUT() function.
      1b8dad2b
  8. 25 Aug, 2006 4 commits
  9. 22 Aug, 2006 1 commit
    • unknown's avatar
      WL#3259 (RBR with more columns on slave than on master): · f17a35a9
      unknown authored
      Post-merge fixes.
      
      
      mysql-test/r/rpl_row_tabledefs_3innodb.result:
        Result change
      mysql-test/t/disabled.def:
        Disabling test that appear to be fixed in other clones
      sql/field.cc:
        Post-merge fix
      sql/log_event.cc:
        Changes to unpack_row():
        - Documentation
        - New parameter, the write/read set
        - R/W set now 0-indexed instead of 1-indexed
        - Removed column value printing
        Changes to replace_record():
        - Documentation
        - Removed column value printing
        Removed unused function print_column_values()
      f17a35a9
  10. 21 Aug, 2006 1 commit
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-wl3228 · 7ed63336
      unknown authored
      into  romeo.(none):/home/bk/w3259-mysql-5.1-new-rpl
      
      
      sql/field.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/Makefile.am:
        Merge patch for worklog 3259 into mysql-5.1-rpl
      sql/field.cc:
        Merge patch for worklog 3259 into mysql-5.1-rpl
      sql/log_event.cc:
        Merge patch for worklog 3259 into mysql-5.1-rpl
      7ed63336
  11. 17 Aug, 2006 1 commit
  12. 16 Aug, 2006 2 commits
    • unknown's avatar
      Merging with mysql-5.1-new-rpl tree · 84ba160c
      unknown authored
      
      sql/log.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        Merge with mysql-5.1-new-rpl
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        Merge with mysql-5.1-new-rpl
      84ba160c
    • unknown's avatar
      BUG#20863 (if binlog format is changed between update and unlock table, wrong binlogging): · f6144fb7
      unknown authored
      Fix to allow the binlog format to be changed between the LOCK and
      UNLOCK tables, as well as under MIXED mode.
      
      
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        Result change
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        Adding test to see that binlog format can be changed when using
        LOCK/UNLOCK TABLES both under ROW format and MIXED format.
      sql/log.cc:
        Removing pre-condition assertion since binlog can now be
        statement based.
      sql/sql_class.cc:
        Adding code to always flush pending event regardless of the binlog
        format used. The only exception is if we are inside a stored routine,
        where the pending event is never flushed.
      f6144fb7
  13. 01 Aug, 2006 3 commits
  14. 31 Jul, 2006 3 commits
  15. 30 Jul, 2006 1 commit
  16. 29 Jul, 2006 2 commits
    • unknown's avatar
      Make innodb_flush_log_at_trx_commit a settable global variable. · 7d43d6fd
      unknown authored
      
      sql/ha_innodb.cc:
        Remove innobase_flush_log_at_trx_commit
        (set srv_flush_log_at_trx_commit directly).
      sql/ha_innodb.h:
        Remove innobase_flush_log_at_trx_commit.
        Declare srv_flush_log_at_trx_commit.
      sql/mysqld.cc:
        Bypass the innobase_flush_log_at_trx_commit variable.
      storage/innobase/include/srv0srv.h:
        Change the type of srv_flush_log_at_trx_commit.
      storage/innobase/srv/srv0srv.c:
        Change the type of srv_flush_log_at_trx_commit.
      7d43d6fd
    • unknown's avatar
      Fix tests after merge and disable rpl_ndb_dd_advance due to bug 18679. · b230225b
      unknown authored
      
      mysql-test/r/date_formats.result:
        Fix results after merge
      mysql-test/r/mysqldump.result:
        Fix results after merge
      mysql-test/t/disabled.def:
        Add randomly-failing test with open bug
      mysql-test/t/mysqldump.test:
        Clean up test after merge and fix 'End of test' markers
      b230225b
  17. 28 Jul, 2006 6 commits
    • unknown's avatar
      Make innodb_thread_concurrency 0 by default, and extend · 605871f5
      unknown authored
       the usable range to 0..1000 (0 disables the thread throttling).
      
      
      sql/mysqld.cc:
        innodb_thread_concurrency is 0..1000 now, and
         0 (the default) disables the thread throttling.
      605871f5
    • unknown's avatar
      Merge rama.(none):/home/jimw/my/tmp_merge · d10db4cf
      unknown authored
      into  rama.(none):/home/jimw/my/mysql-5.1-clean
      
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      extra/yassl/include/openssl/ssl.h:
        Auto merged
      extra/yassl/include/yassl_int.hpp:
        Auto merged
      extra/yassl/src/ssl.cpp:
        Auto merged
      extra/yassl/src/template_instnt.cpp:
        Auto merged
      extra/yassl/src/yassl_imp.cpp:
        Auto merged
      extra/yassl/src/yassl_int.cpp:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/embedded_priv.h:
        Auto merged
      BitKeeper/deleted/.del-mysql_explain_log.sh~5ddc62808e16bd57:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      libmysqld/libmysqld.c:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/mysqldump-max.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/time.cc:
        Auto merged
      storage/myisam/mi_create.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      BitKeeper/deleted/.del-have_case_sensitive_file_system.inc:
        Delete: mysql-test/include/have_case_sensitive_file_system.inc
      BitKeeper/deleted/.del-case_sensitive_file_system.require:
        Delete: mysql-test/r/case_sensitive_file_system.require
      mysql-test/lib/mtr_cases.pl:
        Resolve conflict
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/r/mysqldump.result:
        Resolve conflict
      mysql-test/t/mysqldump.test:
        Resolve conflict
      sql/sql_parse.cc:
        Resolve conflict
      d10db4cf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · a13b3c49
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
      
      
      mysql-test/r/create_not_windows.result:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      a13b3c49
    • unknown's avatar
      Add sql_locale.cc to cmake scripts. · 8ed51c92
      unknown authored
      8ed51c92
    • unknown's avatar
      Removing temporary changes. · 7b283775
      unknown authored
      7b283775
    • unknown's avatar
      Removing temporary changes. · 78e24656
      unknown authored
      78e24656