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 · fb776a17
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      fb776a17
    • unknown's avatar
      Cleanup during code review · ad519b77
      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
      ad519b77
    • unknown's avatar
      - one more build fix for zlib.lib - added libpath to the · b507de92
      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
      b507de92
    • 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 16 commits
    • unknown's avatar
      - applied more changes to enable the CP932 charset on Windows · e0d7a59c
      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
      e0d7a59c
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5f9ab414
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      5f9ab414
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · ac3b6e11
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      ac3b6e11
    • unknown's avatar
      simplifying new/my_arg_new wrapping · 84554063
      unknown authored
      84554063
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-4.1 · e0801def
      unknown authored
      into zim.(none):/home/brian/mysql/mysql-4.1
      
      e0801def
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · c5179ae0
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      c5179ae0
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 470ed614
      unknown authored
      into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      470ed614
    • unknown's avatar
      Added a test case for Bug#8009. · 77b441f7
      unknown authored
      
      sql/item.cc:
        Fixed Bug#8009.
      77b441f7
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · be053e2b
      unknown authored
      into mdk10.(none):/home/reggie/bk/41test2
      
      be053e2b
    • unknown's avatar
      removed unneeded reserved_win_names testcase · 46eded2e
      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
      46eded2e
    • unknown's avatar
      - bumped up version number string to 4.1.12a · 471afb15
      unknown authored
      471afb15
    • unknown's avatar
      - added the cp932 charset support to the Windows builds · 4485688f
      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
      4485688f
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7689c886
      unknown authored
      into xiphis.org:/usr/home/antony/work2/p3-bug7241.5
      
      7689c886
    • unknown's avatar
      Add comments · 1f20ec78
      unknown authored
      1f20ec78
    • unknown's avatar
      - Backport of the patch to fix BUG#10687 (Merge engine fails · 721ba061
      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
      721ba061
    • unknown's avatar
      Bug#7241 - Invalid response when DELETE .. USING and LOCK TABLES used. · 5f554d93
      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
      5f554d93
  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 1 commit
    • 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