1. 11 Aug, 2004 2 commits
    • unknown's avatar
      Finalised first step of scan optimisations · 4294f847
      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
      4294f847
    • unknown's avatar
      Fix of a nasty bug, small but hard to find · b689f487
      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.
      b689f487
  2. 09 Aug, 2004 8 commits
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 9b3d5b9c
      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
      9b3d5b9c
    • unknown's avatar
      Correction + move of code to NDB_DEBUG_FULL from VM_TRACE · 65f6fcaf
      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
      65f6fcaf
    • unknown's avatar
      First step for WL 2025 · fd566261
      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
      fd566261
    • unknown's avatar
      mysql-test ndb_index_unique · 520a7458
      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
      520a7458
    • unknown's avatar
      96587f58
    • unknown's avatar
      a95ad750
    • unknown's avatar
      bug#4529 · 1905e1c5
      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
      1905e1c5
    • unknown's avatar
      testTransaction -n FRead* · 89b44696
      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)
      89b44696
  3. 08 Aug, 2004 1 commit
  4. 06 Aug, 2004 3 commits
    • unknown's avatar
      Bug#4586 + TC fix · 01e1451a
      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
      01e1451a
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · e4837b10
      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
      e4837b10
    • unknown's avatar
      Fixed ndb backup bug · bcdc77b3
      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
      bcdc77b3
  5. 05 Aug, 2004 17 commits
    • unknown's avatar
      removed unused and illegal print method · 689f4f27
      unknown authored
      689f4f27
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 67570b8b
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      67570b8b
    • unknown's avatar
      Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h, · 9919574a
      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.
      9919574a
    • unknown's avatar
      Merge · 432e4697
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        SCCS merged
      432e4697
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:irix · e223c07e
      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
      e223c07e
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · cdca651f
      unknown authored
      into mysql.com:/Users/mikron/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      cdca651f
    • unknown's avatar
      Small fix for updated config params · 6c8df362
      unknown authored
      6c8df362
    • unknown's avatar
      Remove unused config parameters · 83c9f45f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      83c9f45f
    • unknown's avatar
      Fix bug for TCKEYREF's when using IgnoreError · 1fb7783d
      unknown authored
      
      ndb/src/ndbapi/NdbConnection.cpp:
        When using IgnoreError always wait for TCKEYCONF
      1fb7783d
    • unknown's avatar
      mysqld.cc, mysql_test_run.c: · c0cc90c2
      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
      c0cc90c2
    • unknown's avatar
      Initial support for updating configuration "on the fly" · 73770db3
      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
      73770db3
    • unknown's avatar
      bug#4909 + testSystemRestart -n SR_FULLDB · 1479ed3f
      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
      1479ed3f
    • unknown's avatar
      wl1292 · 22306d05
      unknown authored
      testInterpreter is no longer built
      
      
      22306d05
    • unknown's avatar
      wl2010 · c1674294
      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)
      c1674294
    • unknown's avatar
      Cleanup in libmysql. · f47a0b9f
      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.
      f47a0b9f
    • unknown's avatar
      61528cf2
    • unknown's avatar
      39496af4
  6. 04 Aug, 2004 8 commits
  7. 03 Aug, 2004 1 commit