1. 04 Feb, 2010 1 commit
    • Omer BarNir's avatar
      Corrections to pseudi_thread_id_basic test (WL4738) · eadf1586
      Omer BarNir authored
      mysql-test/suite/sys_vars/r/pseudo_thread_id_basic.result:
        Updated result file
      mysql-test/suite/sys_vars/t/pseudo_thread_id_basic.test:
        Removed specific thread_id result vaue used for debuging PB2 issue
      eadf1586
  2. 03 Feb, 2010 1 commit
    • Omer BarNir's avatar
      Fixes to PB failiurs · e9da37b6
      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)
      e9da37b6
  3. 29 Jan, 2010 1 commit
    • Omer BarNir's avatar
      Modified and added tests following review of WL#4738. · 013dcdbd
      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
      013dcdbd
  4. 18 Jan, 2010 3 commits
  5. 15 Jan, 2010 1 commit
    • unknown's avatar
      Fix for perfschema.binlog_stmt failure: · 5d279205
      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.
      5d279205
  6. 14 Jan, 2010 8 commits
  7. 13 Jan, 2010 9 commits
  8. 12 Jan, 2010 9 commits
  9. 11 Jan, 2010 3 commits
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · 0f300ac6
      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().
      ------------------------------------------------------------
      0f300ac6
    • Alexander Nozdrin's avatar
      Backporting revision from mysql-6.0-codebase-bugfixing. · 5d61829b
      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
      ------------------------------------------------------------
      5d61829b
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 724caa51
      Alexander Nozdrin authored
      724caa51
  10. 08 Jan, 2010 1 commit
    • Luis Soares's avatar
      Fixes rpl_stm_loaddata_concurrent failure in PB2. · 7f414733
      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.
      7f414733
  11. 07 Jan, 2010 3 commits
    • Alfranio Correia's avatar
    • Alfranio Correia's avatar
      merge mysql-5.1-rep+2-delivery1 --> mysql-5.1-rpl-merge · 5dcb0e44
      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
      5dcb0e44
    • Marc Alff's avatar
      WL#2360 Performance schema · 3d915225
      Marc Alff authored
      Part IV: sql instrumentation
      3d915225