1. 23 Nov, 2007 2 commits
  2. 22 Nov, 2007 10 commits
  3. 21 Nov, 2007 15 commits
  4. 20 Nov, 2007 13 commits
    • davi@endora.local's avatar
      Merge endora.local:/Users/davi/mysql/bugs/17244-5.1 · 3d31d4bc
      davi@endora.local authored
      into  endora.local:/Users/davi/mysql/mysql-5.1-runtime
      3d31d4bc
    • tsmith@ramayana.hindu.god's avatar
    • davi@endora.local's avatar
    • tsmith@ramayana.hindu.god's avatar
      Applied InnoDB snapshot innodb-5.1-ss2093 · eff821ae
      tsmith@ramayana.hindu.god authored
      Fixes the following bug:
      
      - Bug #32125: Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase
      
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
      eff821ae
    • tsmith@ramayana.hindu.god's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build · f4d05a3c
      tsmith@ramayana.hindu.god authored
      into  ramayana.hindu.god:/home/tsmith/m/inno/nov19/51
      f4d05a3c
    • tsmith@ramayana.hindu.god's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/inno/nov19/50 · ddffcae4
      tsmith@ramayana.hindu.god authored
      into  ramayana.hindu.god:/home/tsmith/m/inno/nov19/51
      ddffcae4
    • tsmith@ramayana.hindu.god's avatar
      Applied InnoDB snapshot innodb-5.0-ss2095 · 2b985d07
      tsmith@ramayana.hindu.god authored
      Fixes the following bugs:
      
      - Bug #29560: InnoDB >= 5.0.30 hangs on adaptive hash rw-lock 'waiting for an X-lock'
      
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
      
      - Bug #32125: Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase
      
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
      2b985d07
    • davi@endora.local's avatar
      Merge endora.local:/Users/davi/mysql/bugs/31397-5.1 · 9c111e37
      davi@endora.local authored
      into  endora.local:/Users/davi/mysql/mysql-5.1-runtime
      9c111e37
    • davi@endora.local's avatar
      Bug#31397 Inconsistent drop table behavior of handler tables. · 94e6e4ff
      davi@endora.local authored
      The problem is that DROP TABLE and other DDL statements failed to
      automatically close handlers associated with tables that were marked
      for reopen (FLUSH TABLES).
      
      The current implementation fails to properly discard handlers of
      dropped tables (that were marked for reopen) because it searches
      on the open handler tables list and using the current alias of the
      table being dropped. The problem is that it must not use the open
      handler tables list to search because the table might have been
      closed (marked for reopen) by a flush tables command and also it
      must not use the current table alias at all since multiple different
      aliases may be associated with a single table. This is specially
      visible when a user has two open handlers (using alias) of a same
      table and a flush tables command is issued before the table is
      dropped (see test case). Scanning the handler table list is also
      useless for dropping handlers associated with temporary tables,
      because temporary tables are not kept in the THD::handler_tables
      list.
      
      The solution is to simple scan the handlers hash table searching
      for, and deleting all handlers with matching table names if the
      reopen flag is not passed to the flush function, indicating that
      the handlers should be deleted. All matching handlers are deleted
      even if the associated the table is not open.
      94e6e4ff
    • mleich@five.local.lan's avatar
      Merge five.local.lan:/work/merge/mysql-5.1-build-31610 · f7fdbd59
      mleich@five.local.lan authored
      into  five.local.lan:/work/trees/mysql-5.1-build-src-clean
      f7fdbd59
    • kent@kent-amd64.(none)'s avatar
      Merge mysql.com:/home/kent/bk/tmpmerge/mysql-5.0-build · a1c5d290
      kent@kent-amd64.(none) authored
      into  mysql.com:/home/kent/bk/tmpmerge/mysql-5.1-build
      a1c5d290
    • kent@kent-amd64.(none)'s avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · cb6885c1
      kent@kent-amd64.(none) authored
      into  mysql.com:/home/kent/bk/tmpmerge/mysql-5.0-build
      cb6885c1
    • mleich@five.local.lan's avatar
      Fixes for the bugs · 12e5d5b6
      mleich@five.local.lan authored
             Bug#31610 Remove outdated and redundant tests:
                       partition_02myisam partition_03ndb
             Bug#32405 testsuite parts: partition_char_myisam wrong content
      and cleanup of testsuite
         - remove/correct wrong comments
         - remove workarounds for fixed bugs
         - replace error numbers with error names
         - exclude subtests from execution which fail now because of
           new limitations for partitioning functions
         - remove code for the no more intended dual use
           fast test in regression tests/slow test in testsuite
         - analyze and fix problems with partition_char_innodb
         - fix problems caused by last change of error numbers
         - Introduce error name to error number mapping which makes
           maintenance after next error renumbering easier
      12e5d5b6