1. 26 May, 2005 1 commit
    • unknown's avatar
      ndb - Testcase for bug#10669 · b7266326
      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
      b7266326
  2. 25 May, 2005 6 commits
    • unknown's avatar
      ndb - Embryo of overload protection · 0c847c1c
      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
      0c847c1c
    • unknown's avatar
      ndb autotest - merge jonathans script changes · f9b2f2ba
      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
      f9b2f2ba
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 13b5cbd6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      13b5cbd6
    • unknown's avatar
      ndb autotest · 7aa6baca
      unknown authored
        adopt to changes in auto*tools
      
      
      ndb/test/run-test/ndb-autotest.sh:
        adopt to changes in auto*tools
      7aa6baca
    • unknown's avatar
      BUG#10831 ndb mgmd LogDestination maxfiles does not rotate logs properly · b7f005ce
      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.
      b7f005ce
    • unknown's avatar
      BUG#10796 Incorrect check-cpu result for ppc linux gcc · 431ef177
      unknown authored
      
      BUILD/check-cpu:
        Add no_march variable to indicate that this architecture doesn't support the -march flag to GCC
      431ef177
  3. 24 May, 2005 14 commits
  4. 23 May, 2005 10 commits
  5. 21 May, 2005 1 commit
    • unknown's avatar
      BUG# 9148: Denial of service · 455b259d
      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.
      455b259d
  6. 20 May, 2005 6 commits
    • unknown's avatar
      8ec1ffc6
    • unknown's avatar
      BUG# 9148: Denial of service · d7a4a8b6
      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
      d7a4a8b6
    • unknown's avatar
      Additions for --add-drop-database · e6a316fe
      unknown authored
      
      client/client_priv.h:
        Adding option for drop database
      client/mysqldump.c:
        Work for adding of --add-drop-database
      mysql-test/r/mysqldump.result:
        New test results for --add-drop-databases
      mysql-test/t/mysqldump.test:
        Tests for --add-drop-databases
      e6a316fe
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-4.1-build · eb2a4c65
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-4.1
      
      eb2a4c65
    • unknown's avatar
      a fix (bug #10757: gis-rtree.test fails) · 526525dc
      unknown authored
      
      
      myisam/sp_key.c:
        a fix (bug #10757: gis-rtree.test fails)
        float8get() doesn't properly work with local variables sometimes.
      526525dc
    • unknown's avatar
  7. 19 May, 2005 2 commits
    • unknown's avatar
      BUG# 10687 - MERGE engine fails under Windows · 733458e6
      unknown authored
      This patch was submitted by Ingo and it appears to work correctly.
      
      
      sql/ha_myisammrg.cc:
        use FN_LIBCHAR instead of / so buff works correctly on Windows
      strings/my_vsnprintf.c:
        add support for %c to my_vsnprintf
      733458e6
    • unknown's avatar
      This fixed a compile problem on Windows · 03f10bf2
      unknown authored
      sql_udf.cc:
        changed dl_name to udf->dl in mysql_create_function
      
      
      sql/sql_udf.cc:
        changed dl_name to udf->dl in mysql_create_function
      03f10bf2