1. 01 Nov, 2004 2 commits
    • unknown's avatar
      wl1504 - scan using distribution key and EQ_BOUND · 9b556054
      unknown authored
      
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Add distribution key to ScanTab to enable scanning of specific fragment
      ndb/include/ndbapi/NdbOperation.hpp:
        New methods for controlling distribution/partitioning
      ndb/include/ndbapi/NdbScanOperation.hpp:
        New methods for controlling distribution/partitioning
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Don't mask away kvalue from hash while computing fragId
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Add distribution key to ScanTab to enable scanning of specific fragment
      ndb/src/ndbapi/NdbBlob.cpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbConnection.cpp:
        removed explicit cast
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperationExec.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
        Enable partition scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
        Enable partition scan
      9b556054
    • unknown's avatar
      removed copy paste index code · 82b968ef
      unknown authored
      improved handling of bits in last word
      
      
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Removed copy paste index code
      ndb/include/ndbapi/NdbOperation.hpp:
        removed bits in last word
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        fix debug print
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Removed copy paste index code
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        better handling of bits in last word
      82b968ef
  2. 31 Oct, 2004 2 commits
    • unknown's avatar
      wl1540, 1802 · 397a2a17
      unknown authored
      Index scan/lookup (only scan specific fragment)
      
      
      ndb/include/kernel/signaldata/TcIndx.hpp:
        Removed TxIndxReq
      ndb/include/ndbapi/NdbDictionary.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/include/ndbapi/NdbOperation.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/include/util/md5_hash.hpp:
        Added possibility to get all 4 32-bit hash values
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        Removed TxIndxReq
      ndb/src/common/debugger/signaldata/TcIndx.cpp:
        Removed TxIndxReq
      ndb/src/common/util/md5_hash.cpp:
        Added possibility to get all 4 32-bit hash values
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        removed fragbits from hash value
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Removed TxIndxReq
        Removed distribution group
        Added possibility for API to set fragment hash value
        Split hashvalue into 2 32bit words
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Removed TxIndxReq
        Removed distribution group
        Added possibility for API to set fragment hash value
        Split hashvalue into 2 32bit words
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        removed unused frag offset (k+fragbits)
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Removed TxIndxReq
      ndb/src/ndbapi/NdbDictionary.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Removed TxIndxReq
      ndb/src/ndbapi/NdbOperation.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/test/src/HugoOperations.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/test/src/NdbSchemaOp.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      397a2a17
    • unknown's avatar
      Moved "hash" bit from k+fragbit to 0 · bc26963a
      unknown authored
      bc26963a
  3. 26 Oct, 2004 19 commits
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · eeb21a45
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      configure.in:
        Auto merged
      eeb21a45
    • unknown's avatar
      - Bumped up version number to 4.1.8 in configure.in · a8799231
      unknown authored
       - tagged ChangeSet 1.2029 as "mysql-4.1.7"
      
      
      configure.in:
         - Bumped up version number to 4.1.8
      a8799231
    • unknown's avatar
      Added missing initialier · 78ad0938
      unknown authored
      78ad0938
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e160646e
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      e160646e
    • unknown's avatar
      A lot of fixes for prepared statements (PS): · 853c2c78
      unknown authored
      New mysqltest that can run mysqltest with PS
      Added support for ZEROFILL in PS
      Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
      Updated test cases to support --ps-protocol
      (Some tests are still run using old protocol)
      Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
      Fixed crash in PS when using sub queries
      Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
      Fix for PS and SELECT ... PROCEDURE
      Reset all warnings when executing a new PS query
      group_concat(...ORDER BY) didn't work with PS
      Fixed problem with test suite when not using innodb
      
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      client/Makefile.am:
        mysqltest now uses regex
      client/mysqltest.c:
        Added support for testing of prepared statements (with --ps-protocol)
        Main code was done by Kent, I did mainly some cleanups and minor bug fixes
        New test commands:
        --disable_ps_protocol
        --enable_ps_protocol
        NOTE: new code still has some things that needs to be cleaned up.
        For example run_query_stmt_handle_error() should be made more general so that same code can be used also by 'normal' queries
      configure.in:
        mysqltest now uses regex
      libmysql/libmysql.c:
        Reset warning_count after prepare (safety). In the future we should also provide warnings on prepare
        integer -> string conversion now handles ZEROFILL
        double -> string conversion is now closer to the one in the server
        Fixed crash when one called mysql_stmt_store_result() without preceding mysql_stmt_bind_result()
      libmysqld/examples/Makefile.am:
        mysqltest now uses regex
      mysql-test/include/have_query_cache.inc:
        Fixes for --ps-protocol
      mysql-test/include/ps_conv.inc:
        Fixes for --ps-protocol
      mysql-test/mysql-test-run.sh:
        Added options --ps-protocol
      mysql-test/r/ctype_utf8.result:
        Fixed test case
      mysql-test/r/fulltext_cache.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_left_join.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_multi.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/innodb-lock.result:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/create.test:
        Fixes for --ps-protocol
      mysql-test/t/ctype_utf8.test:
        Remove warnings
      mysql-test/t/date_formats.test:
        Fixes for --ps-protocol
      mysql-test/t/fulltext_cache.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_left_join.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_multi.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/func_group.test:
        Fixes for --ps-protocol
      mysql-test/t/func_sapdb.test:
        Fixes for --ps-protocol
      mysql-test/t/innodb-lock.test:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/insert.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_select.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_update.test:
        Fixes for --ps-protocol
      mysql-test/t/metadata.test:
        Fixes for --ps-protocol
      mysql-test/t/multi_statement.test:
        Fixes for --ps-protocol
      mysql-test/t/ps_1general.test:
        Fixes for --ps-protocol
      mysql-test/t/rollback.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_redirect.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_user_variables.test:
        Fixes for --ps-protocol
      mysql-test/t/select.test:
        Fixes for --ps-protocol
      mysql-test/t/status.test:
        Fixes for --ps-protocol
      mysql-test/t/type_blob.test:
        Fixes for --ps-protocol
      mysql-test/t/type_float.test:
        Fixes for --ps-protocol
      mysql-test/t/union.test:
        Fixes for --ps-protocol
      mysql-test/t/warnings.test:
        Fixes for --ps-protocol
      mysys/my_alloc.c:
        More debugging information
      sql-common/client.c:
        More debugging information
      sql-common/my_time.c:
        TIME didn't support full range with PS
      sql/field.cc:
        TIME didn't support full range with PS
      sql/item_cmpfunc.cc:
        IN(constants,...) didn't work with PS
      sql/item_subselect.cc:
        Some subqueries didn't work with PS
      sql/item_sum.cc:
        group_concat(...ORDER BY) didn't work with PS
        Removed variable warning_available as 'warning' can be used for this.
      sql/item_sum.h:
        Removed not needed variable
      sql/protocol.cc:
        TIME didn't support full range with PS
      sql/set_var.cc:
        Style fix
      sql/sql_base.cc:
        setup_wild() didn't properly restore old arena, which caused core dump in PS when using
        SELECT * FROM t1 NATURAL JOIN t2...
      sql/sql_class.cc:
        Style fix
      sql/sql_error.cc:
        Style fix
      sql/sql_insert.cc:
        Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      sql/sql_lex.h:
        Fix for PS and procedures
      sql/sql_parse.cc:
        More debugging information
        Make a copy of 'db' in PS as this may change
        Fixed wrong permissions check in PS and multi-table updates
      sql/sql_prepare.cc:
        Fix for PS and SELECT ... PROCEDURE
        Reset all warnings when executing a new query
      sql/sql_union.cc:
        Fixes for PS and SELECT ... PROCEDURE
        Reset 'with_wild' as 'wild' is resolved on prepare
      853c2c78
    • unknown's avatar
      8ee12417
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9ccbc5b7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      9ccbc5b7
    • unknown's avatar
      removed compiler warning · 655ca160
      unknown authored
      655ca160
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · aace18af
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      
      aace18af
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e68b087
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      3e68b087
    • unknown's avatar
      compilation fix for AIX · b5039930
      unknown authored
      b5039930
    • unknown's avatar
      Typo fix · 28c59023
      unknown authored
      28c59023
    • unknown's avatar
      Bug 6206: ENUMs are not case sensitive even if declared BINARY · e948154c
      unknown authored
      The same problem with SET columns:
      
      find_set() now executes find_type2() to do charset aware search,
      instead of always using system_charset_info comparison.
      
      
      e948154c
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2e7b3801
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      
      2e7b3801
    • unknown's avatar
      1ff580fe
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6479fd3d
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      6479fd3d
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b15ae62b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      b15ae62b
    • unknown's avatar
    • unknown's avatar
      Reuse more code: two equal pieces for ENUM and SET where moved · 52da7eb8
      unknown authored
      into a function.
      
      
      52da7eb8
  4. 25 Oct, 2004 17 commits