• unknown's avatar
    Bug#8167 signal usage clash between mysql server and ndb shared memory · df7bb879
    unknown authored
        added shared memory config parameter, signum for use in signalling
        added global variable for holdign signum to be used for shared memory connection
        only fiddle with signals if it is set
        simplified common ndb client option handling
    
    
    ndb/include/Makefile.am:
      added common defaults file
    ndb/include/mgmapi/mgmapi_config_parameters.h:
      added shared memory config parameter, signum for use in signalling
    ndb/include/transporter/TransporterDefinitions.hpp:
      added shared memory config parameter, signum for use in signalling
    ndb/include/util/ndb_opts.h:
      simplified common ndb client option handling
    ndb/src/common/mgmcommon/IPCConfig.cpp:
      added shared memory config parameter, signum for use in signalling
    ndb/src/common/portlib/NdbThread.c:
      added global variable for holdign signum to be used for shared memory connection
      only block signals if shared memory is used
    ndb/src/common/transporter/SHM_Transporter.cpp:
      use signum in new global variable for shared memory signalling
    ndb/src/common/transporter/TransporterRegistry.cpp:
      use signum in new global variable for shared memory signalling
      only fiddle with signals if it is set
    ndb/src/cw/cpcd/main.cpp:
      ndb_opts not really used
    ndb/src/kernel/vm/Configuration.cpp:
      simplified common ndb client option handling
    ndb/src/mgmclient/main.cpp:
      simplified common ndb client option handling
    ndb/src/mgmsrv/ConfigInfo.cpp:
      added shared memory config parameter, signum for use in signalling
    ndb/src/mgmsrv/main.cpp:
      simplified common ndb client option handling
    ndb/tools/delete_all.cpp:
      simplified common ndb client option handling
    ndb/tools/desc.cpp:
      simplified common ndb client option handling
    ndb/tools/drop_index.cpp:
      simplified common ndb client option handling
    ndb/tools/drop_tab.cpp:
      simplified common ndb client option handling
    ndb/tools/listTables.cpp:
      simplified common ndb client option handling
    ndb/tools/restore/restore_main.cpp:
      simplified common ndb client option handling
    ndb/tools/select_all.cpp:
      simplified common ndb client option handling
    ndb/tools/select_count.cpp:
      simplified common ndb client option handling
    ndb/tools/waiter.cpp:
      simplified common ndb client option handling
    df7bb879
ndb_opts.h 3.6 KB