1. 10 May, 2006 1 commit
    • unknown's avatar
      BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row on · 2eeab0b0
      unknown 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.
      
      
      heap/hp_create.c:
        Fixed key length for varchar fields to include number of bytes to store length.
      mysql-test/r/heap.result:
        Testcase for BUG#18233.
      mysql-test/t/heap.test:
        Testcase for BUG#18233.
      2eeab0b0
  2. 06 May, 2006 3 commits
    • unknown's avatar
      Reapply fix for bug#16372 (Server crashes when test 'conc_sys' is running) · 8052fafd
      unknown authored
      after merge.
      
      Concurrent read and update of privilege structures (like simultaneous
      run of SHOW GRANTS and ADD USER) could result in server crash.
      
      Ensure that proper locking of ACL structures is done.
      
      No test case is provided because this bug can't be reproduced
      deterministically.
      
      
      sql/sql_acl.cc:
        Ensure that access to ACL data is protected by acl_cache->lock mutex.
        Use system_charset_info for host names consistently.
        Remove check_acl_user().  Use find_acl_user() instead.
      sql/sql_acl.h:
        Remove check_acl_user() declaration.
      sql/sql_parse.cc:
        Use is_acl_user() instead of check_acl_user().
      8052fafd
    • unknown's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge · 77b7a71d
      unknown authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-merge
      
      
      mysql-test/r/func_misc.result:
        Manual merge of the fix for bug#16501.
      mysql-test/t/func_misc.test:
        Manual merge of the fix for bug#16501.
      sql/item_func.cc:
        Manual merge of the fix for bug#16501.
      sql/sql_acl.cc:
        For the fix of bug#16372, use local version, since the fix for 5.0 is
        different, and will go in separate ChangeSet.
      77b7a71d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5e5f38ac
      unknown authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-real
      
      
      5e5f38ac
  3. 05 May, 2006 6 commits
  4. 04 May, 2006 30 commits