1. 16 Feb, 2005 18 commits
    • unknown's avatar
      removed NdbMgmHandle from TransporterRegistry constructor · 4d9e1243
      unknown authored
      changed to set NdbMgmHandle from IPPConfig, and use info from configuration, instead of mgm handle from config retrieval
      
      
      ndb/src/ndbapi/Ndb.cpp:
        added som debug printout
      ndb/src/ndbapi/NdbTransaction.cpp:
        added some debug printout
      4d9e1243
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 7663198d
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      7663198d
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 163d9943
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      163d9943
    • unknown's avatar
      ndb - temp: comment out decimal tests t/ndb* · 3b592d32
      unknown authored
      
      mysql-test/r/ndb_index_ordered.result:
        temp: comment out decimal
      mysql-test/t/ndb_index_ordered.test:
        temp: comment out decimal
      3b592d32
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 68b52e0f
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      68b52e0f
    • unknown's avatar
      Fixed BUG#8540: Local variable overrides an alias. · 0f466d04
      unknown authored
      
      mysql-test/r/sp.result:
        New test case for BUG#8540.
      mysql-test/t/sp.test:
        New test case for BUG#8540.
      sql/item.h:
        Use the existing name (if any) for a SP local variable (to get the correct
        field name in a select in the case of an alias).
      0f466d04
    • unknown's avatar
      ndb - post-merge fixes · 1f661756
      unknown authored
      
      ndb/include/ndb_constants.h:
        post-merge fixes
      ndb/include/ndbapi/NdbDictionary.hpp:
        post-merge fixes
      ndb/src/common/util/NdbSqlUtil.cpp:
        post-merge fixes
      ndb/test/src/HugoCalculator.cpp:
        post-merge fixes
      1f661756
    • unknown's avatar
      Merge · 0be9c0ef
      unknown authored
      
      mysql-test/r/ndb_index_ordered.result:
        Auto merged
      mysql-test/t/ndb_index_ordered.test:
        Auto merged
      ndb/src/ndbapi/NdbDictionary.cpp:
        Auto merged
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Auto merged
      0be9c0ef
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · a9518391
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/triggers/post-commit:
        Auto merged
      ndb/test/run-test/Makefile.am:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      a9518391
    • unknown's avatar
      ndb - fix old decimal type mysql vs ndb · dbff1150
      unknown authored
      
      mysql-test/r/ndb_index_ordered.result:
        fix old decimal type mysql vs ndb (re-commit 3)
      mysql-test/t/ndb_index_ordered.test:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/ndbapi/NdbDictionary.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/util/NdbSqlUtil.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/common/util/NdbSqlUtil.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbDictionary.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbRecAttr.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/test/include/NdbSchemaOp.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/tools/restore/consumer.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      sql/ha_ndbcluster.cc:
        fix old decimal type mysql vs ndb (re-commit 3)
      dbff1150
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 93c8c848
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/triggers/post-commit:
        Auto merged
      ndb/test/run-test/Makefile.am:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      93c8c848
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 460003fc
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0-ndb
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/triggers/post-commit:
        Auto merged
      ndb/test/run-test/Makefile.am:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      460003fc
    • unknown's avatar
      Fix ndb_autodiscover · ec075331
      unknown authored
      
      mysql-test/r/ndb_autodiscover.result:
        Added warning printout to result
      ec075331
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0c2a8b45
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
      
      
      0c2a8b45
    • unknown's avatar
    • unknown's avatar
      Fix for bug #8534 (Compile errors in Precision Math code on Windows) · bcbc61b1
      unknown authored
      
      sql/filesort.cc:
        Type of the parameter changed
      sql/my_decimal.cc:
        type of the parameter changed
      sql/my_decimal.h:
        Parameter type changed
      bcbc61b1
    • unknown's avatar
      Fix - to not to call val_xxx in Item_func_interval twice · 04bae3c0
      unknown authored
      
      sql/item_cmpfunc.cc:
        code fixed not to call val_x twice
      04bae3c0
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · caadae10
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports
      
      
      caadae10
  2. 15 Feb, 2005 22 commits
    • unknown's avatar
    • unknown's avatar
      Fixing failing -debug build. · 8ed7805c
      unknown authored
      Since placement operator delete called only if exception was thrown in
      constructor and we don't use exceptions in MySQL, there is no sense to
      do anything in String::delete(void *ptr_arg, MEM_ROOT *mem_root).
      
      
      8ed7805c
    • unknown's avatar
      Safety fix · c60b1846
      unknown authored
      
      sql/item_cmpfunc.cc:
        Safety fix
        Code cleanup
      c60b1846
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 44dcd7e8
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      BitKeeper/triggers/post-commit:
        Auto merged
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      sql/table.cc:
        Auto merged
      44dcd7e8
    • unknown's avatar
      After merge fixes · 6992c010
      unknown authored
      
      mysql-test/r/ctype_ucs.result:
        Fixed warning after merge
      sql/field.cc:
        After merge fix
      sql/item_cmpfunc.cc:
        Style & comment changes
      sql/sql_yacc.yy:
        After merge fix
      6992c010
    • unknown's avatar
      Merge with 4.1 · e2edf024
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/triggers/post-commit:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/union.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/examples/ha_archive.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      vio/viosocket.c:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        simple merge
      sql/field.cc:
        simple merge
      sql/item.h:
        simple merge
      sql/sql_lex.h:
        simple merge
      sql/sql_yacc.yy:
        Merge
        (join_table_list was not comptely merged. Need to run test to know how things works...)
      sql/table.cc:
        Keep code from 5.0, except delted one not needed line
      strings/ctype-ucs2.c:
        Auto merge
      e2edf024
    • unknown's avatar
      Fixed failing test cases 'row.test' when running with --ps-protocol · 67b16d20
      unknown authored
      Simple optimzations done while reviewing code
      
      
      client/mysqltest.c:
        Added options --enable-ps-warnings and --disable-ps-warnings
        (to fix failing test case)
      mysql-test/t/row.test:
        Disable warnings that comes from 'parse' parth
      sql/field.cc:
        Removed calls to is_null() in field functions.
        (Not needed as NULL handling is done on the level above fields)
        Indentation fixes
        Removed calls to alloca() as buffer needed was quite small.
      sql/field.h:
        Indentation changes and comment fixes
      sql/filesort.cc:
        Simple optimization during code review
      sql/item.cc:
        Indentation fixes
        Removed some unnecessary tests (added DBUG_ASSERTS() instead)
      sql/item_buff.cc:
        Indentation fixes
      sql/my_decimal.cc:
        Indentation fixes
        Simple optimization
        Fixed compiler warning
      sql/sql_update.cc:
        Removed unnessessary assignment
      67b16d20
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · fcd7c70e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      fcd7c70e
    • unknown's avatar
      MgmtSrvr.cpp: · 265bc984
      unknown authored
        small bugfix "ERROR Message: failed"
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        small bugfix "ERROR Message: failed"
      265bc984
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 77212351
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      77212351
    • unknown's avatar
      added info to dump state 8004 · c0a3bf06
      unknown authored
         added debug printouts
          changed mem allocation handling in event api
         split single and parallell event operation testing
      
      
      ndb/src/kernel/blocks/suma/Suma.cpp:
        added info to dump state 8004
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        added debug printouts
      ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        changed mem allocation handling in event api
      ndb/test/ndbapi/test_event.cpp:
        split single and parallell event operation testing
      c0a3bf06
    • unknown's avatar
      Merge with 4.0 · e1099fac
      unknown authored
      
      vio/viosocket.c:
        Auto merged
      mysql-test/t/group_by.test:
        Use local file
      sql/sql_parse.cc:
        Merge with 4.0 to get bug fix for reconnect problem
      e1099fac
    • unknown's avatar
      Better bug fix for #5569: "Incorrect "Access Denied" error with SAME login DIFFERENT host" · 358cfd6c
      unknown authored
      This fixes also the reverse lookup bug introduced by the previous patch
      
      
      
      mysql-test/t/group_by.test:
        Remove empty line
      vio/viosocket.c:
        Added function comment
      358cfd6c
    • unknown's avatar
      A fix. "(int) var" type cast doesn't work correctly for uint32 var · 1d633f64
      unknown authored
      on some 64-bit platforms (e.g. IRIX, non-debug build).
      
      
      1d633f64
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · e537c5e1
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0-ndb
      
      
      BitKeeper/triggers/post-commit:
        Auto merged
      ndb/test/run-test/Makefile.am:
        Auto merged
      e537c5e1
    • unknown's avatar
      fixes in connect_client thread. g_eventLogger usage, correct condition on... · a975cbfd
      unknown authored
      fixes in connect_client thread. g_eventLogger usage, correct condition on calling connect on Transporter
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Only check that we have a port number before attempting a transporter connect
      a975cbfd
    • unknown's avatar
      In connect_clients thread: · 0cc89c6b
      unknown authored
      - don't wait an extra 400ms before retrying a transporter connect if the port is dynamic
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Don't wait extra time before retrying
      0cc89c6b
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 2188ae0d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      2188ae0d
    • unknown's avatar
      Don't ask mgm server for port to connect transporter to if we already have... · 9deea702
      unknown authored
      Don't ask mgm server for port to connect transporter to if we already have one; only ask if connect fails.
      
      Reconnect to mgm server in connect_clients thread if m_mgm_handle is disconnected.
      
      
      ndb/include/mgmapi/mgmapi.h:
        Add prototype for ndb_mgm_is_connected
      ndb/src/common/transporter/TransporterRegistry.cpp:
        start_clients_thread:
        - don't get port if we don't have to
        - Reconnect to mgm server if m_mgm_handle is disconnected
      ndb/src/mgmapi/mgmapi.cpp:
        add ndb_mgm_is_connected
      9deea702
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 841a9c38
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      841a9c38
    • unknown's avatar
      Manual merge · f0f2343c
      unknown authored
      f0f2343c
    • unknown's avatar
      Fix signatures of placement operator delete in places where placement · de109e46
      unknown authored
      delete is declared. As we don't use exceptions placement delete is never 
      called and the fix only affects numerous warnings when
      compiling with MS Visual C++.
      For more info see http://www.gotw.ca/gotw/010.htm.
      
      
      sql/item.h:
        Fix the signature of placement operator delete for class Item.
      sql/sql_class.cc:
        Add placement delete operator to suppress a warning under Windows.
      sql/sql_lex.h:
        Fix the signature of placement operator delete for class LEX
      sql/sql_list.h:
        Fix the signature of placement operator delete for class Sql_alloc
      sql/sql_string.h:
        Fix the signature of placement operator delete for class Sql_string
      de109e46