1. 23 Aug, 2003 2 commits
    • guilhem@mysql.com's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · c3a18a3d
      guilhem@mysql.com authored
      into mysql.com:/home/mysql_src/mysql-4.0
      c3a18a3d
    • guilhem@mysql.com's avatar
      * Fix for a potential bug: · 10811aba
      guilhem@mysql.com authored
      when the SQL thread stops, set rli->inside_transaction to 0. This is needed if the user
      later restarts replication from a completely different place where there are only autocommit
      statements.
      * Detect the case where the master died while flushing the binlog cache to the binlog
      and stop with error. Cannot add a testcase for this in 4.0 (I tested it manually)
      as the slave always runs with --skip-innodb.
      10811aba
  2. 22 Aug, 2003 6 commits
    • Sinisa@sinisa.nasamreza.org's avatar
      After merge fixes · ced195f8
      Sinisa@sinisa.nasamreza.org authored
      ced195f8
    • Sinisa@sinisa.nasamreza.org's avatar
      grant.result, grant.test, sql_acl.cc: · 4d2902a2
      Sinisa@sinisa.nasamreza.org authored
        Fix for a bug #878
      4d2902a2
    • guilhem@mysql.com's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 9676fdcb
      guilhem@mysql.com authored
      into mysql.com:/home/mysql_src/mysql-4.0
      9676fdcb
    • guilhem@mysql.com's avatar
      2 minor edits, plus · 759a3c1e
      guilhem@mysql.com authored
      fix for BUG#1113 "INSERT into non-trans table SELECT ; ROLLBACK" does not send warning"
      and
      fix for BUG#873 "In transaction, INSERT to non-trans table is written too early to binlog".
      Now we don't always write the non-trans update immediately to the binlog;
      if there is something in the binlog cache we write it to the binlog cache
      (because the non-trans update could depend on a trans table which was modified
      earlier in the transaction); then in case of ROLLBACK, we write the binlog
      cache to the binlog, wrapped with BEGIN/ROLLBACK.
      This guarantees that the slave does the same updates.
      For ROLLBACK TO SAVEPOINT: when we execute a SAVEPOINT command we write it
      to the binlog cache. At ROLLBACK TO SAVEPOINT, if some non-trans table was updated,
      we write ROLLBACK TO SAVEPOINT to the binlog cache; when the transaction
      terminates (COMMIT/ROLLBACK), the binlog cache will be flushed to the binlog
      (because of the non-trans update) so we'll have SAVEPOINT and ROLLBACK TO
      SAVEPOINT in the binlog.
      
      Apart from this rare case of updates of mixed table types in transaction, the
      usual way is still clear the binlog cache at ROLLBACK, or chop it at
      ROLLBACK TO SAVEPOINT (meaning the SAVEPOINT command is also chopped, which
      is fine).
      Note that BUG#873 encompasses subbugs 1) and 2) of BUG#333 "3 binlogging bugs when doing INSERT with mixed InnoDB/MyISAM".
      759a3c1e
    • monty@narttu.mysql.fi's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 5192a581
      monty@narttu.mysql.fi authored
      into narttu.mysql.fi:/my/mysql-4.0
      5192a581
    • monty@narttu.mysql.fi's avatar
      Move test that uses many tables (in query_cache.test) to separate test so that... · efa85aad
      monty@narttu.mysql.fi authored
      Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
      efa85aad
  3. 21 Aug, 2003 10 commits
  4. 20 Aug, 2003 12 commits
  5. 19 Aug, 2003 10 commits