1. 02 Aug, 2007 1 commit
  2. 01 Aug, 2007 2 commits
    • istruewing@chilla.local's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-bug29838 · 209ea105
      istruewing@chilla.local authored
      into  chilla.local:/home/mydev/mysql-5.0-bug29838
      209ea105
    • istruewing@chilla.local's avatar
      Bug#29838 - myisam corruption using concurrent select ... and update · e117a36c
      istruewing@chilla.local authored
      When using concurrent insert with parallel index reads, it could
      happen that reading sessions found keys that pointed to records
      yet to be written to the data file. The result was a report of
      a corrupted table. But it was false alert.
      
      When inserting a record in a table with indexes, the keys are
      inserted into the indexes before the record is written to the data
      file. When the insert happens concurrently to selects, an
      index read can find a key that references the record that is not
      yet written to the data file. To avoid any access to such record,
      the select saves the current end of file position when it starts.
      Since concurrent inserts are always appended at end of the data
      file, the select can easily ignore any concurrently inserted record.
      
      The problem was that the ignore was only done for non-exact key
      searches (partial key or using >, >=, < or <=).
      
      The fix is to ignore concurrently inserted records also for
      exact key searches.
      
      No test case. Concurrent inserts cannot be tested with the test
      suite. Test cases are attached to the bug report.
      e117a36c
  3. 31 Jul, 2007 1 commit
    • svoj@mysql.com/april.(none)'s avatar
      BUG#29152 - INSERT DELAYED does not use concurrent_insert on slave · 2c539642
      svoj@mysql.com/april.(none) authored
      INSERT DELAYED on a replication slave was converted to regular INSERT,
      whereas it should try concurrent INSERT first.
      
      With this patch we try to convert delayed insert to concurrent insert on
      a replication slave. If it is impossible for some reason, we fall back to
      regular insert.
      
      No test case for this fix. I do not see anything indicating this is
      regression - we behave this way since Nov 2000.
      2c539642
  4. 28 Jul, 2007 2 commits
  5. 27 Jul, 2007 2 commits
  6. 26 Jul, 2007 2 commits
  7. 25 Jul, 2007 3 commits
    • gshchepa/uchum@gleb.loc's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · bb22e366
      gshchepa/uchum@gleb.loc authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      bb22e366
    • acurtis/antony@xiphis.org/ltamd64.xiphis.org's avatar
      Bug#25679 · fbcd70a4
        "Federated Denial of Service"
        Federated storage engine used to attempt to open connections within
        the ::create() and ::open() methods which are invoked while LOCK_open
        mutex is being held by mysqld. As a result, no other client sessions
        can open tables while Federated is attempting to open a connection.
        Long DNS lookup times would stall mysqld's operation and a rogue
        connection string which connects to a remote server which simply
        stalls during handshake can stall mysqld for a much longer period of
        time.
        This patch moves the opening of the connection much later, when the
        federated actually issues queries, by which time the LOCK_open mutex is
        no longer being held.
      fbcd70a4
    • gshchepa/uchum@gleb.loc's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · 2c9eb163
      gshchepa/uchum@gleb.loc authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      2c9eb163
  8. 24 Jul, 2007 6 commits
  9. 23 Jul, 2007 4 commits
  10. 22 Jul, 2007 5 commits
  11. 21 Jul, 2007 9 commits
  12. 20 Jul, 2007 3 commits
    • kent@kent-amd64.(none)'s avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d247f29
      kent@kent-amd64.(none) authored
      into  mysql.com:/home/kent/bk/tmp3/mysql-5.0-build
      9d247f29
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #29788. · c3e925ee
      gshchepa/uchum@gleb.loc authored
      After dumping triggers mysqldump copied 
      the value of the OLD_SQL_MODE variable to the SQL_MODE
      variable. If the --compact option of the mysqldump was
      not set the OLD_SQL_MODE variable had the value
      of the uninitialized SQL_MODE variable. So
      usually the NO_AUTO_VALUE_ON_ZERO option of the
      SQL_MODE variable was discarded.
      
      This fix is for non-"--compact" mode of the mysqldump,
      because mysqldump --compact never set SQL_MODE to the
      value of NO_AUTO_VALUE_ON_ZERO.
      
      The dump_triggers_for_table function has been modified
      to restore previous value of the SQL_MODE variable after
      dumping triggers using the SAVE_SQL_MODE temporary
      variable.
      c3e925ee
    • istruewing@chilla.local's avatar
      Merge chilla.local:/home/mydev/mysql-5.0-amain · 0a5d8f43
      istruewing@chilla.local authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      0a5d8f43