1. 23 May, 2005 6 commits
    • unknown's avatar
      merged changes from 4.1 · b096c34d
      unknown authored
      
      include/my_global.h:
        Auto merged
      ndb/src/cw/cpcd/Process.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Auto merged
      strings/my_vsnprintf.c:
        Auto merged
      b096c34d
    • unknown's avatar
      BUG#10687 - Merge engine fails under Windows · 67c5514b
      unknown authored
      This final cset is to fix a syntax problem in ha_myisammrg.cc where a / was left out of a format string.
      It also adds a check in has_path to avoid a possible redundant comparison.
      
      ha_myisammrg.cc:
        Replaced missing / in format string
      my_getwd.c:
        Added test to see if FN_LIBCHAR != '/' before doing comparison to avoid redundant comparison
      
      
      mysys/my_getwd.c:
        Added test to see if FN_LIBCHAR != '/' before doing comparison to avoid redundant comparison
      sql/ha_myisammrg.cc:
        Replaced missing / in format string
      67c5514b
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1b2a2c86
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-4.1
      
      
      1b2a2c86
    • unknown's avatar
      BUG# 10687: Merge engine fails under Windows · 36b3f0a0
      unknown authored
      This cset is to roll out the cset applied earlier from Ingo.
      This bug has been fixed with a different cset.
      
      
      
      sql/ha_myisammrg.cc:
        removed the patch applied earlier
      strings/my_vsnprintf.c:
        removed the patch applied earlier.  The patch was to add %c ability.  
        Monty has already done this.
      36b3f0a0
    • unknown's avatar
      Build fixes for icc, compile _without_ "-no-gnu" · 3ca4caef
      unknown authored
      
      include/my_global.h:
        icc does not define __ICC when emulating gcc. Use __INTEL_COMPILER to check for icc.
      ndb/src/cw/cpcd/Process.cpp:
        Remove rlimit64
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Remove dirent64
      3ca4caef
    • unknown's avatar
      BUG# 10687: MERGE Engine fails on Windows · 6b964f0f
      unknown authored
      This is a replacement for the original patch given by Ingo.  This one comes
      from Monty.
      The problem is that merge files now use unix style pathnames on all 
      platforms.  The merge file open code was not properly converting those
      pathnames back to non-unix when necessary.
      
      
      myisammrg/myrg_open.c:
        use fn_format to convert pathnames if the files in the merge file have a pathname
      mysys/my_getwd.c:
        add a test for '/' in the code that determines if a string inlucdes a pathname
      6b964f0f
  2. 20 May, 2005 22 commits
    • unknown's avatar
      Merge mdk10.(none):/home/reggie/bk/bug9148 · c273526d
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-5.0
      
      
      c273526d
    • unknown's avatar
      9b8e0274
    • unknown's avatar
      fixed conflicts · 606d8a5a
      unknown authored
      
      VC++Files/mysys/mysys.dsp:
        Auto merged
      include/my_sys.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      606d8a5a
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 03e26e50
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-5.0
      
      
      sql/spatial.cc:
        Auto merged
      03e26e50
    • 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
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · b07d4dfc
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      b07d4dfc
    • unknown's avatar
      Fixed BUG#10537: Server crashes while loading data file into table through · 2a5a3de2
      unknown authored
                        procedure.
        by simply disabling 'load' in stored procedures, like it's already disabled
        for prepared statements. (They must be made "re-execution" safe before
        working with either PS or SP.)
      
      
      mysql-test/r/sp-error.result:
        New test case for BUG#10537.
      mysql-test/t/sp-error.test:
        New test case for BUG#10537.
      sql/sql_yacc.yy:
        Disable LOAD in stored procedures (just as for prepared statements).
      2a5a3de2
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/mysql-5.0-build · 56cf3c88
      unknown authored
      into mysql.com:/mnt/archive/svoj/mysql/mysql-5.0
      
      
      56cf3c88
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · 7936630e
      unknown authored
      Portability fixes
      
      
      extra/yassl/include/buffer.hpp:
        Use assert.h instead of less portable cassert
      extra/yassl/include/log.hpp:
        Use stdio.h instead of less portable cstdio
      extra/yassl/include/socket_wrapper.hpp:
        Use assert.h instead of less portable cassert
      extra/yassl/mySTL/helpers.hpp:
        Use stdlib.h instead of less portable cstdlib
      extra/yassl/mySTL/stdexcept.hpp:
        Use string.h instead of less portable cstring
      extra/yassl/mySTL/vector.hpp:
        Use assert.h instead of less portable cassert
      extra/yassl/src/ssl.cpp:
        Use stdio.h instead of less portable cstdio
      extra/yassl/taocrypt/include/block.hpp:
        Use stddef.h instead of less portable cstddef, always use ptrdiff_t instead of less portable std::ptrdiff_t
      extra/yassl/taocrypt/include/file.hpp:
        Use stdio.h instead of less portable cstdio
      extra/yassl/taocrypt/include/integer.hpp:
        Use string.h instead of less portable cstring
      extra/yassl/taocrypt/include/runtime.hpp:
        Use stdlib.h instead of less portable cstdlib
      extra/yassl/taocrypt/src/dh.cpp:
        Use math.h instead of less portable cmatch
      7936630e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 39c7b098
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug-5.0
      
      
      39c7b098
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7fa4dc6d
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      7fa4dc6d
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 19f3d13c
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/release/mysql-5.0
      
      
      19f3d13c
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-4.1-build · 25d661ad
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-4.1
      
      
      25d661ad
    • unknown's avatar
      a fix (bug #10757: gis-rtree.test fails) · 2ef41d3d
      unknown authored
      
      
      myisam/sp_key.c:
        a fix (bug #10757: gis-rtree.test fails)
        float8get() doesn't properly work with local variables sometimes.
      2ef41d3d
    • unknown's avatar
      Add missing test result · aaf5e048
      unknown authored
      
      mysql-test/t/subselect.test:
        Add test of result
      aaf5e048
    • unknown's avatar
      Macos 10.4 compatibility changes · cd215099
      unknown authored
      
      include/my_global.h:
        make it compilable on mac os
      ndb/src/kernel/SimBlockList.cpp:
        make it compilable with gcc 4.0
      cd215099
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ccafae43
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/sql_select.cc:
        Auto merged
      ccafae43
    • unknown's avatar
      compatibility issues · 027c10f3
      unknown authored
      Fixed errors reported by valgrind (some errors in NDB remains)
      
      
      myisam/rt_split.c:
        Added missing cast that caused problem on novell
        (minor code cleanup)
      ndb/src/ndbapi/Ndb.cpp:
        Moved DBUG_ENTER to remove warning from DBUG library
      sql/field_conv.cc:
        Added test for valgrind/purify to avoid warning
      sql/item_sum.cc:
        Removed comment and added ASSERT as setup can't be called twice anymore
      sql/sql_delete.cc:
        Fixed wrong return value
      sql/sql_parse.cc:
        More debugging
      sql/sql_select.cc:
        Removed duplicate call to setup() which caused a memory leak
      strings/my_vsnprintf.c:
        Added support for '%c' (used when printing my_getopt errors)
      027c10f3
    • unknown's avatar
      do not try to use equal field from outer query as field of local join (BUG#6384) · 648b072d
      unknown authored
      
      mysql-test/r/subselect.result:
        changes in plans
        test for bug#6384
      mysql-test/t/subselect.test:
        test for bug#6384
      sql/sql_select.cc:
        do not set equal field from outer query
      648b072d
    • unknown's avatar
      Merge gluh.mysql.r18.ru:/home/gluh/release/mysql-5.0-build · 122e029a
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/release/mysql-5.0
      
      
      122e029a
    • unknown's avatar
      addition of "REFERENCED_TABLE_SCHEMA", · be218f51
      unknown authored
        "REFERENCED_TABLE_NAME", "REFERENCED_COLUMN_NAME" fields into
        KEY_COLUMN_USAGE table
      
      
      
      be218f51
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-build · 3034935a
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      3034935a
  3. 19 May, 2005 12 commits