1. 06 Oct, 2004 3 commits
    • unknown's avatar
      testcase for bug#5736 · c34368d6
      unknown authored
      fix of changed clo to mysql-test-run
      
      
      ndb/test/run-test/atrt-mysql-test-run:
        Fix options to mysql-test-run
      c34368d6
    • unknown's avatar
      debug printout · 3442284a
      unknown authored
      3442284a
    • unknown's avatar
      bug#5367 · f1efa121
      unknown authored
      subqueries with "not in" and ndb
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Fix handling of LQHKEYREF & IgnoreError & Index read
        2) Fix TCRELEASEREQ = ok if CS_ABORTING & AS_IDLE
        3) Give more info back in case of TCRELEASEREF
      sql/ha_ndbcluster.cc:
        Rewrite index_read to give proper error codes back
      f1efa121
  2. 05 Oct, 2004 9 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 0943024d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      0943024d
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 0d8278e8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      0d8278e8
    • unknown's avatar
      4b32a42f
    • unknown's avatar
      wl2135 - index restart · 6fc954ce
      unknown authored
      
      mysql-test/r/ndb_index_ordered.result:
        test case
      mysql-test/t/ndb_index_ordered.test:
        test case
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Split exclusive/keyinfo
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Add possibility retreive sorted flag
      ndb/include/ndbapi/NdbOperation.hpp:
        Add possibility retreive lock mode
      ndb/include/ndbapi/NdbResultSet.hpp:
        Add possibility to get operation
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Split exclusive/keyinfo
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Store flags in ScanFragReq::requestInfo format
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Store flags in ScanFragReq::requestInfo format
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Keep theLockMode up-to-date
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Keep theLockMode up-to-date
      sql/ha_ndbcluster.cc:
        Use NdbIndexScanOperation::reset_bounds when
          performing second index access
      6fc954ce
    • unknown's avatar
      moved code out of DBUG_ASSERT · e767d7a4
      unknown authored
      e767d7a4
    • unknown's avatar
      last try didnt work · d6e82d74
      unknown authored
      d6e82d74
    • unknown's avatar
      wl2135 test prg + bug fixes · 66d1064b
      unknown authored
      
      ndb/include/ndbapi/NdbConnection.hpp:
        Add support for removing op from list
      ndb/include/ndbapi/NdbScanOperation.hpp:
        virtual destructor
      ndb/src/ndbapi/NdbConnection.cpp:
        Add support for removing op from list
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Set magic number to invalid before first prepareSendScan
        (so that prepareSendScan is only called once incase of restarts)
      ndb/src/ndbapi/Ndblist.cpp:
        Use correct type
      ndb/test/src/UtilTransactions.cpp:
        Update test prg.
        - use LM_Read to maintain locks
        - set iop = null on temporary error (restart transaction)
      66d1064b
    • unknown's avatar
      bumped up version to 3.5.2 · 495c043a
      unknown authored
      removed staus flag
      
      495c043a
  3. 04 Oct, 2004 28 commits
    • unknown's avatar
      lock0lock.c: · af9cd295
      unknown authored
        Fix compiler warning
      
      
      innobase/lock/lock0lock.c:
        Fix compiler warning
      af9cd295
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a88c3ecc
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      a88c3ecc
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 38b56629
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      38b56629
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6e98f327
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      6e98f327
    • unknown's avatar
      wl2135 - ndb api test prg · 137f823e
      unknown authored
      
      ndb/test/include/NDBT_ResultRow.hpp:
        Completely new verifyOrderedIndex
           which utilies new wl2135 functionality
        + more utility functions
      ndb/test/include/UtilTransactions.hpp:
        Completely new verifyOrderedIndex
           which utilies new wl2135 functionality
        + more utility functions
      ndb/test/src/NDBT_ResultRow.cpp:
        Completely new verifyOrderedIndex
           which utilies new wl2135 functionality
        + more utility functions
      ndb/test/src/UtilTransactions.cpp:
        Completely new verifyOrderedIndex
           which utilies new wl2135 functionality
        + more utility functions
      137f823e
    • unknown's avatar
      e3b0f962
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · ba134782
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      ba134782
    • unknown's avatar
      corrected merge error rgarding NDB_CONNECTSTRING · 469778e6
      unknown authored
      469778e6
    • unknown's avatar
      added debug printouts in ndbapi · 8e5ecdff
      unknown authored
      8e5ecdff
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6ef00f96
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      6ef00f96
    • unknown's avatar
      Made TIMESTAMP NULL columns without explicit DEFAULT value to be always · 2cb2efc2
      unknown authored
      treated as DEFAULT NULL columns (independently from their position in
      table).
      
      (still to be discussed with Monty, Brian, Trudy et al. before push)
      
      
      mysql-test/r/type_timestamp.result:
        Update test after making TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns 
        (independently from their position in table).
      mysql-test/t/type_timestamp.test:
        Update test after making TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns 
        (independently from their position in table).
      sql/sql_parse.cc:
        add_field_to_list(): made TIMESTAMP NULL columns without explicit 
        DEFAULT value to be always treated as DEFAULT NULL columns (independently
        from their position in table). This also simplifies code a bit.
      2cb2efc2
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 512ac7e2
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      512ac7e2
    • unknown's avatar
      typo · 78d27d3e
      unknown authored
      78d27d3e
    • unknown's avatar
      Merge · 7aa2ae20
      unknown authored
      
      sql/sql_show.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      7aa2ae20
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 210a174b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      210a174b
    • unknown's avatar
      bug #5872, transactions should only be restarted with transaction.on flag off... · 6052df4c
      unknown authored
      bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
      added testcase for this
      use force send for all executes
      
      
      mysql-test/r/ndb_blob.result:
        added testcase for alter table of blob from ndb to myisam
      mysql-test/t/ndb_blob.test:
        added testcase for alter table of blob from ndb to myisam
      sql/ha_ndbcluster.cc:
        bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
        use force send for all executes
      6052df4c
    • unknown's avatar
    • unknown's avatar
      new printer · 90295730
      unknown authored
      90295730
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 6f5e3661
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Auto merged
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Auto merged
      6f5e3661
    • unknown's avatar
      NdbIndexScanOperation::reset_bounds() · 57c50afb
      unknown authored
      - Send BOUNDS as KEYINFO
      - At restart, only reset KEYINFO
      
      --
      Fix resource shortage at KEYINFO in Dbtc and Dblqh w.r.t scan
      --
      
      
      ndb/include/kernel/signaldata/AttrInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/KeyInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Send KeyLen in ScanFragReq (for range scans)
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Send KeyLen in ScanTabReq (for range scans)
      ndb/include/ndbapi/NdbConnection.hpp:
        Function for adding op to list
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        new method for saving BOUNDS
      ndb/include/ndbapi/NdbOperation.hpp:
        Remove bounds stuff from NdbOperation and put it into NdbScanOperation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        reset bounds
      ndb/src/common/debugger/signaldata/Makefile.am:
        New signal data printer for ScanFrag
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Fix printout
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        New signal data printer for ScanFrag
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Updated ScanFragReq
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Use same sendKeyInfo for both acckeyreq and tux_bounds
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle keyinfo in range scan
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Skip useless 5 words in beginning of TuxBounds
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fix SCAN_FRAGREQ
      ndb/src/ndbapi/NdbConnection.cpp:
        reset bounds
      ndb/src/ndbapi/NdbOperation.cpp:
        Remove bounds
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Send BOUNDS in KEYINFO instead of ATTRINFO
      57c50afb
    • unknown's avatar
      A couple of typos fixed. · 785b43be
      unknown authored
      
      sql/item.cc:
        A typo fixed in a comment, which is probably not valid any more
      sql/sql_class.h:
        no such class Ttem_subselect.
      785b43be
    • unknown's avatar
      To allow compilation on Tru64, the MySQL code should not mess · c94607db
      unknown authored
      with the system-reserved (and system-defined) '_REENTRANT' 
      CPP identifier.
      Especially, it must not be "undefine"d, because the Tru64 compiler
      needs it if threads are enabled.
      
      
      include/my_pthread.h:
        On Tru64, '_REENTRANT' is set by the compiler when the "-pthread" 
        option is given, and it must be set when the system's 'pthread.h' is 
        included (or else a '#error' is activated).
        So it must not be undef'ed, and it should not be def'ed either, as it
        is a system-reserved CPP identifier with which we should not mess
        anyway - it is risky to use it!
        Build on all platforms was checked privately, change caused no errors!
      c94607db
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 98241658
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      98241658
    • unknown's avatar
      addes auto pointer class for using with my_ functions · a5364d2f
      unknown authored
      switch to using my_ for heap allocations
      
      
      ndb/include/util/NdbAutoPtr.hpp:
        addes auto pointer class for using with my_ functions
      ndb/src/mgmclient/CommandInterpreter.cpp:
        switch to using my_ for heap allocations
      a5364d2f
    • unknown's avatar
      sql_show.cc: · 88d9bcbd
      unknown authored
        ctype_recode does not hang anymore. Small fix after Marko's change.
      
      
      sql/sql_show.cc:
        ctype_recode does not hang anymore. Small fix after Marko's change.
      88d9bcbd
    • unknown's avatar
      Merge · 2060ef21
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        SCCS merged
      2060ef21
    • unknown's avatar
      use new function stop_ndbcluster · e4de5a86
      unknown authored
      e4de5a86
    • unknown's avatar
      Merge · 18d4bba0
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        SCCS merged
      18d4bba0