1. 27 Jan, 2010 9 commits
  2. 25 Jan, 2010 3 commits
  3. 22 Jan, 2010 2 commits
  4. 21 Jan, 2010 3 commits
  5. 20 Jan, 2010 4 commits
  6. 19 Jan, 2010 9 commits
    • Alexander Nozdrin's avatar
      ce3dcc6c
    • Sergey Vojtovich's avatar
      d0ceec60
    • Alexander Nozdrin's avatar
      Manual merge from mysql-trunk-merge. · a6667f85
      Alexander Nozdrin authored
      Conflicts:
        - configure.in
        - include/m_string.h
        - mysql-test/extra/rpl_tests/rpl_row_func003.test
        - mysql-test/r/mysqlbinlog.result
        - mysql-test/r/union.result
        - mysql-test/suite/binlog/r/binlog_killed_simulate.result
        - mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result
        - mysql-test/suite/binlog/r/binlog_unsafe.result
        - mysql-test/suite/binlog/t/binlog_unsafe.test
        - mysql-test/suite/rpl/r/rpl_loaddata_fatal.result
        - mysql-test/suite/rpl/r/rpl_loaddata_map.result
        - mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result
        - mysql-test/suite/rpl/r/rpl_stm_log.result
        - mysql-test/suite/rpl/t/rpl_optimize.test
        - mysql-test/t/mysqlbinlog.test
        - mysql-test/t/union.test
        - sql/rpl_utility.h
        - sql/sql_union.cc
        - strings/Makefile.am
      a6667f85
    • Sergey Vojtovich's avatar
      667b5944
    • Georgi Kodinov's avatar
      2fa49930
    • Mattias Jonsson's avatar
      merge · 8c6d6c0c
      Mattias Jonsson authored
      8c6d6c0c
    • Georgi Kodinov's avatar
      merge · b60d59b9
      Georgi Kodinov authored
      b60d59b9
    • Sergey Glukhov's avatar
      Bug#49501 Inefficient information_schema check (system collation) · 81391bd0
      Sergey Glukhov authored
      added check_length optimization for I_S_NAME comparison
      
      
      sql/event_data_objects.cc:
        added check_length optimization for I_S_NAME comparison
      sql/events.cc:
        added check_length optimization for I_S_NAME comparison
      sql/mysql_priv.h:
        added check_length optimization for I_S_NAME comparison
      sql/repl_failsafe.cc:
        added check_length optimization for I_S_NAME comparison
      sql/sql_db.cc:
        added check_length optimization for I_S_NAME comparison
      sql/sql_parse.cc:
        added check_length optimization for I_S_NAME comparison
      sql/sql_show.cc:
        added check_length optimization for I_S_NAME comparison
      sql/sql_view.cc:
        added check_length optimization for I_S_NAME comparison
      sql/table.cc:
        added check_length optimization for I_S_NAME comparison
      81391bd0
    • Luis Soares's avatar
      Fix for BUG#49481 and BUG#49482 reverted. · d1d16f9c
      Luis Soares authored
      PB2 run uncovered issue that needs further analysis.
      d1d16f9c
  7. 18 Jan, 2010 8 commits
    • Alexander Nozdrin's avatar
      Manual merge from mysql-next-mr. · 40271e4f
      Alexander Nozdrin authored
      Conflicts:
        - sql/sql_plugin.cc
      40271e4f
    • Alexander Nozdrin's avatar
      Manual merge from mysql-trunk. · 0835775b
      Alexander Nozdrin authored
      Conflicts:
        - support-files/mysql.spec.sh
      0835775b
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · 6060c8d3
      Alexander Nozdrin authored
      6060c8d3
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · f143270f
      Alexander Nozdrin authored
      f143270f
    • Mattias Jonsson's avatar
      Bug#47343: InnoDB fails to clean-up after lock wait timeout on · eab2be0a
      Mattias Jonsson authored
                 REORGANIZE PARTITION
      
      There were several problems which lead to this this,
      all related to bad error handling.
      
      1) There was several bugs preventing the ddl-log to be used for
         cleaning up created files on error.
      
      2) The error handling after the copy partition rows did not close
         and unlock the tables, resulting in deletion of partitions
         which were in use, which lead InnoDB to put the partition to
         drop in a background queue.
      
      sql/ha_partition.cc:
        Bug#47343: InnoDB fails to clean-up after lock wait timeout on
                   REORGANIZE PARTITION
        
        Better error handling, if partition has been created/opened/locked
        then make sure it is unlocked and closed before returning error.
        The delete of the newly created partition is handled by the ddl-log.
      sql/sql_parse.cc:
        Bug#47343: InnoDB fails to clean-up after lock wait timeout on
                   REORGANIZE PARTITION
        
        Fix a bug found when experimenting, thd could really be NULL here,
        as mentioned in the function header.
      sql/sql_partition.cc:
        Bug#47343: InnoDB fails to clean-up after lock wait timeout on
                   REORGANIZE PARTITION
        
        Used the correct .frm shadow name to put into the ddl-log.
        Really use the ddl-log to handle errors.
      sql/sql_table.cc:
        Bug#47343: InnoDB fails to clean-up after lock wait timeout on
                   REORGANIZE PARTITION
        
        Fixes of the ddl-log when used as error recovery (no crash).
        When executing an entry from memory (not read from disk)
        the name_len was not set correctly.
      eab2be0a
    • Georgi Kodinov's avatar
      Bug #45989 take 2 : memory leak after explain encounters an · 5ba1dd04
      Georgi Kodinov authored
      error in the query.
      
      Fixes a leak after materializing a GROUP BY subquery to a 
      temp table when the subquery has a blob column in the SELECT
      list.
      Fixed by correctly destructing temporary buffers after doing
      the conversion.
      5ba1dd04
    • Alexander Nozdrin's avatar
      Enable sys_vars and perfschema test suites · 33c075e8
      Alexander Nozdrin authored
      for regular PB builds.
      33c075e8
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-5.1-rpl-merge. · 3408d7c2
      Alexander Nozdrin authored
      3408d7c2
  8. 17 Jan, 2010 1 commit
  9. 16 Jan, 2010 1 commit
    • unknown's avatar
      BUG#47418 RBR fails, failure with mixup of base/temporary/view · 377d7102
      unknown authored
      'CREATE TABLE IF NOT EXISTS ... SELECT' statement were causing 'CREATE
      TEMPORARY TABLE ...' to be written to the binary log in row-based 
      mode (a.k.a. RBR), when there was a temporary table with the same name.
      Because the 'CREATE TABLE ... SELECT' statement was executed as 
      'INSERT ... SELECT' into the temporary table. Since in RBR mode no 
      other statements related to temporary tables are written into binary log,
      this sometimes broke replication.
      
      This patch changes behavior of 'CREATE TABLE [IF NOT EXISTS] ... SELECT ...'.
      it ignores existence of temporary table with the 
      same name as table being created and is interpreted
      as attempt to create/insert into base table. This makes behavior of
      'CREATE TABLE [IF NOT EXISTS] ... SELECT' consistent with
      how ordinary 'CREATE TABLE' and 'CREATE TABLE ... LIKE' behave.
      377d7102