1. 03 Feb, 2010 1 commit
    • Omer BarNir's avatar
      Fixes to PB failiurs · f2b7a853
      Omer BarNir authored
      mysql-test/suite/sys_vars/r/pseudo_thread_id_basic.result:
        Uodated result file
      mysql-test/suite/sys_vars/t/pseudo_thread_id_basic.test:
        Added code to explain the failiure
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_enabled_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_timeout_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_trace_level_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_wait_no_slave_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_enabled_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_trace_level_basic.test:
        Added code to handle diff result outpt in windows (dll vs. so)
      f2b7a853
  2. 29 Jan, 2010 1 commit
    • Omer BarNir's avatar
      Modified and added tests following review of WL#4738. · d726588c
      Omer BarNir authored
       - Added tests for innodb and semisync plugin
       - Modified existing tests to include variable values in I_S tables
       - Updated the all_vars test to include optional checkes for INNODB and semisync plugin 
         if loaded
      
      mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_change_buffering_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_file_format_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_file_format_check_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_io_capacity_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_old_blocks_pct_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_old_blocks_time_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_read_io_threads_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_replication_delay_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_spin_wait_delay_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_stats_on_metadata_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_strict_mode_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_thread_sleep_delay_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/innodb_use_sys_malloc_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_version_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/innodb_write_io_threads_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/last_insert_id_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/lc_messages_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/log_slow_queries_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/lower_case_file_system_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/lower_case_table_names_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/max_join_size_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/old_alter_table_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/optimizer_switch_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/profiling_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/profiling_history_size_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/pseudo_thread_id_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/rand_seed1_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/rand_seed2_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/relay_log_recovery_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_master_enabled_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_master_timeout_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_master_trace_level_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_master_wait_no_slave_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_slave_enabled_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/rpl_semi_sync_slave_trace_level_basic.result:
        New result file
      mysql-test/suite/sys_vars/r/sql_log_update_basic.result:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/r/sql_max_join_size_basic.result:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/r/sql_select_limit_basic.result:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/r/thread_cache_size_basic.result:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/all_vars-master.opt:
        Added opt file for all_vars.test
      mysql-test/suite/sys_vars/t/all_vars.test:
        Modified test to check for semisync plugin and innodb
      mysql-test/suite/sys_vars/t/innodb_adaptive_flushing_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_adaptive_hash_index_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_change_buffering_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_file_format_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_file_format_check_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_io_capacity_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_old_blocks_pct_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_old_blocks_time_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_read_ahead_threshold_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_read_io_threads_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_replication_delay_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_spin_wait_delay_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_stats_on_metadata_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_stats_sample_pages_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_strict_mode_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_thread_sleep_delay_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_use_sys_malloc_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_version_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/innodb_write_io_threads_basic.test:
        Added test for innodb variable
      mysql-test/suite/sys_vars/t/last_insert_id_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/lc_messages_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/log_slow_queries_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/lower_case_file_system_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/lower_case_table_names_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/max_join_size_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/old_alter_table_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/optimizer_switch_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/profiling_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/profiling_history_size_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/pseudo_thread_id_basic.test:
        Added check for variable values in I_S tables and check for session variable 
        being numeric
      mysql-test/suite/sys_vars/t/rand_seed1_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/rand_seed2_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/relay_log_recovery_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_enabled_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_enabled_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_timeout_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_timeout_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_trace_level_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_trace_level_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_wait_no_slave_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_master_wait_no_slave_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_enabled_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_enabled_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_trace_level_basic-master.opt:
        Added option file for semisync variable test
      mysql-test/suite/sys_vars/t/rpl_semi_sync_slave_trace_level_basic.test:
        Added test file for semisync variable
      mysql-test/suite/sys_vars/t/sql_log_update_basic.test:
        Added check for variable values in I_S tables and check for ON/OFF value changes
      mysql-test/suite/sys_vars/t/sql_max_join_size_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/sql_select_limit_basic.test:
        Added check for variable values in I_S tables
      mysql-test/suite/sys_vars/t/thread_cache_size_basic.test:
        Added check for variable values in I_S tables
      d726588c
  3. 18 Jan, 2010 3 commits
  4. 15 Jan, 2010 1 commit
    • unknown's avatar
      Fix for perfschema.binlog_stmt failure: · 05943ddd
      unknown authored
              
      Problem: The test case failed because: (i) warning text in 
               result file differed from the warning output by the 
               server, and (ii) binlog contents in result file did
               not show the statements logged wrapped in BEGIN/COMMIT
               as it is the case after WL 2687.
            
      Solution: We update the result file, but first we change the
                unsafe warning text to also refer to performance_schema
                table(s). This required changing the result files for
                existing test cases that provide output for warnings 
                related to ER_BINLOG_UNSAFE_SYSTEM_TABLE. "Grepping" in
                result files, shows that only binlog_unsafe contained
                reference to such a warning.
            
                We also update the result file with the missing 
                BEGIN/COMMIT statements.
      05943ddd
  5. 14 Jan, 2010 8 commits
  6. 13 Jan, 2010 9 commits
  7. 12 Jan, 2010 9 commits
  8. 11 Jan, 2010 3 commits
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · 414a8619
      Alexander Nozdrin authored
      Original revision:
      ------------------------------------------------------------
      revno: 3817
      revision-id: guilhem@mysql.com-20100108092756-k0zzf4kvx9b7bh38
      parent: guilhem@mysql.com-20100107101133-hrrgcdqg508runuf
      committer: Guilhem Bichot <guilhem@mysql.com>
      branch nick: mysql-6.0-codebase-bugfixing
      timestamp: Fri 2010-01-08 10:27:56 +0100
      message:
        fix for BUG#50120 "Valgrind errors in any test, inside mysqltest"
        Problem was that as v->name[v->name_len] may be uninitialized (which is ok per se),
        it shouldn't be used in an if(). We remove this zero_the_char/restore_it logic by
        rather zero-terminating the v->name string when we create it in var_init().
      ------------------------------------------------------------
      414a8619
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · 146aa9b8
      Alexander Nozdrin authored
      Original revision:
      
      ------------------------------------------------------------
      revno: 3789.1.9
      revision-id: serg@mysql.com-20091229134448-phe834ukzmi0k2e3
      parent: serg@mysql.com-20091227081418-bgfg952gzumn1k3h
      committer: Sergei Golubchik <serg@mysql.com>
      branch nick: 6.0-codebase
      timestamp: Tue 2009-12-29 14:44:48 +0100
      message:
        better fix for Bug#48758 mysqltest crashes on sys_vars.collation_server_basic in gcov builds
        
        use setenv instead of putenv
      ------------------------------------------------------------
      146aa9b8
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 7d8e2ddb
      Alexander Nozdrin authored
      7d8e2ddb
  9. 08 Jan, 2010 1 commit
    • Luis Soares's avatar
      Fixes rpl_stm_loaddata_concurrent failure in PB2. · ff1922d7
      Luis Soares authored
      The test case did not start with fresh binlogs, so in some
      cases, dependending on the order MTR runs the tests, it would
      try to show binlog contents from invalid positions (binary log
      would contain unexpected events from previous test).
      
      We fix this by deploying a RESET MASTER at the beginning of the
      test case.
      ff1922d7
  10. 07 Jan, 2010 4 commits
    • Alfranio Correia's avatar
    • Alfranio Correia's avatar
      merge mysql-5.1-rep+2-delivery1 --> mysql-5.1-rpl-merge · d3270c5f
      Alfranio Correia authored
      Conflicts:
      
      Text conflict in .bzr-mysql/default.conf
      Text conflict in mysql-test/extra/rpl_tests/rpl_loaddata.test
      Text conflict in mysql-test/r/mysqlbinlog2.result
      Text conflict in mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
      Text conflict in mysql-test/suite/binlog/r/binlog_unsafe.result
      Text conflict in mysql-test/suite/rpl/r/rpl_insert_id.result
      Text conflict in mysql-test/suite/rpl/r/rpl_loaddata.result
      Text conflict in mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result
      Text conflict in mysql-test/suite/rpl/r/rpl_udf.result
      Text conflict in mysql-test/suite/rpl/t/rpl_slow_query_log.test
      Text conflict in sql/field.h
      Text conflict in sql/log.cc
      Text conflict in sql/log_event.cc
      Text conflict in sql/log_event_old.cc
      Text conflict in sql/mysql_priv.h
      Text conflict in sql/share/errmsg.txt
      Text conflict in sql/sp.cc
      Text conflict in sql/sql_acl.cc
      Text conflict in sql/sql_base.cc
      Text conflict in sql/sql_class.h
      Text conflict in sql/sql_db.cc
      Text conflict in sql/sql_delete.cc
      Text conflict in sql/sql_insert.cc
      Text conflict in sql/sql_lex.cc
      Text conflict in sql/sql_lex.h
      Text conflict in sql/sql_load.cc
      Text conflict in sql/sql_table.cc
      Text conflict in sql/sql_update.cc
      Text conflict in sql/sql_view.cc
      Conflict adding files to storage/innobase.  Created directory.
      Conflict because storage/innobase is not versioned, but has versioned children.  Versioned directory.
      Conflict adding file storage/innobase.  Moved existing file to storage/innobase.moved.
      Conflict adding files to storage/innobase/handler.  Created directory.
      Conflict because storage/innobase/handler is not versioned, but has versioned children.  Versioned directory.
      Contents conflict in storage/innobase/handler/ha_innodb.cc
      d3270c5f
    • Marc Alff's avatar
      WL#2360 Performance schema · 97b8f8cf
      Marc Alff authored
      Part IV: sql instrumentation
      97b8f8cf
    • Luis Soares's avatar
      Fix for rpl_bug31076 valgrind failure which popped up after · 5b636ce2
      Luis Soares authored
      WL#5151 was pushed.
      
      Problem 1: Some old binlog events do not contain metadata. This
      makes checking whether the field can be converted or not rather
      impossible because one cannot compare, for instance, field sizes
      from original table and target table.
      
      Solution 1: When an event does not contain metadata, we will just
      check if field types are equal and assume that original field
      definition matched with the one in the target table.
      
      Problem 2: There is a second fix, which involves lack of
      information regarding maybe_null. This was causing a conditional
      jump warning when creating a conversion table. 
      
      Solution 2: We will just assume that all fields that need to be
      in the conversion table may be null.
      5b636ce2