1. 26 May, 2005 1 commit
  2. 25 May, 2005 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · aa3a934b
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      aa3a934b
    • unknown's avatar
      Cleanup during code review · 549f56dc
      unknown authored
      Faster detection of wrong table names (like PRN) on windows
      
      
      include/my_sys.h:
        Added check_if_legal_filename()
      mysys/my_access.c:
        Added check_if_legal_filename()
        Set errno if my_access() fails
      mysys/my_fopen.c:
        USe check_if_legal_filename() instead of my_access() to detect wrong file names on windows
      mysys/my_open.c:
        USe check_if_legal_filename() instead of my_access() to detect wrong file names on windows
      sql/sql_lex.cc:
        Portability fix
      sql/sql_parse.cc:
        Simple cleanup
      sql/sql_repl.cc:
        Cleanup during code review
      549f56dc
    • unknown's avatar
      - one more build fix for zlib.lib - added libpath to the · 1794eb3e
      unknown authored
        mysql_test_run_new project files
      
      
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        - added libpath option so that zlib.lib will be found
      VC++Files/mysql-test/mysql_test_run_new_ia64.dsp:
        - added libpath option so that zlib.lib will be found
      1794eb3e
    • 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
  3. 24 May, 2005 16 commits
    • unknown's avatar
      - applied more changes to enable the CP932 charset on Windows · e9cf191c
      unknown authored
      - fixed linking with zlib
      
      
      VC++Files/client/mysql.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysql_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqladmin.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqladmin_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlcheck.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlcheck_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlclient.dsp:
        - added ctype-cp932.c to the file list
      VC++Files/client/mysqlclient_ia64.dsp:
        - added ctype-cp932.c to the file list
      VC++Files/client/mysqldump.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqldump_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlimport.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlimport_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlshow.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlshow_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqltest.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqltest_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/libmysql/libmysql.dsp:
        - added ctype-cp932.c to the file list
      VC++Files/libmysql/libmysql_ia64.dsp:
        - added ctype-cp932.c to the file list
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysql-test/mysql_test_run_new_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlbinlog/mysqlbinlog_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlcheck/mysqlcheck_ia64.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlmanager/mysqlmanager.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/strings/strings_ia64.dsp:
        - added ctype-cp932.c to the file list
      e9cf191c
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · e07f6ebf
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      e07f6ebf
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · d839f3a9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      d839f3a9
    • unknown's avatar
      simplifying new/my_arg_new wrapping · d3f7ec30
      unknown authored
      d3f7ec30
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5e5eb0a6
      unknown authored
      into zim.(none):/home/brian/mysql/mysql-4.1
      
      
      5e5eb0a6
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · be9845b0
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      be9845b0
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · edcc645b
      unknown authored
      into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      
      edcc645b
    • unknown's avatar
      Added a test case for Bug#8009. · 801c2c27
      unknown authored
      
      sql/item.cc:
        Fixed Bug#8009.
      801c2c27
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8643958c
      unknown authored
      into mdk10.(none):/home/reggie/bk/41test2
      
      
      8643958c
    • unknown's avatar
      removed unneeded reserved_win_names testcase · 6a96b815
      unknown authored
      
      BitKeeper/deleted/.del-reserved_win_names.test~334b02776c4247a7:
        Delete: mysql-test/t/reserved_win_names.test
      BitKeeper/deleted/.del-reserved_win_names.require~be6a130b5430085f:
        Delete: mysql-test/r/reserved_win_names.require
      BitKeeper/deleted/.del-reserved_win_names.result~ea458226c0df5337:
        Delete: mysql-test/r/reserved_win_names.result
      6a96b815
    • unknown's avatar
      - bumped up version number string to 4.1.12a · 3b3cd242
      unknown authored
      3b3cd242
    • unknown's avatar
      - added the cp932 charset support to the Windows builds · 4a80acec
      unknown authored
      
      VC++Files/strings/strings.dsp:
        - added ctype-cp932.c to the project (new charset)
      include/config-win.h:
        - added a HAVE_CHARSET_cp932 #define to enable the cp932 charset
          on Windows
      4a80acec
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3a23b675
      unknown authored
      into xiphis.org:/usr/home/antony/work2/p3-bug7241.5
      
      
      3a23b675
    • unknown's avatar
      Add comments · 1a8f64d7
      unknown authored
      1a8f64d7
    • unknown's avatar
      - Backport of the patch to fix BUG#10687 (Merge engine fails · 9e636a24
      unknown authored
        on Windows): applied required patches on top of the 4.1.12
        release (will be published as 4.1.12a for Windows)
      
      
      myisammrg/myrg_open.c:
        - Backport of the patch to fix BUG#10687 (Merge engine fails 
          under Windows): use fn_format to convert pathnames if the files 
          in the merge file have a pathname
      mysys/my_getwd.c:
        - Backport of the patch to fix BUG#10687 (Merge engine fails 
          on Windows): Added test to see if FN_LIBCHAR != '/' before
          doing comparison to avoid redundant comparison
      sql/ha_myisammrg.cc:
        - Backport of the patch to fix BUG#10687 (Merge engine fails 
          on Windows): added extra debug output
      9e636a24
    • unknown's avatar
      Bug#7241 - Invalid response when DELETE .. USING and LOCK TABLES used. · efc7b884
      unknown authored
        Only acquire necessary write lock for multi-delete
      
      
      mysql-test/r/lock.result:
        Test for Bug#7241
      mysql-test/t/lock.test:
        Test for Bug#7241
      sql/sql_parse.cc:
        Bug#7241
          Don't acquire write lock on all tables.
          Make sure to set lock_type on real table_list
      efc7b884
  4. 23 May, 2005 10 commits
  5. 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
  6. 20 May, 2005 6 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
    • unknown's avatar
      Additions for --add-drop-database · ec00a455
      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
      ec00a455
    • 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
  7. 19 May, 2005 1 commit
    • unknown's avatar
      BUG# 10687 - MERGE engine fails under Windows · 1da5382a
      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
      1da5382a