1. 07 Jun, 2006 1 commit
  2. 31 May, 2006 3 commits
  3. 29 May, 2006 1 commit
    • ingo@mysql.com's avatar
      Bug#19815 - CREATE/RENAME/DROP DATABASE can deadlock on a global read lock · d00441e3
      ingo@mysql.com authored
      The order of acquiring LOCK_mysql_create_db
      and wait_if_global_read_lock() was wrong. It could happen
      that a thread held LOCK_mysql_create_db while waiting for
      the global read lock to be released. The thread with the
      global read lock could try to administrate a database too.
      It would first try to lock LOCK_mysql_create_db and hang...
      
      The check if the current thread has the global read lock
      is done in wait_if_global_read_lock(), which could not be
      reached because of the hang in LOCK_mysql_create_db.
      
      Now I exchanged the order of acquiring LOCK_mysql_create_db
      and wait_if_global_read_lock(). This makes 
      wait_if_global_read_lock() fail with an error message for
      the thread with the global read lock. No deadlock happens.
      d00441e3
  4. 18 May, 2006 1 commit
  5. 10 May, 2006 1 commit
    • svoj@april.(none)'s avatar
      BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row on · ae67994f
      svoj@april.(none) authored
                  SELECT WHERE a= AND b=
      
      Selecting data from memory table with varchar column and hash index over it
      returns only first row matched.
      
      Problem was that key length calculation for varchar columns didn't include
      number of bytes to store length.
      
      Fixed key length for varchar fields to include number of bytes to store length.
      ae67994f
  6. 09 May, 2006 8 commits
  7. 08 May, 2006 5 commits
  8. 07 May, 2006 10 commits
  9. 06 May, 2006 10 commits