1. 11 Aug, 2004 2 commits
    • unknown's avatar
      Finalised first step of scan optimisations · 1104b150
      unknown authored
      Everything is working but a few things is still remaining
      
      
      ndb/include/kernel/ndb_limits.h:
        New maximum batch size and total batch size over cluster
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Only two options
        1) One fragment per node
        2) One fragment in total
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        First step preparing for a dynamic array for scan_acc_op_ptr.
        Prepared by hiding all accesses by subroutines.
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        First step preparing for a dynamic array for scan_acc_op_ptr.
        Prepared by hiding all accesses by subroutines.
        Removed some dead code
      1104b150
    • unknown's avatar
      Fix of a nasty bug, small but hard to find · 624dbe5c
      unknown authored
      Some small printout fixes
      
      
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Mixed up Hexadecimal and decimal notation, cost me 5 hours of
        debugging to find, grrr..
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Fixed some declaration so that new bigger info fits in variables
      ndb/test/ndbapi/testScanPerf.cpp:
        Fix for printing int's instead of Uint64 which for some reason
        caused problems on my Mac.
        Also print performance in each loop.
      624dbe5c
  2. 09 Aug, 2004 8 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b6119eaa
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1-ndb
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      b6119eaa
    • unknown's avatar
      Correction + move of code to NDB_DEBUG_FULL from VM_TRACE · a4632d5c
      unknown authored
      
      ndb/include/transporter/TransporterDefinitions.hpp:
        Correction for bad math
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Moved heavy check code to NDB_DEBUG_FULL
      a4632d5c
    • unknown's avatar
      First step for WL 2025 · b8074a47
      unknown authored
      Not yet fully working
      Scan reads work fine, not scan updates
      
      
      ndb/include/kernel/ndb_limits.h:
        Introducing a new parameter plus increasing the max no of parallel
        operations per scan in LQH, first step in WL 2025
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Only need one clientOpPtr
        Concurrency is batch_size to use in this scan
        batch_byte_size is max no of bytes sent in a batch
        first_batch_size is the batch size in the first batch
      ndb/include/kernel/signaldata/ScanTab.hpp:
        apiOperationPtr is sent as long signal data
        batch_byte_size and first_batch_size is needed for further transport
        to LQH
        batch size can now be bigger than before
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        More concurrency means more size for scanInfo also in TCKEYREQ
      ndb/include/ndbapi/NdbReceiver.hpp:
        New subroutine to caclculate batch size and similar parameters
      ndb/include/ndbapi/NdbScanOperation.hpp:
        batch size calculated before sending, not necessary to store anymore
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Updated signal printer for SCAN_TABREQ
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Fixes to make it compile, not fixed for BACKUP being useful yet
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Removed parameters no longer needed and added some new ones.
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix for cmaxAccOps that was using the wrong constant
        Removed old code
        New SCAN_FRAGREQ signal
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        New variables
        Removed dead code
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        New SCAN_TABREQ, SCAN_FRAGREQ, SCAN_FRAGCONF and SCAN_TABCONF
        Fixed some error handling to be more efficient
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fixes to make it compile, not yet usable for SUMA features
      ndb/src/kernel/vm/Configuration.cpp:
        Fix for wrong constant
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Fix for not using constants
      ndb/src/ndbapi/NdbApiSignal.hpp:
        Added possibility to get signal sending node from signal
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Moved declaration
      ndb/src/ndbapi/NdbReceiver.cpp:
        New routine to calculate batch_size etc.
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Various fixes for sending SCAN_TABREQ and other stuff
      b8074a47
    • unknown's avatar
      mysql-test ndb_index_unique · 6867b4c5
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Compensate for "extra" lqhkeyreqrec during index read (when IgnoreError)
      ndb/src/mgmsrv/main.cpp:
        Read corrent local node id
      ndb/tools/waiter.cpp:
        Yet another user of LocalConfig
      6867b4c5
    • unknown's avatar
      2ad0ead4
    • unknown's avatar
      d75974a3
    • unknown's avatar
      bug#4529 · 951b9186
      unknown authored
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Separate connect and all/fetch
      ndb/include/mgmcommon/LocalConfig.hpp:
        Use BaseString
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Separate connect and all/fetch
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        Removed useless onlyNodeId
      ndb/src/kernel/main.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.hpp:
        Separeted Configuration fetch/setup
      ndb/src/mgmapi/mgmapi.cpp:
        Fixed some return codes
      ndb/src/mgmclient/main.cpp:
        LocalConfig update
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Changes ConfigRetreiver interface
      ndb/src/mgmsrv/Services.cpp:
        Allow reserve same id twice
      ndb/src/mgmsrv/main.cpp:
        Ignore SIGPIPE
      ndb/src/ndbapi/TransporterFacade.cpp:
        ConfigRetriever interface
      951b9186
    • unknown's avatar
      testTransaction -n FRead* · 7fad4e50
      unknown authored
      testTransaction -n *Scan*
      testTimeout -n *
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Added DUMP for tc appl timeout
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Send tckey conf if m_exec_flags is set
        Added dump for appl timeout
      ndb/test/include/HugoOperations.hpp:
        Add scanRead
      ndb/test/ndbapi/testTimeout.cpp:
        Reenable
      ndb/test/ndbapi/testTransactions.cpp:
        Fix scan test cases
      ndb/test/run-test/daily-basic-tests.txt:
        reenable timeout-tests
        added testTransaction -n Scan* testcases
      ndb/test/src/HugoOperations.cpp:
        Fix scan
      ndb/test/src/NDBT_Test.cpp:
        Drop table before test...(if createTable==true)
      7fad4e50
  3. 08 Aug, 2004 1 commit
  4. 06 Aug, 2004 3 commits
    • unknown's avatar
      Bug#4586 + TC fix · 43a352c3
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Operations with marker always leads to abort even
        if IgnoreError was supplied (limitation)
        
        Check marker before marking operation as aborted (which removes marker)
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Init cnoOfAllocatedPages after returnCommonArea
      43a352c3
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b7c2e700
      unknown authored
      into mysql.com:/home/jonas/src/ll
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
        Auto merged
      b7c2e700
    • unknown's avatar
      Fixed ndb backup bug · 53834a45
      unknown authored
      
      ndb/src/kernel/blocks/backup/Backup.hpp:
        SCAN_FRAGCONF contains length of key(s) aswell
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Send correct signal length
      53834a45
  5. 05 Aug, 2004 17 commits
    • unknown's avatar
      removed unused and illegal print method · e782c346
      unknown authored
      e782c346
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 126e42ee
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      126e42ee
    • unknown's avatar
      Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h, · fe021bba
      unknown authored
      the second is for the rest of time declarations in mysys.
      
      
      include/my_time.h:
        New declarations moved from mysql_time.h
      include/mysql_time.h:
        New declarations moved to my_time.h.
      sql/tztime.cc:
        Enforcing Monty's approach to header files.
      sql/tztime.h:
        Enforcing Monty's approach to header files: everything is included in
        one place.
      fe021bba
    • unknown's avatar
      Merge · d02100f0
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        SCCS merged
      d02100f0
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:irix · b4fb1dd7
      unknown authored
      into eel.hemma.oreland.se:/ndb/clone-mysql-4.1-ndb-daily-2004-08-04
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        Auto merged
      ndb/src/cw/cpcd/Process.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/test/ndbapi/testBasic.cpp:
        Auto merged
      ndb/test/run-test/main.cpp:
        Auto merged
      ndb/test/src/HugoTransactions.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      b4fb1dd7
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 48a216bb
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      48a216bb
    • unknown's avatar
      Small fix for updated config params · d0f6a731
      unknown authored
      d0f6a731
    • unknown's avatar
      Remove unused config parameters · fe8de8d1
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      fe8de8d1
    • unknown's avatar
      Fix bug for TCKEYREF's when using IgnoreError · c5ef9c62
      unknown authored
      
      ndb/src/ndbapi/NdbConnection.cpp:
        When using IgnoreError always wait for TCKEYCONF
      c5ef9c62
    • unknown's avatar
      mysqld.cc, mysql_test_run.c: · e0dbd0a9
      unknown authored
        Changed URL in error message, page has moved
      
      
      netware/mysql_test_run.c:
        Changed URL in error message, page has moved
      sql/mysqld.cc:
        Changed URL in error message, page has moved
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e0dbd0a9
    • unknown's avatar
      Initial support for updating configuration "on the fly" · 7cf0ba5c
      unknown authored
      Only updates values mgmsrv's on main memory
      to be used in test prg's
      
      
      ndb/include/mgmapi/mgmapi_debug.h:
        Update on config
      ndb/include/util/ConfigValues.hpp:
        Update on config
      ndb/src/mgmapi/mgmapi.cpp:
        Update on config
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Update on config
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Update on config
      ndb/src/mgmsrv/Services.cpp:
        Update on config
      ndb/src/mgmsrv/Services.hpp:
        Update on config
      7cf0ba5c
    • unknown's avatar
      bug#4909 + testSystemRestart -n SR_FULLDB · 7726c77b
      unknown authored
      1) Fix so that scan takeover is possible after SR
      2) Reserve two pages for SR "zero pages"
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        remove unused method
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix bug#4909
        don't reset tableFragptr during SR
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Also send reason for disallowing rollback
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add bitmask of free pages to use for page 0 during SR
      ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        More prinout in unit test of PageMan
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Reserve 2 pages to use for SR
      ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
        Don't alloc using "normal" allocConsPages when allocating for
        0-pages during SR, instead use 2 reserved pages
      7726c77b
    • unknown's avatar
      wl1292 · 42c3e432
      unknown authored
      testInterpreter is no longer built
      
      42c3e432
    • unknown's avatar
      wl2010 · 0ed01dfc
      unknown authored
      Added NDB_DEBUG(--with-debug) and NDB_DEBUG_FULL(--with-debug=full)
      
      
      
      configure.in:
        Added NDB_DEBUG(--with-debug) and NDB_DEBUG_FULL(--with-debug=full)
      0ed01dfc
    • unknown's avatar
      Cleanup in libmysql. · 629896f9
      unknown authored
      
      libmysql/libmysql.c:
        Cleanup of conversion part of libmysql (prepared statements protocol):
        - now we have basic support for any conversion sequence:
          when we don't implement direct conversion of given value to requested 
          buffer type (i.e. time -> double, or the other way around) we
          first convert i.e. time -> string and then call string -> double 
          conversion.
          param->offset is now handled only in one place.
        - conversion functions renamed from send_data_{string, long, double}
          to fetch_{string,long,double}_with_conversion. Don't be confused
          with strange diff for send_data_long: I had to move send_data_string
          before all other sends as it's used inside thesm. (Shall we have
          a forward declaration instead?-)
        - a little cleanup in read_binary_{date,time,datetime} - now type of
          date value is set inside these functions, so we can be sure
          that we always return fully filled MYSQL_TIME structure to the user
        - float -> string conversion is fixed to honor param->precision. 
          This is a step forward in fixing bug#4172
      tests/client_test.c:
        test fix: now libmysql always sets MYSQL_TIME::time_type field.
        We need to set these fields in the test as later _in values are compared
        with canonical by plain memcmp.
      629896f9
    • unknown's avatar
      a999c879
    • unknown's avatar
      30cf8ceb
  6. 04 Aug, 2004 8 commits
  7. 03 Aug, 2004 1 commit