1. 12 May, 2008 2 commits
    • mats@mats-laptop.(none)'s avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-bug36197 · 2a1dda44
      mats@mats-laptop.(none) authored
      into  mats-laptop.(none):/home/bk/b36197-mysql-5.1-bugteam
      2a1dda44
    • mats@mats-laptop.(none)'s avatar
      BUG#36197: flush tables (or little table cache) can cause crash on slave · 812fa8b2
      mats@mats-laptop.(none) authored
      When flushing tables, there were a slight chance that the flush was occuring
      between processing of two table map events. Since the tables are opened
      one by one, it might result in that the tables were not valid and that sub-
      sequent locking of tables would cause the slave to crash.
      
      The problem is solved by opening and locking all tables at once using
      simple_open_n_lock_tables(). Also, the patch contain a change to open_tables()
      so that pre-locking only takes place when the trg_event_map is not zero, which
      was not the case before (this caused the lock to be placed in thd->locked_tables
      instead of thd->lock since the assumption was that triggers would be called
      later and therefore the tables should be pre-locked).
      812fa8b2
  2. 08 Apr, 2008 4 commits
    • aelkin/andrei@mysql1000.(none)'s avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · 7a8b1bae
      aelkin/andrei@mysql1000.(none) authored
      into  mysql1000.(none):/home/andrei/MySQL/BARE/mysql-5.1-release
      7a8b1bae
    • kent/mysqldev@mysql.com/production.mysql.com's avatar
      Makefile.am: · 9b6ac078
        Add ChangeLog if it exists
        - Removed separate 'normal+rowrepl' test run, not needed any longer
        - Removed separate 'rpl' test run, included in main test run already
        - Renamed some test "comments", to use similar naming style
        - Limited one of the Cluster test runs to 'ndb' and 'rpl_ndb' suites
        - Reordered test runs, to be aligned with Windows test runs
      mysql.spec.sh:
        - No longer including the "Example" storage engine
        - Added to configure "--without-ENGINE" if not to compile engine as plugin
      9b6ac078
    • aelkin/andrei@mysql1000.(none)'s avatar
      Bug #35762 Failing CREATE-SELECT steels Table map of the following query · 725d07d5
      aelkin/andrei@mysql1000.(none) authored
      Among two claimed artifacts the critical one is in that the Table map of 
      a query following the failing with a duplicate key error CREATE-SELECT is skipped from
      instantionating (and thus binlogging). That leads to sending a "chopped" group of the data
      row-events without the table map head to the slave. 
      The slave can not apply the only data row events.
      It's not easy to force the slave to react with an error in such a case (the second complaint
      on the bug report), because the lack of a table Rows_log_event::do_apply_event the data row event
      handler is a common situation which  normally designates the event has to be filtered out
      basing on the repliation do/ingore rules decision.
      
      Fixed: table map creating and binlogging is restored via deploying the standard cleanup call in
      select_create::abort().
      No error is reported if by chance the table map was not been binlogged.
      Leaving this out to resolve with considering how to combine the do/ingore rules with the situation
      when erronoulsy the Table_map is not written to binlog.
      725d07d5
    • ramil/ram@mysql.com/ramil.myoffice.izhnet.ru's avatar
      Fix for bug #35732: read-only blocks SELECT statements in InnoDB · 5397f8c9
      Problem: SELECTs prohibited for a transactional SE in autocommit mode
      if read_only is set.
      
      Fix: allow them.
      5397f8c9
  3. 04 Apr, 2008 1 commit
  4. 02 Apr, 2008 1 commit
    • kent/mysqldev@mysql.com/production.mysql.com's avatar
      mysql.spec.sh: · c41a4e13
        If excluding Federated, make sure dynamic plugin is not built
      Makefile.am:
        Only run cluster test when compiled with cluster
      lib_sql.cc:
        Work around for Visual Studio 2003, that lacks vsnprintf() but has _vsnprintf()
      c41a4e13
  5. 01 Apr, 2008 6 commits
  6. 31 Mar, 2008 9 commits
  7. 30 Mar, 2008 3 commits
  8. 29 Mar, 2008 10 commits
  9. 28 Mar, 2008 4 commits