1. 07 Jun, 2005 1 commit
    • unknown's avatar
      bug#11133 - ndb · 62321bd2
      unknown authored
        incorrect handling of writeTuple with multi op transaction
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) Pass operation instead of insertIsDone to LQH
        2) transform operation correctly when in parallell que
           (multi op within same trans)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Let ACC decide what operation was performed when WRITE
      ndb/test/ndbapi/testNdbApi.cpp:
        Add testcase for bug 11133
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for bug 11133
      62321bd2
  2. 01 Jun, 2005 1 commit
    • unknown's avatar
      ndb - fix broken ndb_alter_table · 4c30434d
      unknown authored
        reinit AI len after preparing interpreted
      
      
      ndb/src/ndbapi/NdbOperationExec.cpp:
        reinit AI len after preparing interpreted
      4c30434d
  3. 30 May, 2005 2 commits
  4. 26 May, 2005 3 commits
    • unknown's avatar
      ndb - add test case for bug ReadWithoutGetValue · 78d48487
      unknown authored
      
      ndb/test/run-test/daily-basic-tests.txt:
        add test case for bug fix
      78d48487
    • unknown's avatar
      bug#10669 - ndb read wo/ get value · 0ea67b0d
      unknown authored
        add dummy getvalue
      
      
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Add dummy get value of NDB$FRAGMENT if
          dirty read wo/ get values
      ndb/test/ndbapi/testNdbApi.cpp:
        Test scans as well
      0ea67b0d
    • unknown's avatar
      ndb - Testcase for bug#10669 · 65a6513a
      unknown authored
            --database option to hugo tools
      
      
      ndb/test/ndbapi/testNdbApi.cpp:
        Testcase for bug#10669
      ndb/test/tools/hugoLoad.cpp:
        Add --database=<name> to hugo tools
      ndb/test/tools/hugoPkUpdate.cpp:
        Add --database=<name> to hugo tools
      ndb/test/tools/hugoScanRead.cpp:
        Add --database=<name> to hugo tools
      ndb/test/tools/hugoScanUpdate.cpp:
        Add --database=<name> to hugo tools
      65a6513a
  5. 25 May, 2005 6 commits
    • unknown's avatar
      ndb - Embryo of overload protection · 68bd14d0
      unknown authored
        Add method to query free send buffer size
      
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SCI_Transporter.cpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SCI_Transporter.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SHM_Buffer.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SHM_Transporter.cpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SHM_Transporter.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SendBuffer.cpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/SendBuffer.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/TCP_Transporter.cpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/Transporter.hpp:
        Allow accessing free send buffer size
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Allow accessing free send buffer size
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Increse min values for SHM and TCP transport send buffer size
      68bd14d0
    • unknown's avatar
      ndb autotest - merge jonathans script changes · cdb27307
      unknown authored
      
      ndb/test/run-test/ndb-autotest.sh:
        ndb autotest
          1) merge jonathan changes
          2) add --no-report (if dont't want to produce/scp a report)
          3) add --no-config (if don't want to create a configuration, i.e there is already one present)
          4) add --no-test (for not actually starting test)
          5) add checking of conf file
      cdb27307
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0c7cb426
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      0c7cb426
    • unknown's avatar
      ndb autotest · e14d6f80
      unknown authored
        adopt to changes in auto*tools
      
      
      ndb/test/run-test/ndb-autotest.sh:
        adopt to changes in auto*tools
      e14d6f80
    • unknown's avatar
      BUG#10831 ndb mgmd LogDestination maxfiles does not rotate logs properly · 605f7061
      unknown authored
      
      ndb/src/common/util/File.cpp:
        my_stat returns NULL on failure, not non-zero.
        
        i.e. exactly the opposite of stat(2).
        
        providing confusion for unix programmers, who expect errors to be non-zero.
        
        Clean up File_class::exists(char*) to use the my_stat interface properly.
      605f7061
    • unknown's avatar
      BUG#10796 Incorrect check-cpu result for ppc linux gcc · 5b77d9b8
      unknown authored
      
      BUILD/check-cpu:
        Add no_march variable to indicate that this architecture doesn't support the -march flag to GCC
      5b77d9b8
  6. 24 May, 2005 14 commits
  7. 23 May, 2005 10 commits
  8. 21 May, 2005 1 commit
    • unknown's avatar
      BUG# 9148: Denial of service · 442c072f
      unknown authored
      This is a second patch needing another review.  The first patch didn't solve
      the entire problem.  open and fopen on Windows will still open
      files like "com1.sym" when they shouldn't.  This patch
      checks that the file exists before trying to open it.
      
      
      
      mysys/my_fopen.c:
        on Windows, if we are not creating a file the we call my_access to make sure the
        file exists before trying to open it.
      mysys/my_open.c:
        on Windows, if we are not creating a file the we call my_access to make sure the
        file exists before trying to open it.
      442c072f
  9. 20 May, 2005 2 commits
    • unknown's avatar
      9b8e0274
    • unknown's avatar
      BUG# 9148: Denial of service · c1ae672a
      unknown authored
      The problem was that on Windows the access method indicates that access to file 
      such as "com1" and "lpt1" is allowed (since they are device names) and
      this causes mysql to attempt to open them as databases or tables.
      
      The fix was to write our own my_access method that uses other Win32 functions
      to determine if the given argument is indeed a file and has to requested
      mode.
      
      
      VC++Files/mysys/mysys.dsp:
        added my_access
      VC++Files/mysys/mysys_ia64.dsp:
        added my_access.c
      include/my_sys.h:
        if on windows, we use my_access.
        if not on windows, then my_access points to the native access method
      mysys/Makefile.am:
        added my_access to mysys build file
      mysys/mf_pack.c:
        changed call to access to my_access
      sql/sql_db.cc:
        changed call to access to my_access
      c1ae672a