An error occurred fetching the project authors.
  1. 23 Mar, 2007 17 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 4d3291e6
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
      
      
      storage/ndb/include/util/OutputStream.hpp:
        Auto merged
      4d3291e6
    • unknown's avatar
      rpl_ndb_sync.result, ndb_partition_key.result: · 27fc5de4
      unknown authored
        test case
      
      
      mysql-test/r/ndb_partition_key.result:
        test case
      mysql-test/r/rpl_ndb_sync.result:
        test case
      27fc5de4
    • unknown's avatar
      result file updates, message format changes · 0c65ef99
      unknown authored
      0c65ef99
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-single-user · 14a3a61a
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      mysql-test/r/ndb_single_user.result:
        manual merge
      mysql-test/t/disabled.def:
        manual merge
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        manual merge
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        manual merge
      14a3a61a
    • unknown's avatar
      enabled and extended single user test · 7dc5c004
      unknown authored
      7dc5c004
    • unknown's avatar
      BUG#27254: Single User Mode.Mysql hangs if it tries delete a ndb table · 8503077e
      unknown authored
      sql/ha_ndbcluster.cc:
        set single user mode on ndb schema table
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        dbug print
      8503077e
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user · 378b47a3
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      378b47a3
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca-single-user · cdb16d2f
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      cdb16d2f
    • unknown's avatar
      Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes · 14043656
      unknown authored
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        abort on timeout if in single user mode
      14043656
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user · a96a0cd6
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
      
      
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      a96a0cd6
    • unknown's avatar
      correction of merge · cee179c1
      unknown authored
      cee179c1
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca-single-user · 06083cdc
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-single-user
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        manual merge
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        manual merge
      06083cdc
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca-single-user · 4b1ff907
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user
      
      
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Auto merged
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        manual merge
      storage/ndb/include/ndb_constants.h:
        manual merge
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        manual merge
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        manual merge
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        manual merge
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        manual merge
      storage/ndb/test/src/NDBT_Table.cpp:
        manual merge
      4b1ff907
    • unknown's avatar
      Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes · a80c9cce
      unknown authored
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        add single user mode field in table definition
      ndb/include/ndb_constants.h:
        new constants for single usermode option of tables
      ndb/include/ndbapi/NdbDictionary.hpp:
        add single user mode field in table definition
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        add single user mode field in table definition
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        add single user mode field in table definition
        send this infor to TC
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        add single user mode field in table definition
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        single user table mode on table object
        merge some flags from uint8 to bits
        get allow transaction to also check single user mode
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        single user table mode on table object
        merge some flags from uint8 to bits
        get allow transaction to also check single user mode
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        set single user mode flag on system tables to make them always updatable
      ndb/src/ndbapi/NdbDictionary.cpp:
        get/set functions for single user mode on tables
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        get/set functions for single user mode on tables
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        get/set functions for single user mode on tables
      ndb/test/src/NDBT_Table.cpp:
        print single user mode
      a80c9cce
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 201af2d8
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      201af2d8
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb · 9fb4f3cd
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      9fb4f3cd
    • unknown's avatar
      WL#3704 mgmapi timeouts: fix compile warning · 65401f91
      unknown authored
      storage/ndb/src/mgmapi/mgmapi.cpp:
        fix compile warning - signed and unsigned comparison
      65401f91
  2. 22 Mar, 2007 23 commits
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndb · 9875df86
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-work
      
      
      9875df86
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 95b33450
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      95b33450
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · 350029d1
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      350029d1
    • unknown's avatar
      9a25b5a8
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca · f857ede9
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      f857ede9
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca · ac3b8a79
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      ac3b8a79
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca · 4ffad2d8
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
      
      
      sql/ha_ndbcluster.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        manual merge
      4ffad2d8
    • unknown's avatar
      Bug #27320 ndb handler does not reset extra flags on reset() · 22f8f391
      unknown authored
      - make sure all extra flags are reset
      
      
      22f8f391
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Fix error insert to NOT_STARTED nodes · 6d7a573b
      unknown authored
      Turns out I broke it.
      
      Index: ndb-work/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        WL#3704 mgmapi timeouts: Fix error insert to NOT_STARTED nodes
      6d7a573b
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Print full error from mgmd in NdbRestarter errors · 38b044d4
      unknown authored
      Turns out they can be useful in working out what's going wrong.
      
      Index: ndb-work/storage/ndb/test/src/NdbRestarter.cpp
      ===================================================================
      
      
      storage/ndb/test/src/NdbRestarter.cpp:
        WL#3704 mgmapi timeouts: Print full error from mgmd in NdbRestarter errors
      38b044d4
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Fix infinite (0) timeout for ndb_logevent_get_next · fd4862cf
      unknown authored
      Index: ndb-work/storage/ndb/src/mgmapi/ndb_logevent.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmapi/ndb_logevent.cpp:
        WL#3704 mgmapi timeouts: Fix infinite (0) timeout for ndb_logevent_get_next
      fd4862cf
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: For mgm server, have timeout per operation,... · 7e00600a
      unknown authored
      [PATCH] WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
      
      for TransporterRegistry, keep connection to management server alive.
      
      
      Index: ndb-work/storage/ndb/include/util/InputStream.hpp
      ===================================================================
      
      
      storage/ndb/include/util/InputStream.hpp:
        WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
      storage/ndb/include/util/OutputStream.hpp:
        WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
      storage/ndb/src/mgmsrv/Services.cpp:
        WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
      7e00600a
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts · c4dd23f7
      unknown authored
      Index: ndb-work/storage/ndb/include/util/InputStream.hpp
      ===================================================================
      
      
      storage/ndb/include/util/InputStream.hpp:
        WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts
      storage/ndb/test/include/CpcClient.hpp:
        WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts
      storage/ndb/test/src/CpcClient.cpp:
        WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts
      c4dd23f7
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Add MGMAPI tests to autotest daily run · 5c529b66
      unknown authored
      Index: ndb-work/storage/ndb/test/run-test/daily-basic-tests.txt
      ===================================================================
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        WL#3704 mgmapi timeouts: Add MGMAPI tests to autotest daily run
      5c529b66
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts · 09bbc265
      unknown authored
      Default timout of 30secs for ConfigRetriever
      
      Default timout of 5sec for use by Transporter (ports etc).
      
      And Ndb_cluster_connection::set_timeout() api for setting timeout from
      NDBAPI applications. Should be called before connect. e.g.
      
      c.set_timeout(4200);
      c.connect();
      
      Index: ndb-work/storage/ndb/include/mgmcommon/ConfigRetriever.hpp
      ===================================================================
      
      
      storage/ndb/include/mgmcommon/ConfigRetriever.hpp:
        WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
      storage/ndb/include/ndbapi/ndb_cluster_connection.hpp:
        WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
      storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
      09bbc265
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: use timeouts in mgm client · a69b2aa7
      unknown authored
      as side effect - turbo accellerator patch for ndb_mgm - sholud make it quicker... so that 4mhz cpu will seem even faster.
      
      Index: ndb-work/storage/ndb/src/mgmclient/CommandInterpreter.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        WL#3704 mgmapi timeouts: use timeouts in mgm client
      a69b2aa7
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request · aa8b15b7
      unknown authored
      use portable method, getting milliseconds between calls - Linux would
      let us do funky stuff by getting the timeout from select(2). Everywhere
      else sucks and doesn't let us do that :(
      
      Index: ndb-work/storage/ndb/include/util/InputStream.hpp
      ===================================================================
      
      
      storage/ndb/include/util/InputStream.hpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/include/util/OutputStream.hpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/include/util/socket_io.h:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/src/common/util/InputStream.cpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/src/common/util/OutputStream.cpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/src/common/util/socket_io.cpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      storage/ndb/src/mgmsrv/Services.cpp:
        WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
      aa8b15b7
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: clarify multiple mgmd connect timeout semantics · c59722ad
      unknown authored
      Index: ndb-work/storage/ndb/include/mgmapi/mgmapi.h
      ===================================================================
      
      
      storage/ndb/include/mgmapi/mgmapi.h:
        WL#3704 mgmapi timeouts: clarify multiple mgmd connect timeout semantics
      storage/ndb/src/mgmapi/mgmapi.cpp:
        WL#3704 mgmapi timeouts: clarify multiple mgmd connect timeout semantics
      c59722ad
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: consolidate NdbMgmHandle timeouts into one · e26da089
      unknown authored
      Only one timeout value is needed. Also saves 8bytes per NdbMgmHandle :)
      
      Index: ndb-work/storage/ndb/include/mgmapi/mgmapi.h
      ===================================================================
      
      
      storage/ndb/include/mgmapi/mgmapi.h:
        WL#3704 mgmapi timeouts: consolidate NdbMgmHandle timeouts into one
      storage/ndb/src/mgmapi/mgmapi.cpp:
        WL#3704 mgmapi timeouts: consolidate NdbMgmHandle timeouts into one
      e26da089
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Test for structured events timeouts (with err injection). · 1ff37f91
      unknown authored
      Index: ndb-work/storage/ndb/test/ndbapi/testMgm.cpp
      ===================================================================
      
      
      storage/ndb/test/ndbapi/testMgm.cpp:
        WL#3704 mgmapi timeouts: Test for structured events timeouts (with err injection).
      1ff37f91
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts · 7652e96f
      unknown authored
      Index: ndb-work/storage/ndb/src/mgmsrv/MgmtSrvr.cpp
      ===================================================================
      
      
      storage/ndb/src/mgmsrv/ERROR_codes.txt:
        WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts
      storage/ndb/src/mgmsrv/Services.cpp:
        WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts
      storage/ndb/test/ndbapi/testMgm.cpp:
        WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts
      7652e96f
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates. · 80220f70
      unknown authored
      Also add an ERROR_codes.txt file for mgmd
      
      Index: ndb-work/storage/ndb/src/mgmsrv/ERROR_codes.txt
      ===================================================================
      
      
      storage/ndb/src/mgmsrv/Services.cpp:
        WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates.
      storage/ndb/test/ndbapi/testMgm.cpp:
        WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates.
      storage/ndb/src/mgmsrv/ERROR_codes.txt:
        WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates.
      80220f70
    • unknown's avatar
      [PATCH] WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi · 446e5b36
      unknown authored
      In ndb_mgm_call, add checks for expired timeout in (Input|Output)Stream.
      In case of timeout, we set NdbMgmHandle->last_error and return NULL.
      
      In api calls not using ndb_mgm_call (or using it in conjunction with
      own IO), they'll need to check for timeouts manually. Macros are provided
      to do this.
      
      Add ndb_mgm_disconnect_quiet(h) to disconnect without checking errors
      (so we don't clobber NdbMgmHandle->last_error). This helps us provide
      the *consistent* semantic that on timeout we leave the NdbMgmHandle
      *disconnected*. We check for this in testMgm.
      
      Change CHECK_REPLY in mgmapi to also check for set error in handle->last_error
      This will pick up the ETIMEDOUT errors and return them to client (through
      returning correct failure code for API call and setting NdbMgmHandle error).
      Applications written to MGMAPI before this patch will behave as before,
      and even hopefully check get_last_error and report the error back to the
      end user!
      
      Adding the last CHECK_TIMEDOUT_RET and delete in ndb_mgm_call() we
      slightly change behaviour of mgmapi. Previously, if disconnect
      midway through a reply, where there were only optional parameters left,
      we'd get a Properties object from ndb_mgm_call() containing NULLs for
      the optional parameters, leading to interesting error messages. This
      enables the returning of the *real* message and actually improves the API
      without breaking compatibility.
      
      ndb_mgm_start_signallog
      ndb_mgm_stop_signallog
      ndb_mgm_log_signals
      ndb_mgm_set_trace
      ndb_mgm_insert_error
      ndb_mgm_set_int64_parameter [1]
      ndb_mgm_set_string_parameter [1]
      ndb_mgm_purge_stale_sessions [2]
       - return error code on error during ndb_mgm_call
      
      TODO:
      ndb_mgm_report_event [2]
      
      [1] marked for removal, unused.
      [2] return codes incorrect in CHECK_HANDLE/CONNECTED. undocumented.
      
      
      Server side:
       in Services (per session) add macro for injecting timeout error
       (just waiting 10 seconds before continuing... it does work!)
      
       We inject these errors in a number of critical places - including
       the tricky api functions that don't just use ndb_mgm_call but do
       their own thing (get_config, get_status and friends)
      
      ATRT:
       Expand testMgm to add timout tests for API. Fully automated.
       *THEORETICALLY* timing dependent - an ultra-slow network will
       cause problems and "fake" failures... I welcome other solutions.
      
       Tests aren't exhaustive, but cover the generics and the tricky bits.
       Also test some calling semantics (incl disconnected on error).
      
       It is encouraged to add *more* mgmapi tests, not less :)
      
      InputStream:
        Fix where timedout error is set
      
      
      Index: ndb-work/storage/ndb/src/mgmapi/mgmapi.cpp
      ===================================================================
      
      
      storage/ndb/src/common/util/InputStream.cpp:
        WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
      storage/ndb/src/mgmapi/mgmapi.cpp:
        WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
      storage/ndb/src/mgmapi/mgmapi_internal.h:
        WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
      storage/ndb/src/mgmsrv/Services.cpp:
        WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
      storage/ndb/test/ndbapi/testMgm.cpp:
        WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
      446e5b36