1. 27 Aug, 2007 3 commits
    • tsmith@ramayana.hindu.god's avatar
      Bug #30412 and Bug #30413 · 7dbef328
      tsmith@ramayana.hindu.god authored
      Update some tests in the "parts" suite, so they're skipped if the
      requisite plugins are not present in the mysqld.
      7dbef328
    • tsmith@ramayana.hindu.god's avatar
      Fixes for the following bugs: · 220cd12f
      tsmith@ramayana.hindu.god authored
      Bug #30316: Some "parts" tests fail because the server uses "--secure-file-priv"
      Bug #30341: Test suite "parts" needs to be adapted to the new rules disallowing many functio
      Bug #30408: Suite "parts" needs bug numbers updated
      Bug #30411: Suite "parts" needs bug numbers updated: ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF
      Bug #30576: part_supported_sql_func_innodb.test tries to LOAD DATA outside of var dir
      Bug #30581: partition_value tests use disallowed CAST() function
      
      Included are some general fixes to allow the "parts" test suite to be run
      successfully.  This includes disabling a few tests or parts of tests,
      cleaning up the test cases and their results, etc.  Basically, these tests
      have not been run for some time, and had suffered some bit rot.
      
      The bugs were fixed as a single changeset, because in some ways they depend
      on each other.  I couldn't be sure I'd updated all the error codes (for
      bugs 30408 and 30411) without also adapting to the new allowed functions
      rules (bug 30341), and vice versa.
      220cd12f
    • tsmith@ramayana.hindu.god's avatar
      Bug #30648: Partition handler may not initialize variable used w/ autoincrement · 549ed886
      tsmith@ramayana.hindu.god authored
      A local variable may be used uninitialized in 
      ha_partition::get_auto_increment().  Initialize it properly.
      549ed886
  2. 25 Aug, 2007 2 commits
    • tsmith@ramayana.hindu.god's avatar
      Apply InnoDB snapshot innodb-5.1-ss1751. · f01f1993
      tsmith@ramayana.hindu.god authored
      Bug #16979: AUTO_INC lock in InnoDB works a table level lock
        Add a table level counter that tracks the number of AUTOINC locks that are
        pending and/or granted on a table. We peek at this value to determine whether
        a transaction doing a simple INSERT in innodb_autoinc_lock_mode = 1, needs to
        acquire the AUTOINC lock or not. This change is related to Bug# 16979.
      Bug #27950: Duplicate entry error in auto-inc after mysqld restart
        We check whether the AUTOINC sub-system has been initialized (first) by
        holding the AUTOINC mutex and if initialization is required then we
        initialize using our normal procedure.
      f01f1993
    • tsmith@ramayana.hindu.god's avatar
      Apply InnoDB snapshot innodb-5.1-ss1726. · 159d5b71
      tsmith@ramayana.hindu.god authored
      Bug #16979: AUTO_INC lock in InnoDB works a table level lock
        - this is a major change in InnoDB auto-inc handling.
      Bug #27950: Duplicate entry error in auto-inc after mysqld restart
        - Init AUTOINC from delete_row().
      Bug #28781: InnoDB increments auto-increment value incorrectly with ON DUPLICATE KEY UPDATE
        - Use value specified by MySQL, in update_row().
      159d5b71
  3. 24 Aug, 2007 2 commits
  4. 23 Aug, 2007 9 commits
  5. 22 Aug, 2007 4 commits
  6. 21 Aug, 2007 1 commit
  7. 20 Aug, 2007 1 commit
  8. 16 Aug, 2007 4 commits
  9. 14 Aug, 2007 3 commits
  10. 13 Aug, 2007 2 commits
  11. 11 Aug, 2007 1 commit
  12. 10 Aug, 2007 1 commit
  13. 09 Aug, 2007 5 commits
  14. 08 Aug, 2007 2 commits
    • jani@a88-113-38-195.elisa-laajakaista.fi's avatar
      BUG#30274 (Debug server crashes because mutex isn't initialized): · 283e9529
      Completion patch, since it is possible that Log_event::write_header()
      is called with no current thread.
      
      When starting the server, there is no thread available, but
      MYSQL_BIN_LOG::open() is called to initialize the binary log. The
      function writes a format description log event to the binary log,
      which means that Log_event::write_header() can be called with no
      current thread object available.
      283e9529
    • mats@a88-113-38-195.elisa-laajakaista.fi's avatar
      BUG#30274 (Debug server crashes because mutex isn't initialized): · d52d076f
      Completion patch, since it is possible that Log_event::write_header()
      is called with no current thread.
      
      When starting the server, there is no thread available, but
      MYSQL_BIN_LOG::open() is called to initialize the binary log. The
      function writes a format description log event to the binary log,
      which means that Log_event::write_header() can be called with no
      current thread object available.
      d52d076f