1. 20 Jan, 2010 3 commits
  2. 19 Jan, 2010 1 commit
  3. 18 Jan, 2010 4 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 9 commits
    • Alfranio Correia's avatar
      a5d956b0
    • Alfranio Correia's avatar
    • Alfranio Correia's avatar
      merge mysql-next-mr --> mysql-5.1-rpl-merge · 57a8d221
      Alfranio Correia authored
      Conflicts:
        Text conflict in sql/sql_insert.cc 
      57a8d221
    • Alfranio Correia's avatar
      f199ad1a
    • Alfranio Correia's avatar
      Augmented the rpl_ndb_binlog_format_errors to verify if a slave running in the · ae44d708
      Alfranio Correia authored
      STMT mode aborts the SQL Thread if it receives changes in ROW mode and such
      changes are not processed.
      ae44d708
    • Olav Sandstaa's avatar
      Fix for Bug#50221 Server refuses to start from non-default installdir on Solaris 32-bit · b876f0fc
      Olav Sandstaa authored
      When starting mysqld it did not recognize most of the options given on
      the command line when it was compiled for 32-bit Solaris using Sun
      Studio compiler. The cause for this was that most of the entries in
      the my_long_options array contained "garbage" data. The garbage data
      was caused by a compiler bug. When initilizing the def_value member
      for the "default-storage-engine" entry it was initialized like this:
      
        (longlong)"MyISAM"
      
      i.e. casting a 32 bit pointer to a 64 bit integer value. Due to the
      compiler bug only 4 bytes was allocated (instead of 8 bytes). This
      caused everything following this entry to be stored at a location that
      was 4 byte wrong.
      
      The fix/work-around for this problem is initialize the def_value
      for default-storage-engine in my_long_options to 0 and instead
      initialize the default_storage_engine variable to "MyISAM" in
      init_common_variables().
      
      sql/mysqld.cc:
        Due to a bug in Sun Studio compiler when generating 32 bit code the 
        initialization of the def_value member of the default-storage-engine entry 
        in my_long_options only got 4 bytes allocated instead of 8 bytes. 
        The compiler bug was triggered by casting a 32 bit pointer to a 64 bit 
        integer value in the initialization code for my_long_options. To avoid 
        triggering the compiler bug the intialization of the def_value in
        my_long_options is set to 0 and instead the default_storage_engine
        is initialized to "MyISAM" in init_common_variables().
      b876f0fc
    • Alexander Barkov's avatar
      WL#4583 Case conversion in Asian character sets · 46400e13
      Alexander Barkov authored
        modified:
        include/m_ctype.h
        - Changing type for tolower/toupper members, to store values >= 0xFFFF.
        - Adding function prototypes
      
        mysql-test/r/ctype_big5.result
        mysql-test/r/ctype_cp932_binlog_stm.result
        mysql-test/r/ctype_eucjpms.result*
        mysql-test/r/ctype_euckr.result
        mysql-test/r/ctype_gb2312.result
        mysql-test/r/ctype_gbk.result
        mysql-test/r/ctype_sjis.result
        mysql-test/r/ctype_ujis.result
        mysql-test/t/ctype_big5.test
        mysql-test/t/ctype_cp932_binlog_stm.test
        mysql-test/t/ctype_eucjpms.test
        mysql-test/t/ctype_euckr.test
        mysql-test/t/ctype_gb2312.test
        mysql-test/t/ctype_gbk.test
        mysql-test/t/ctype_sjis.test
        mysql-test/t/ctype_ujis.test
        -  Adding tests
      
        strings/ctype-big5.c
        strings/ctype-cp932.c
        strings/ctype-euc_kr.c
        strings/ctype-eucjpms.c
        strings/ctype-gb2312.c
        strings/ctype-gbk.c
        strings/ctype-sjis.c
        - Adding upper/lower case conversion data
      
        strings/ctype-mb.c
        - Adding handling of upper/lower conversion for multi-byte characters.
      
        strings/ctype-ujis.c
        - Implementing shared upper/lower conversion
          functions  for ujis and eucjpms
        - Adding upper/lower case conversion data for ujis
      46400e13
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 1f55563b
      Alexander Nozdrin authored
      1f55563b
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 87f7d0b1
      Alexander Nozdrin authored
      87f7d0b1
  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