1. 21 Jun, 2006 1 commit
    • unknown's avatar
      Bug#20086: Can't get data from key partitioned tables with VARCHAR key · 4e138572
      unknown authored
      The problem appeared because the same values produced different hash
      during INSERT and SELECT for VARCHAR data type.
      Fix:
      VARCHAR required special treatment to avoid hashing of length bytes
      (leftmost one or two bytes) as well as trailing bytes beyond real length,
      which could contain garbage. Fix is done by introducing hash() - new method
      in the Field class.
      
      
      mysql-test/r/partition_innodb.result:
        Adding test case
      mysql-test/r/partition_pruning.result:
        Fixing test results (results differ due to changes in hash function)
      mysql-test/t/partition_innodb.test:
        Adding test case
      sql/field.cc:
        Adding generic hash() method, and a special
        method for VARCHAR.
      sql/field.h:
        Adding prototypes for new methods
      sql/key.cc:
        Mark columns for write before executinf of set_key_image().
        Thanks for Mikael for suggesting this fix.
      sql/sql_partition.cc:
        Removing old hash code.
        Using new methid field->hash() instead.
      4e138572
  2. 16 Jun, 2006 5 commits
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 9addb8fd
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/main
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      9addb8fd
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/merge-queue · 70cf8240
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      70cf8240
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/merge-queue · ee1969d2
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/main
      
      
      storage/ndb/include/mgmapi/mgmapi.h:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.hpp:
        Auto merged
      ee1969d2
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 61f4440c
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/main
      
      
      mysql-test/r/ndb_condition_pushdown.result:
        Auto merged
      mysql-test/r/type_newdecimal.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/ndb_condition_pushdown.test:
        Auto merged
      mysql-test/t/type_newdecimal.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/valgrind.supp:
        Manual merge
      61f4440c
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0 · 81284709
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1
      
      
      mysql-test/t/ndb_lock.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Auto merged
      mysql-test/r/ndb_lock.result:
        Merge (using local)
      81284709
  3. 15 Jun, 2006 19 commits
  4. 14 Jun, 2006 15 commits