1. 10 Feb, 2005 3 commits
    • unknown's avatar
      added more debug trace · ff51bed8
      unknown authored
          + removed double check for invalid socket
      
      
      ndb/src/common/transporter/Transporter.cpp:
        added more debug trace
        + removed double check for invalid socket
      ndb/src/ndbapi/Ndb.cpp:
        added more debug trace
      ff51bed8
    • unknown's avatar
      daily-basic-tests.txt: · e66abffa
      unknown authored
        increased timeout as it is exceeded every now and then giving erroneous indication on error
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        increased timeout as it is exceeded every now and then giving erroneous indication on error
      e66abffa
    • unknown's avatar
      adopted test scripts · 77f3ed65
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        added debug printouts
      ndb/test/ndbapi/testDict.cpp:
        updated FragmentType tests, removed failing "equal" on the tables since they will not be equal because fragmentation is updated from the kernel
      ndb/test/run-test/16node-tests.txt:
        adopted test scripts to new Fragment test name
      ndb/test/run-test/basic.txt:
        adopted test scripts to new Fragment test name
      ndb/test/run-test/daily-basic-tests.txt:
        adopted test scripts to new Fragment test name
      77f3ed65
  2. 09 Feb, 2005 19 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · d9f2b489
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      d9f2b489
    • unknown's avatar
      ndb_port_base is obsolete with WL#2278 · 149cb5ae
      unknown authored
      149cb5ae
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · c172b15a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      c172b15a
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 9876a349
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      9876a349
    • unknown's avatar
      #ifdef innodb specific code · 85d91be7
      unknown authored
      (for those who compile --without-innodb :-)
      
      85d91be7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · ebbe3efb
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ndb/src/common/util/SocketServer.cpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      ebbe3efb
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 188c9412
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      188c9412
    • unknown's avatar
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · d9ed8fee
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      d9ed8fee
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl5 · b7ebb967
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-wl2278
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      b7ebb967
    • unknown's avatar
      Removed old files · e02a8e60
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e02a8e60
    • unknown's avatar
      Impl5 of WL2278 - dynamic port allocation for cluster nodes · 6d5e2561
      unknown authored
      Treat the management server specially.
      
      It should always be the server in a transporter as we then have a known
      port to connect to on node restart.
      
      allows a mgm connection (i.e. to the management server port, our known port)
      to be transformed into a transporter connection.
      
      Also, clean up the struct TransporterConfiguration (used to be a struct for
      each transporter type. now there's just one)
      
      
      ndb/include/transporter/TransporterDefinitions.hpp:
        Clean up XXX_TransporterConfiguration and create one TransporterConfiguration structure.
        
        Makes things easier to read (especially in IPCConfig.cpp)
      ndb/include/transporter/TransporterRegistry.hpp:
        add get_mgm_handle (to compliment the set_mgm_handle function)
        
        clean up createTransporter to use just one TransporterConfiguration struct
      ndb/include/util/SocketClient.hpp:
        Introduce connect_without_auth() to ignore any authentication method that may have been set.
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        Remove dead IPCConfig::configureTransporters(TransporterRegistry*)
        
        Fixup IPCConfig::configureTransporters(Uint32 nodeId...)
        - use the 'one struct TransporterConfiguration to rule them all'
        - make MGM node the server
        - fix switch statement for transporter types
          - close } in strange place
          - possible inadvertent fall through
      ndb/src/common/transporter/OSE_Transporter.cpp:
        a partial fix for the introduction of new parameters.
        
        OSE shouldn't build how it is now. Better to keep the build broken than have it build and fail strangely at runtime.
      ndb/src/common/transporter/OSE_Transporter.hpp:
        a partial fix for the introduction of new parameters.
        
        OSE shouldn't build how it is now. Better to keep the build broken than have it build and fail strangely at runtime.
      ndb/src/common/transporter/SCI_Transporter.cpp:
        should be correct for SCI transporter.
      ndb/src/common/transporter/SCI_Transporter.hpp:
        should be correct for SCI transporter
      ndb/src/common/transporter/SHM_Transporter.cpp:
        add new parameters for Transporter constructor
      ndb/src/common/transporter/SHM_Transporter.hpp:
        add new parameters for Transporter constructor
      ndb/src/common/transporter/TCP_Transporter.cpp:
        add new parameters for Transporter constructor
      ndb/src/common/transporter/TCP_Transporter.hpp:
        add new parameters for Transporter constructor
      ndb/src/common/transporter/Transporter.cpp:
        Add new parameters
         - isMgmConnection
        	requires transforming from mgm to transporter
         - serverNodeId
        	node id that will serve as the server
        
        Treat connection differently if isMgmConnection (send a special mgm command first)
      ndb/src/common/transporter/Transporter.hpp:
        add fields to constructor
        
        add isMgmConnection member (if true, have to transform a mgm connection)
      ndb/src/common/transporter/TransporterRegistry.cpp:
        createTransporter -> createTCPTransporter (etc)
        
        add extra transporter constructor parameters (from config)
        
        modify to use changes to TransporterConfiguration
      ndb/src/common/util/SocketClient.cpp:
        SocketClient::connect_without_auth()
        
        Temporarily disables authentication and connects.
        This is useful if you're trying to change what this
        SocketClient object is for (e.g. from mgm to ndb)
      ndb/src/common/util/SocketServer.cpp:
        Don't runSession or close socket when entering sessionThread if m_stopped
      ndb/src/mgmsrv/ConfigInfo.cpp:
        fixPortNumber
        - Get port number from the MGM node as it will always be the server
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        transporter_connect(sockfd)
        - transform this mgm connection into a transporter connection
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        prototype for transporter_connect
      ndb/src/mgmsrv/Services.cpp:
        add command: "transporter connect"
        
        stops the MgmApiSession and replaces it with a transporter connection
      ndb/src/mgmsrv/Services.hpp:
        prototype for transporter_connect
      6d5e2561
    • unknown's avatar
      Merge serg.mylan:/usr/home/serg/Abk/m50-broken · 4e264576
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_base.cc:
        Auto merged
      4e264576
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d7ee303
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      BitKeeper/etc/ignore:
        auto-union
      9d7ee303
    • unknown's avatar
      Fix for NCHAR bug appeared during the merging · b9c77677
      unknown authored
      
      BitKeeper/etc/ignore:
        Added libmysqld/my_decimal.cc to the ignore list
      sql/sql_yacc.yy:
        Lex->dec initialization added
      b9c77677
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7b909e13
      unknown authored
      into neptunus.homeip.net:/home/msvensson/mysql/mysql-5.0
      
      7b909e13
    • unknown's avatar
      Updated style after review · 619e12d8
      unknown authored
      
      sql/ha_ndbcluster.cc:
        removed trailing whitespace
        corrected assignments according to style guide
      619e12d8
    • unknown's avatar
      fixed C++ syntax in C code · 46d2fd1a
      unknown authored
      fixed end of string detection in string->decimal conversion to avoid false alarm about some string part left unconverted (string can be not null terminated)
      ignore my_decimal.cc in libmysqld directory
      
      
      BitKeeper/etc/ignore:
        Added libmysqld/my_decimal.cc to the ignore list
      sql/my_decimal.cc:
        fixed end of string detection in string->decimal conversion to avoid false alarm about some string part left unconverted (string can be not null terminated)
      strings/decimal.c:
        fixed C++ syntax in C code
      46d2fd1a
  3. 08 Feb, 2005 12 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 127faded
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      mysql-test/r/view.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      127faded
    • unknown's avatar
      Precision Math implementation · c346d5c3
      unknown authored
      
      BitKeeper/etc/ignore:
        Added client/decimal.c client/my_decimal.cc client/my_decimal.h to the ignore list
      c346d5c3
    • unknown's avatar
      WL#2130: Table locking for stored FUNCTIONs · 41d556e3
      unknown authored
      Collect all tables and SPs refered by a statement, and open all tables
      with an implicit LOCK TABLES. Do find things refered by triggers and views,
      we open them first (and then repeat this until nothing new is found), before
      doing the actual lock tables.
      
      
      mysql-test/r/information_schema.result:
        Updated result for WL#2130.
      mysql-test/r/lock.result:
        Updated result for WL#2130.
      mysql-test/r/sp-error.result:
        Updated result for WL#2130.
      mysql-test/r/sp.result:
        Updated result for WL#2130.
      mysql-test/r/view.result:
        Updated result for WL#2130.
      mysql-test/t/information_schema.test:
        Disabled one test case due to a bug involving LOCK TABLES,
        which shows up with WL#2130.
      mysql-test/t/lock.test:
        New error message with WL#2130. This change is under debate and might change
        in the future, but will do for now.
      mysql-test/t/sp-error.test:
        Updated for WL#2130. Some tests are voided when table access does work from
        functions.
      mysql-test/t/sp.test:
        Updated for WL#2130.
      mysql-test/t/view.test:
        Updated for WL#2130.
      sql/item_func.cc:
        We now have to set net.no_send_ok for functions too, with WL#2130.
      sql/share/errmsg.txt:
        Reused an error code since the old use was voided by WL#2130, but a new
        one was needed instead (similar, but more specific restriction).
      sql/sp.cc:
        Fixed error handling and collection of used tables for WL#2130.
      sql/sp.h:
        Fixed error handling and collection of used tables for WL#2130.
      sql/sp_head.cc:
        Added support functions for collecting and merging hash tables and lists
        of used tables from SPs and substatements, for WL#2130.
      sql/sp_head.h:
        Added support functions for collecting and merging hash tables and lists
        of used tables from SPs and substatements, for WL#2130.
      sql/sql_base.cc:
        Changed the way table->query_id is tested and set during with locked tables
        in effect. This makes some SP test cases work with WL#2130, but has a side
        effect on some error cases with explicit LOCK TABLES. It's still debated if
        this is the correct way, so it might change.
      sql/sql_class.h:
        Added flags for circumventing some interference between WL#2130 and mysql_make_view().
      sql/sql_derived.cc:
        Added some missing initializations. (Potential bugs.)
      sql/sql_lex.cc:
        Clear the new hash tables for WL#2130.
      sql/sql_lex.h:
        Added hash tables for procedures and tables too (as for functions), for WL#2130.
      sql/sql_parse.cc:
        WL#2130: Make table accesses from stored functions work by adding an implicit
        LOCK TABLES around (most) executed statements. To do this, we have to go through
        a loop where we collect all SPs and tables in mysql_execute_statement.
      sql/sql_prepare.cc:
        Cache both functions and procedures for WL#2130.
      sql/sql_show.cc:
        Added some missing initializations. (Potential bugs.)
      sql/sql_view.cc:
        Shortcut mysql_make_view() if thd->shortcut_make_view is true during
        the pre-open phase for collecting tables in WL#2130. Otherwise, the
        similar mechanism here causes interference.
      sql/sql_yacc.yy:
        For WL#2130, added caching of procedures and disallowed LOCK/UNLOCK TABLES in SPs.
      41d556e3
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 595ad730
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      sql/mysqld.cc:
        Auto merged
      595ad730
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · 61e36a96
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-5.0
      
      61e36a96
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · ec6af0e0
      unknown authored
      into mysql.com:/orca/space/pekka/ndb/version/my50
      
      ec6af0e0
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · e2191724
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      e2191724
    • unknown's avatar
      ndb - workaround to strnxfrm 5.0 problem · 69aaaecc
      unknown authored
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        strnxfrm bug, may not write the length it says
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        fix index in debug print
      ndb/test/ndbapi/testOIBasic.cpp:
        do not generate too many mb chars, not checked in TUP
      69aaaecc
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4667a768
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      4667a768
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · cedf7e14
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      cedf7e14
    • unknown's avatar
      1baa3482
  4. 07 Feb, 2005 6 commits