1. 07 Jan, 2005 1 commit
    • unknown's avatar
      Along the road to a working Impl3 of WL2278. · 5de74593
      unknown authored
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Only try to get dynamic port number for TCP transporters.
      ndb/src/mgmapi/mgmapi.cpp:
        DBUG_RETURN in ndb_mgm_set_connection_int_parameter
        
        Unique negative error codes for ndb_mgm_get_connection_int_parameter
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        add MgmtSrvr::set_connect_string(const char *str)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Add:
        - prototype for set_connect_string
        - get_config_retriever
      ndb/src/mgmsrv/main.cpp:
        Fake a connect string and connect back to ourselves.
        
        This enables us to use mgmapi routines to get configuration information.
        i.e. ndb_mgm_get_connection_int_parameter for getting dynamic port numbers to connect to.
      5de74593
  2. 04 Jan, 2005 2 commits
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · 85313326
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl3
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Auto merged
      85313326
    • unknown's avatar
      Impl 3 of WL2278 - Dynamic port allocation of cluster nodes · d362d094
      unknown authored
      - Change configuration handling so that no default ports are given, but instead 0 is set (port to be dynamic)
      - TransporterRegistry::start_service now only tries to connect when fetched port number > 0
      
      
      ndb/include/util/SocketServer.hpp:
        Update prototype of setup() to take a pointer to the port (so we can return the port we bound to)
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Only try to connect_client when we have a valid port number (i.e. > 0)
      ndb/src/common/util/SocketServer.cpp:
        ::setup(): Return the port we bound to
      ndb/src/cw/cpcd/main.cpp:
        Use new SocketServer::setup() api - returns port we bound to.
      ndb/src/mgmsrv/main.cpp:
        Conform to new SocketServer::setup() API (port is a pointer, returning the port we bound to)
      ndb/src/mgmsrv/ConfigInfo.cpp:
        fixPortNumber:
        Don't create port numbers when none are specified, just set 0 (dynamic)
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        use DBUG_RETURN correctly in setConnectionDbParameter
      d362d094
  3. 03 Jan, 2005 37 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 6926e703
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      6926e703
    • unknown's avatar
      3410ce09
    • unknown's avatar
      Merge · fcb2a0ab
      unknown authored
      
      ndb/include/ndb_types.h:
        SCCS merged
      fcb2a0ab
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 114b3154
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      114b3154
    • unknown's avatar
      merge error · 3cd62d82
      unknown authored
      3cd62d82
    • unknown's avatar
      merge 5.0->5.0-ndb · 5c93c3e1
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/test/tools/Makefile.am:
        Auto merged
      5c93c3e1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b89482ab
      unknown authored
      into intelp4d.mysql.com:/users/vtkachenko/bk/mysql-5.0
      
      
      b89482ab
    • unknown's avatar
      sync0sync.h, sync0rw.h: · d474247d
      unknown authored
        Fix Bug#7624
      
      
      innobase/include/sync0rw.h:
        Fix Bug#7624
      innobase/include/sync0sync.h:
        Fix Bug#7624
      d474247d
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 613201b8
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      613201b8
    • unknown's avatar
      fixed reporting error · 386f1f35
      unknown authored
      386f1f35
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 57deb768
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      57deb768
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · a14a2258
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/include/ndb_global.h.in:
        Auto merged
      ndb/include/ndb_types.h:
        Auto merged
      a14a2258
    • unknown's avatar
      updated ndbapi examples · cca9cd0b
      unknown authored
      cca9cd0b
    • unknown's avatar
      bug#7626 - post review version · 9ecd9ac6
      unknown authored
      
      ndb/include/ndb_global.h.in:
        move types into ndb_global.h.in
        Check sizeof of Uint8, Uint32 & Uint64
      ndb/include/ndb_types.h:
        move types into ndb_global.h.in
      9ecd9ac6
    • unknown's avatar
      Better handling of ensuring that setup_tables() are not called twice · 2bcaed34
      unknown authored
      This fixed a bug in prepared statements when used with outher joins
      Fixed a bug in SUM(DISTINCT) when used with prepared statements.
      Some safety fixes in test scripts to ensure that previous test failures shouldn't affect other tests
      
      
      mysql-test/r/mysqldump.result:
        Safety fix if a previous test would fail
      mysql-test/r/show_check.result:
        Safety fix if a previous test would fail
      mysql-test/r/sp.result:
        Fix for --ps-protocol
      mysql-test/r/synchronization.result:
        Safety fix if a previous test would fail
      mysql-test/r/system_mysql_db.result:
        Safety fix if a previous test would fail
      mysql-test/t/mysqldump.test:
        Safety fix if a previous test would fail
      mysql-test/t/select.test:
        Safety fix if a previous test would fail
      mysql-test/t/show_check.test:
        Safety fix if a previous test would fail
      mysql-test/t/sp.test:
        fix for --ps-protocol
      mysql-test/t/strict.test:
        Fix for --ps-protocol
      mysql-test/t/synchronization.test:
        Safety fix if a previous test would fail
      mysql-test/t/system_mysql_db.test:
        Safety fix if a previous test would fail
      sql/item_sum.cc:
        Fix bug in SUM(DISTINCT...) when using with prepared statements
      sql/item_sum.h:
        Fix bug in SUM(DISTINCT...) when using with prepared statements
      sql/mysql_priv.h:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_base.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_insert.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_parse.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_prepare.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_select.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_union.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/sql_update.cc:
        Better handling of ensuring that setup_tables() are not called twice
      sql/table.h:
        Better handling of ensuring that setup_tables() are not called twice
      2bcaed34
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · e23ba8ea
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/include/ndb_types.h:
        Auto merged
      e23ba8ea
    • unknown's avatar
      bug#7626 - ndb UintPtr handling · e197fa45
      unknown authored
      
      ndb/include/ndb_types.h:
        redo UintPtr handling
      e197fa45
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 423241da
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      423241da
    • unknown's avatar
      bug#7626 - ndb - non portable uint_ptr · 3c1b5f54
      unknown authored
      
      ndb/include/ndb_types.h:
        redo UintPtr handling using SIZEOF_CHARP
      ndb/test/tools/Makefile.am:
        remove unused defines
      3c1b5f54
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 5f0f39d0
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      5f0f39d0
    • unknown's avatar
      updated ndbapi examples · f3c62560
      unknown authored
          removed references to example2 (asynch api)
      
      
      ndb/examples/Makefile:
        updated ndbapi examples
      ndb/examples/ndbapi_example1/ndbapi_example1.cpp:
        updated ndbapi examples
      ndb/examples/ndbapi_example2/Makefile:
        updated ndbapi examples
      ndb/examples/ndbapi_example2/ndbapi_example2.cpp:
        updated ndbapi examples
      ndb/examples/ndbapi_example3/Makefile:
        updated ndbapi examples
      ndb/examples/ndbapi_example3/ndbapi_example3.cpp:
        updated ndbapi examples
      ndb/examples/ndbapi_example4/Makefile:
        updated ndbapi examples
      ndb/examples/ndbapi_example4/ndbapi_example4.cpp:
        updated ndbapi examples
      ndb/examples/ndbapi_example5/Makefile:
        updated ndbapi examples
      ndb/examples/ndbapi_example5/ndbapi_example5.cpp:
        updated ndbapi examples
      ndb/include/ndbapi/Ndb.hpp:
        removed references to example2 (asynch api)
      ndb/include/ndbapi/NdbRecAttr.hpp:
        removed references to example2 (asynch api)
      f3c62560
    • unknown's avatar
      Merge · 6e8bc54f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      6e8bc54f
    • unknown's avatar
    • unknown's avatar
      Merge · 3f005af8
      unknown authored
      3f005af8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · cf3e08c5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      cf3e08c5
    • unknown's avatar
      Makefile: · ab85635e
      unknown authored
        fixed ndbapi_example     
      ndbapi_example1.cpp:
        fixed ndbapi_example
      
      
      ndb/examples/ndbapi_example1/ndbapi_example1.cpp:
        fixed ndbapi_example
      ndb/examples/ndbapi_example1/Makefile:
        fixed ndbapi_example
      ab85635e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 79e05c83
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      79e05c83
    • unknown's avatar
      Remove clear_insert_values() because it was far from trivial to handle the cleanup in all cases · e055be66
      unknown authored
      (Old code failed for INSERT ... ON DUPLICATE with prepared statements) 
      Instead, always reset table->insert_values on open.
      
      
      mysql-test/t/trigger.test:
        Fix test for --ps-protocol
      sql/sql_base.cc:
        Clear insert_values on open_table
      sql/sql_insert.cc:
        Remove clear_insert_values()
      sql/sql_parse.cc:
        Remove clear_insert_values()
      sql/sql_prepare.cc:
        Remove clear_insert_values()
      sql/table.cc:
        Remove clear_insert_values()
      sql/table.h:
        Remove clear_insert_values()
      e055be66
    • unknown's avatar
      ndb Updated example · fa7b260a
      unknown authored
      
      ndb/examples/ndbapi_scan_example/ndbapi_scan.cpp:
        Updated example
      ndb/include/ndbapi/NdbScanFilter.hpp:
        Fix default value
      fa7b260a
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2c6636b5
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      2c6636b5
    • unknown's avatar
      Fixed failed merge · 703ceb1f
      unknown authored
      703ceb1f
    • unknown's avatar
      updated ndbapi examples · 52722f1b
      unknown authored
      52722f1b
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 865d0329
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      configure.in:
        Auto merged
      ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      865d0329
    • unknown's avatar
      configure.in: · 477d1cc7
      unknown authored
        updated ndb version number
      
      
      configure.in:
        updated ndb version number
      477d1cc7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7b04c06e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      7b04c06e
    • unknown's avatar
      Merge from fix for Bug #7480 Mysqld crash in ha_ndbcluster using Query Browser · 79d9caff
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_ndbcluster.h:
        Auto merged
      79d9caff
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · a6ba55f2
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      a6ba55f2