An error occurred fetching the project authors.
  1. 29 Jun, 2006 1 commit
    • unknown's avatar
      ndb - build · 474c4e92
      unknown authored
        Fix compile error for forte
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fix compile error for forte
      474c4e92
  2. 27 Jun, 2006 1 commit
    • unknown's avatar
      Bug #19852 Restoring backup made from cluster with full data memory fails · 0335013f
      unknown authored
      - make sure to allocate just enough pages in the fragments by using the actual
        row count from the backup, to avoid over allocation of pages to fragments, and
        thus avoid the bug
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - distribute fragment complete to all participants to update row count
      ndb/include/kernel/signaldata/BackupContinueB.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - time slica writing of fragment info to ctl file
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bit on bytes and records
        - new signal fragment complete to all participants
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bit on bytes and records
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - add min and max rows to dict tab info
      ndb/include/kernel/signaldata/LqhFrag.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to add frag req
      ndb/include/kernel/signaldata/TupFrag.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to add frag req
      ndb/include/ndbapi/NdbDictionary.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added get/set of min max rows
      ndb/src/common/debugger/signaldata/BackupImpl.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bit on bytes and records
      ndb/src/common/debugger/signaldata/BackupSignalData.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bit on bytes and records
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to dict tab info
      ndb/src/common/debugger/signaldata/LqhFrag.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to frag req
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - new section in backup with per fragment info in ctl file
        - 32 -> 64 bit on bytes and records
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - new section in backup with per fragment info in ctl file
        - 32 -> 64 bit on bytes and records
      ndb/src/kernel/blocks/backup/BackupFormat.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - new section in backup with per fragment info in ctl file
        - 32 -> 64 bit on bytes and records
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - new signal fragment complete to all participants
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added max and min rows to dict table object
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added max and min rows to dict table object
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to frag req
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to frag req
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to frag req
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - added min and max rows to frag req
        - move memory allocation to fragment to after adding of attributes to get correct headsize
        - allocate pages to fragments according to min rows setting
      ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - grow page allocation starting from 2 irrespective of first page allocation
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bits on bytes and records
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - 32 -> 64 bits on bytes and records
      ndb/src/ndbapi/NdbDictionary.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - min and max rows in dict
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - min and max rows in dict
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - min and max rows in dict
      ndb/tools/restore/Restore.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - add retrieval of fragment info
      ndb/tools/restore/Restore.hpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - add retrieval of fragment info
      ndb/tools/restore/consumer_restore.cpp:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - set min in restore to the actual row count (this is the actual bug fix)
      sql/ha_ndbcluster.cc:
        Bug #19852  	Restoring backup made from cluster with full data memory fails
        - set min and max rows according to sql definition
      0335013f
  3. 11 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#18781 (5.0) handle rolling upgrade, minor fixes, logging, docs · a182963c
      unknown authored
      ndb/src/kernel/blocks/dbdict/DictLock.txt:
        NR signals
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        call removeStaleDictLocks at right place, comment why it works
        more checks, better logging
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        call removeStaleDictLocks at right place, comment why it works
        more checks, better logging
      ndb/include/kernel/signaldata/DictLock.hpp:
        2 more REFs
      ndb/include/ndb_version.h.in:
        DICT LOCK appeared in 5.0.23
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        DICT LOCK rolling upgrade from version < 5.0.23
      ndb/src/kernel/blocks/ERROR_codes.txt:
        more DICT LOCK related testing
      ndb/test/ndbapi/testDict.cpp:
        more DICT LOCK related testing
      a182963c
  4. 08 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#18781 lock DICT during node restart · 40f44b48
      unknown authored
      ndb/src/kernel/main.cpp:
        signal log from start (#if 0-ed)
      ndb/test/ndbapi/testDict.cpp:
        test NF/NR + dict ops
      ndb/src/kernel/vm/DLFifoList.hpp:
        add hasPrev
      ndb/src/kernel/vm/pc.hpp:
        ERROR_INSERTED_CLEAR(x) test and clear if set
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        block no fix
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        spelling
      ndb/include/kernel/GlobalSignalNumbers.h:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/include/kernel/signaldata/AlterTable.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/include/kernel/signaldata/CreateTable.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/include/kernel/signaldata/DictLock.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/include/kernel/signaldata/DropTable.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/ERROR_codes.txt:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        locking of master DICT against schema ops, used by slave DIH under NR
      ndb/src/ndbapi/ndberror.c:
        locking of master DICT against schema ops, used by slave DIH under NR
      40f44b48
  5. 15 Sep, 2005 1 commit
    • unknown's avatar
      ndb - bug#9994 backpatch fixes from 5.0 · 6363fd57
      unknown authored
            IGNORE on merge 4.1->5.0
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        bug#9994 backpatch fixes from 5.0
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        bug#9994 backpatch fixes from 5.0
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        bug#9994 backpatch fixes from 5.0
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        bug#9994 backpatch fixes from 5.0
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        bug#9994 backpatch fixes from 5.0
      6363fd57
  6. 31 Aug, 2005 1 commit
  7. 18 Aug, 2005 1 commit
    • unknown's avatar
      bug#12118 - ndb alter table data loss · c7744c6d
      unknown authored
        Split table version into 2 (major, minor)
        Impl. signaling to API when table has been altered
        Allow running transactions to use any minor number for transactions
      
      
      mysql-test/r/ndb_alter_table.result:
        Allow running transactions to use old table definition when possible.
      mysql-test/t/ndb_alter_table.test:
        Allow running transactions to use old table definition when possible.
      ndb/include/kernel/BlockNumbers.h:
        remove GREP
      ndb/include/kernel/GlobalSignalNumbers.h:
        Add ALTER_TABL_REP and API_BROADCAST_REP
      ndb/include/kernel/kernel_types.h:
        table_version_major
      ndb/include/kernel/signaldata/AlterTable.hpp:
        New error code for alter table during rolling upgrade
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add state on table object to represent an altered but still valid table object
      ndb/src/common/debugger/BlockNames.cpp:
        remove GREP
      ndb/src/common/util/version.c:
        Fix upgrades
      ndb/src/kernel/SimBlockList.cpp:
        remove GREP
      ndb/src/kernel/blocks/Makefile.am:
        remove GREP
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove GREP
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Split tableSchemaVersion into 2 part
        24 bit real version
         8 bit for online alter table where old table definition is still usable
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Check for same ndb versions
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Update schema printer
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove grep
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove GREP
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        remove GREP
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        remove GREP
      ndb/src/ndbapi/DictCache.cpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/DictCache.hpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Change alter table so that remove from global cache is used wo/ retreiving it from there first
          as ALTER_TABLE_REP might already have changed the table object...
      ndb/src/ndbapi/TransporterFacade.cpp:
        Add support for ALTER_TABLE_REP
      sql/ha_ndbcluster.cc:
        Allow running transactions to use tables in state ALTERED...but new transactions may not...
      ndb/include/kernel/signaldata/ApiBroadcast.hpp:
        New BitKeeper file ``ndb/include/kernel/signaldata/ApiBroadcast.hpp''
      c7744c6d
  8. 20 Jul, 2005 1 commit
    • unknown's avatar
      bug#11942 · 783dbfc3
      unknown authored
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Add error code for backup in progress
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Add backup state
      ndb/include/kernel/signaldata/DropTable.hpp:
        Add error code for backup in progress
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add backup state
      ndb/src/kernel/blocks/backup/Backup.cpp:
        1) remove invalid require (util_sequence_ref) crash
        2) Don't backup objects dropping/creating
        3) set correct error code on backup fragment ref (crash)
        4) save TrigAttrInfo header when getting log full (crash)
        5) lock/unlock tables during backup
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        1) add mutex lock/unlock as part of drop/alter table
        2) add lock/unlock for backup
        3) remove TC from backup trigger loop
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Add BACKUP_ONGOING state
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add backup state
      ndb/src/ndbapi/ndberror.c:
        Add error code for backup in progress
      ndb/test/ndbapi/testBackup.cpp:
        Add testcase for testBackup -n BackupDDL
      ndb/tools/drop_index.cpp:
        Fix ndb_drop_index
      ndb/tools/listTables.cpp:
        Print of backup state
      783dbfc3
  9. 19 Jul, 2005 1 commit
    • unknown's avatar
      ndb - bug#11355 some fixes to index drop etc · cd004bd0
      unknown authored
      ndb/src/kernel/blocks/ERROR_codes.txt:
        fix some bugs in protocols drop index etc
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        fix some bugs in protocols drop index etc
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        fix some bugs in protocols drop index etc
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        fix some bugs in protocols drop index etc
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        fix some bugs in protocols drop index etc
      cd004bd0
  10. 15 May, 2005 1 commit
    • unknown's avatar
      ndb - wl-2451 update schemafile format change to 5.0.6 · db261667
      unknown authored
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        version update
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        version update
      ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
        version update
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        version update
      db261667
  11. 10 Apr, 2005 1 commit
    • unknown's avatar
      ndb - wl-2451: Increase max schema object to > 1600 · eeb6c9a9
      unknown authored
      mysql-test/Makefile.am:
        divide schemafile in blocks to allow unlimited # objects
      ndb/include/debugger/SignalLoggerManager.hpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/include/kernel/ndb_limits.h:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        divide schemafile in blocks to allow unlimited # objects
      ndb/test/ndbapi/testDict.cpp:
        divide schemafile in blocks to allow unlimited # objects
      eeb6c9a9
  12. 10 Jan, 2005 1 commit
    • unknown's avatar
      wl2240 - ndb partitioning · f755e4ae
      unknown authored
      1) Fix startTransaction with hint
      2) Ship fragment data to API to make better guess
      3) Expose both primary & backup replicas 
         To (in the future) be even more clever on choosing nodes for
         transactions/operations
      
      
      ndb/include/kernel/ndb_limits.h:
        Set maxsize of array with fragment data
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Send fragment data to API
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        Send fragment data to API
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Send fragment data to API
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Send fragment data to API
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Use Uint16 for fragment info
        Fix uninit variable
      ndb/src/ndbapi/Ndb.cpp:
        Impl. startTransaction with hint
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add interface for retreiving replica nodes given a hash-value
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add interface for retreiving replica nodes given a hash-value
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        remove Fragment2NodeMap and put it on table instead
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        remove Fragment2NodeMap and put it on table instead
      ndb/test/ndbapi/testNdbApi.cpp:
        Test some more
      f755e4ae
  13. 16 Dec, 2004 1 commit
    • unknown's avatar
      wl2240 - fix handling of distribution key wrt unique indexes · 1fefa5b3
      unknown authored
      ndb/include/kernel/AttributeDescriptor.hpp:
        removed unused
      ndb/include/kernel/ndb_limits.h:
        removed unused
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Differentiate between nullable columns and null fields
          TUP wants sum all other want #null cols
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Differentiate between nullable columns and null fields
          TUP wants sum all other want #null cols
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Handle distribution key and collation in same subroutine
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle distribution key and collation in same subroutine
      ndb/src/kernel/vm/VMSignal.hpp:
        Increase size of signal->theData to 32k
      ndb/test/ndbapi/testPartitioning.cpp:
        better usage
      1fefa5b3
  14. 18 Nov, 2004 1 commit
  15. 09 Nov, 2004 1 commit
    • unknown's avatar
      wl1744 - win compile fixes · 6049821c
      unknown authored
      ndb/include/kernel/signaldata/RepImpl.hpp:
        more win-compile-fixes
      ndb/include/mgmapi/mgmapi.h:
        more win-compile-fixes
      ndb/include/ndbapi/NdbConnection.hpp:
        more win-compile-fixes
      ndb/src/common/util/Properties.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/grep/Grep.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/Config.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/ConfigInfo.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbBlob.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbConnection.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbImpl.hpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbOperationExec.cpp:
        more win-compile-fixes
      ndb/test/ndbapi/testOperations.cpp:
        more win-compile-fixes
      sql/ha_ndbcluster.cc:
        more win-compile-fixes
      6049821c
  16. 26 Oct, 2004 1 commit
  17. 26 May, 2004 2 commits
  18. 19 May, 2004 1 commit
    • unknown's avatar
      Forte compile fixes · e492e902
      unknown authored
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e492e902
  19. 14 Apr, 2004 1 commit