1. 19 Aug, 2008 2 commits
    • Mats Kindahl's avatar
      Merging with 5.1-rpl · 09271b1e
      Mats Kindahl authored
      09271b1e
    • Mats Kindahl's avatar
      Bug #34707: Row based replication: slave creates table within wrong database · 5cd9d96a
      Mats Kindahl authored
      The failure was caused by executing a CREATE-SELECT statement that creates a
      table in another database than the current one. In row-based logging, the
      CREATE statement was written to the binary log without the database, hence
      creating the table in the wrong database, causing the following inserts to
      fail since the table didn't exist in the given database.
      
      Fixed the bug by adding a parameter to store_create_info() that will make
      the function print the database name before the table name and used that
      in the calls that write the CREATE statement to the binary log. The database
      name is only printed if it is different than the currently selected database.
      
      The output of SHOW CREATE TABLE has not changed and is still printed without
      the database name.
      
      mysql-test/suite/rpl/r/rpl_row_create_table.result:
        Result file change.
      mysql-test/suite/rpl/t/rpl_row_create_table.test:
        Added test to check that CREATE-SELECT into another database than the
        current one replicates.
      sql/sql_insert.cc:
        Adding parameter to calls to store_create_info().
      sql/sql_show.cc:
        Adding parameter to calls to store_create_info().
        
        Extending store_create_info() with parameter 'show_database' that will cause
        the database to be written before the table name.
      sql/sql_show.h:
        Adding parameter to call to store_create_info() to tell if the database should be shown or not.
      sql/sql_table.cc:
        Adding parameter to calls to store_create_info().
      5cd9d96a
  2. 15 Aug, 2008 1 commit
    • He Zhenxing's avatar
      post fixes after merge · 5e4d34d7
      He Zhenxing authored
      mysql-test/suite/binlog/r/binlog_killed_simulate.result:
        update result
      mysql-test/suite/rpl/r/rpl_stm_log.result:
        update result
      mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test:
        correct a typo
      5e4d34d7
  3. 14 Aug, 2008 6 commits
  4. 13 Aug, 2008 5 commits
  5. 12 Aug, 2008 4 commits
  6. 11 Aug, 2008 15 commits
  7. 10 Aug, 2008 2 commits
  8. 09 Aug, 2008 5 commits