1. 19 Feb, 2007 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 73977b27
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      73977b27
    • unknown's avatar
      ndb - · 8f1ba667
      unknown authored
        forgott to add testcase for bug#26481
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        forgott to add testcase for bug#26481
      8f1ba667
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 45dea31e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      45dea31e
    • unknown's avatar
      ndb - bug#26481 · de8f751c
      unknown authored
        fix for killed node during initial node restart
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Check cstartRecReq also when refusing GCP_SAVEREQ
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      de8f751c
  2. 17 Feb, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 3dd7000b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/include/NdbRestarter.hpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/src/NdbRestarter.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      3dd7000b
    • unknown's avatar
      ndb - bug#26457 · 7223be24
      unknown authored
        master failure during master take over
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure to clear NF_XX_LCP if master fails during master take-over
      ndb/test/include/NdbRestarter.hpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      ndb/test/src/NdbRestarter.cpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      7223be24
  3. 16 Feb, 2007 5 commits
  4. 14 Feb, 2007 17 commits
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · f8e780f3
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      f8e780f3
    • unknown's avatar
      ndb_config_4_node.ini, ndb_config_1_node.ini: · 928538be
      unknown authored
        new file
      
      928538be
    • unknown's avatar
      backport some mysql-test ndbcluster things from 5.1 · 0b5724df
      unknown authored
          remove compiler warning EventLogger.cpp
          Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
           - partial fix
           - object map to handle failed realloc
      
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        backport some mysql-test ndbcluster things from 5.1
      mysql-test/ndb/ndbcluster.sh:
        backport some mysql-test ndbcluster things from 5.1
      ndb/src/common/debugger/EventLogger.cpp:
        remove compiler warning
      ndb/src/ndbapi/ObjectMap.hpp:
        Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
         - partial fix
         - object map to handle failed realloc
      0b5724df
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · 9f083d27
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      9f083d27
    • unknown's avatar
      Bug #21033 Error 0 in readAutoIncrementValue() · 02f05e48
      unknown authored
      - do not call function if table has no autoincrement
      
      02f05e48
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-work · c8ca2d91
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        SCCS merged
      c8ca2d91
    • unknown's avatar
      BUG#26358 remove unused and non-working SET_VAR_REQ/CONF signals · b9b2b083
      unknown authored
      remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
      
      Remove the dead SET_VAR_REQ,REF,CONF signals.
      
      They:
      a) don't currently work
      b) will cause confusion with future mgmd updates for
         signal interface to configuration things (e.g. port numbers)
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      b9b2b083
    • unknown's avatar
      BUG#26357 remove unused GSN_STATISTICS_REQ and CONF · 63e75ad9
      unknown authored
      remove GSN_STATISTICS_REQ and CONF
      
      These are unused and have been since BK import. not needed.
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove STATISTICS_REQ and CONF
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove signal names for STATISTICS_REQ and CONF (unused)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove unused STATISTICS signals
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove unused STATISTICS signals
      63e75ad9
    • unknown's avatar
      BUG#26356 uninitialised data sent from TAMPER_ORD to DIHNDBTAMPER · b944b351
      unknown authored
      Don't send uninit data in TAMPER_ORD to DIHNDBTAMPER
      
      Even though this data is unused from the CMVMI (mgmd) signal,
      we shouldn't be doing stuff with uninited data.
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        init the 3rd word of DIHNDBTAMPER before sending to DIH.
      b944b351
    • unknown's avatar
      BUG#26355 FIXME: use constant for max loglevel in ndb_mgmd · 2aa52f6b
      unknown authored
      
      ndb/include/mgmapi/mgmapi.h:
        use constant for max log level in ndb_mgmd.
        
        (more useful in 5.1 due to other defines and refinements of mgmapi)
      ndb/src/mgmsrv/Services.cpp:
        fix the XXX fixme of constant for max log level
      2aa52f6b
    • unknown's avatar
      BUG#26353 remove GET_CONFIG_BACKWARDS_COMPAT from ndb_mgmd · 53eecff3
      unknown authored
      there is backwards compatibility for GET CONFIG style configuration requests in
      ndb_mgmd. None of the ndbd versions that use this couldn't possibly connect to a
      5.0 or 5.1 cluster. remove the backwards compat
      
      remove it
      
      
      ndb/src/mgmsrv/Services.cpp:
        remove MGM_GET_CONFIG_BACKWARDS_COMPAT code.
        
        any client using GET CONFIG will just not work with modern NDB.
      ndb/src/mgmsrv/Services.hpp:
        remove GET CONFIG support
      53eecff3
    • unknown's avatar
      BUG#26352 unused ndb_mgm_rep_command in mgmapi.cpp · 03e9ee02
      unknown authored
      
      ndb/src/mgmapi/mgmapi.cpp:
        remove ndb_mgm_rep_command function
      03e9ee02
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4c314f71
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      4c314f71
    • unknown's avatar
      WL#3704 mgmapi timeouts (and cleanups) · 55516ba5
      unknown authored
      indicate units in SocketOutputStream timeout
      
      rename timeout in SocketOutputStream to reflect units (ms)
      
      In 5.0 as well as is safe cleanup patch that will help with merging.
      
      
      ndb/include/util/OutputStream.hpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      ndb/src/common/util/OutputStream.cpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      55516ba5
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · 46d676a4
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      46d676a4
    • unknown's avatar
    • unknown's avatar
      Bug#26293 cluster mgmt node sometimes doesn't receive events from all nodes on restart · 695450a8
      unknown authored
      - signals where sometimes sent too early when setting up subscriptions
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        added dump for active subscriptions in cmvmi
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        added dump for active subscriptions in cmvmi
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        bug in that signals where sent prior to api reg conf arrived, causing thrown away signals and subsequent hangs in mgmtserver
        also add retry if node connected but not yet received api reg conf
      ndb/src/ndbapi/ClusterMgr.cpp:
        added status variable m_api_reg_conf in cluster manager to correctly be able to determine if a node is sendable
      ndb/src/ndbapi/ClusterMgr.hpp:
        added status variable m_api_reg_conf in cluster manager to correctly be able to determine if a node is sendable
      ndb/src/ndbapi/SignalSender.cpp:
        assert to see that node is sendable when signal is sent
      ndb/src/ndbapi/SignalSender.hpp:
        manke metchd const
      695450a8
  5. 13 Feb, 2007 2 commits
  6. 12 Feb, 2007 4 commits
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 745b5b99
      unknown authored
      into  mysql.com:/home/tnurnberg/24660/50-24660
      
      
      sql/table.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      745b5b99
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 18dc6317
      unknown authored
      into  mysql.com:/home/tnurnberg/24660/41-24660
      
      
      sql/table.cc:
        Auto merged
      18dc6317
    • unknown's avatar
      Merge mysql.com:/home/tnurnberg/24660/41-24660 · 8b5e1c86
      unknown authored
      into  mysql.com:/home/tnurnberg/24660/50-24660
      
      
      mysql-test/r/type_enum.result:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      8b5e1c86
    • unknown's avatar
      Bug#24660: "enum" field type definition problem · 7ca628c6
      unknown authored
      ENUMs weren't allowed to have character 0xff, a perfectly good character in some locales.
      This was circumvented by mapping 0xff in ENUMs to ',', thereby prevent actual commas from
      being used. Now if 0xff makes an appearance, we find a character not used in the enum and
      use that as a separator. If no such character exists, we throw an error.
      
      Any solution would have broken some sort of existing behaviour. This solution should
      serve both fractions (those with 0xff and those with ',' in their enums), but
      WILL REQUIRE A DUMP/RESTORE CYCLE FROM THOSE WITH 0xff IN THEIR ENUMS. :-/
      That is, mysqldump with their current server, and restore when upgrading to one with
      this patch.
      
      
      mysql-test/r/type_enum.result:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      mysql-test/t/type_enum.test:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      sql/table.cc:
        Bug#24660: "enum" field type definition problem
        
        Revert fix for Bug#20922.
      sql/unireg.cc:
        Bug#24660: "enum" field type definition problem
        
        Use a field-separator for ENUM-values that is not part of those values. If impossible,
        throw error.
      7ca628c6
  7. 09 Feb, 2007 2 commits
  8. 08 Feb, 2007 3 commits
  9. 07 Feb, 2007 1 commit