An error occurred fetching the project authors.
  1. 20 Jun, 2006 1 commit
  2. 02 May, 2006 1 commit
    • unknown's avatar
      SECURITY FIX · 3010890e
      unknown authored
      Bug#17667: An attacker has the opportunity to bypass query logging.
      
      This adds a new, local-only printf format specifier to our *printf functions
      that allows us to print known-size buffers that must not be interpreted as 
      NUL-terminated "strings."
      
      It uses this format-specifier to print to the log, thus fixing this 
      problem.
      
      
      include/my_sys.h:
        Add prototype for my_memmem() .
      mysys/Makefile.am:
        Add reference to new file, my_memmem.c
      mysys/mf_iocache2.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
        
        Also, simplify the code a bit.
        
        TODO:  This code should be unified with the strings/my_vnsprintf.c code in 
        the future.
      sql/sql_parse.cc:
        The query is not a C-string, but is a sized buffer, containing any character 
        at all, which may include NUL characters.
      strings/my_vsnprintf.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      tests/Makefile.am:
        We may need some of our local functions.
      tests/mysql_client_test.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      mysql-test/t/mysql_client_test.opt:
        New BitKeeper file ``mysql-test/t/mysql_client_test.opt''
        
        Add '--log' server parameter.
      mysys/my_memmem.c:
        New BitKeeper file ``mysys/my_memmem.c''
        
        Implement memmem, a black-box work-alike of the GNU memmem(), which functions
        like strstr() but for arbitrary blocks of memory.
      3010890e
  3. 10 Apr, 2006 1 commit
    • unknown's avatar
      Bug#15069 [patch] my_print_defaults does'nt care --sysconfdir · f2ff24bd
      unknown authored
       - Grab the path from "configure --sysconfdir=<path>" and set it as
         the first place to look for my.cnf files
         Do this both in Makefiles for libmysql and mysys
       - Patch provided by Francesco Riosa. Thank you!
      
      
      libmysql/Makefile.shared:
        Grab the path from "--sysconfdir=<path>" into the defined variable DEFAULT_SYSYCONFDIR
      mysys/Makefile.am:
        Grab the path from "--sysconfdir=<path>" into the defined variable DEFAULT_SYSYCONFDIR
      mysys/default.c:
        Use DEFAULT_SYSCONFDIR as first place to look for my.cnf file if "--sysconfdir=<path>" been specified as argument to configure
      f2ff24bd
  4. 13 Oct, 2005 1 commit
    • unknown's avatar
      WL#2835: Base64 mysys functions · 2a49fa62
      unknown authored
      mysys/Makefile.am:
        Added Base64 to mysys
      ndb/config/type_ndbapi.mk.am:
        NDBAPI now dependent on mysys
      ndb/config/type_util.mk.am:
        NDB UTIL now dependent on mysys
      ndb/src/common/util/Makefile.am:
        Remove Base64
      ndb/src/common/util/Parser.cpp:
        Removed dead code
      ndb/src/mgmapi/mgmapi.cpp:
        Use of mysys Base64
      ndb/src/mgmsrv/Services.cpp:
        Use of mysys Base64
      include/base64.h:
        Making Base64 mysys-style
      mysys/base64.c:
        Making Base64 mysys-compatible
      2a49fa62
  5. 25 Aug, 2005 1 commit
  6. 23 Aug, 2005 1 commit
    • unknown's avatar
      Fix build using --without-server. (Bug #11680) · 4b943136
      unknown authored
      configure.in:
        Fix directories built using --without-server, and add mf_keycache.o
        to list of objects only built for thread-safe library, since it requires
        threading.
      dbug/my_main.c:
        Don't try to initialize thread globals if not built with threading.
      mysys/Makefile.am:
        Remove mf_keycache.c from list of files to build (it will be included
        in THREAD_LOBJECTS when appropriate).
      mysys/mf_getdate.c:
        Fix usage of gmtime().
      sql/share/Makefile.am:
        Allow removal of mysqld_error.h to fail, in case it doesn't exist yet.
      tests/Makefile.am:
        Don't link against libmysys explicitly.
      4b943136
  7. 18 Jul, 2005 1 commit
    • unknown's avatar
      Cleanups during review · 68b4d7b7
      unknown authored
      Changed defaults option --instance to --defaults-group-suffix
      Changed option handling to allow --defaults-file, --defaults-extra-file and --defaults-group-suffix to be given in any order
      Changed MYSQL_INSTANCE to MYSQL_GROUP_SUFFIX
      mysql_print_defaults now understands --defaults-group-suffix
      Remove usage of my_tempnam() (not safe function)
      if( -> if ( and while( to while (
      
      
      BitKeeper/deleted/.del-my_tempnam.c~a8562f15dad3012f:
        Delete: mysys/my_tempnam.c
      VC++Files/client/mysqlclient.dsp:
        Remove not used file my_tempnam.c
      VC++Files/client/mysqlclient_ia64.dsp:
        Remove not used file my_tempnam.c
      VC++Files/libmysql/libmysql.dsp:
        Remove not used file my_tempnam.c
      VC++Files/libmysql/libmysql_ia64.dsp:
        Remove not used file my_tempnam.c
      VC++Files/mysys/mysys.dsp:
        Remove not used file my_tempnam.c
      VC++Files/mysys/mysys_ia64.dsp:
        Remove not used file my_tempnam.c
      client/mysql.cc:
        Change to use get_defaults_options()
        Remove compiler warnings
      client/mysqldump.c:
        Indentation fixes
        Use quoted table name for 'primary_key_fields'
      extra/my_print_defaults.c:
        Add support for --defaults-group-suffix
        change to use get_default_options()
      extra/replace.c:
        Replace my_tempnam() with create_tmp_file() to allow us to remove my_tempnam.c
      include/config-win.h:
        Added DEFAULT_GROUP_SUFFIX_ENV
      include/my_sys.h:
        Change defaults_instance -> defaults_group_suffix
        Change get_defaults_files -> get_defaults_options
      libmysql/Makefile.shared:
        Added DEFAULT_GROUP_SUFFIX_ENV
      mysys/Makefile.am:
        Added DEFAULT_GROUP_SUFFIX_ENV
        Remove my_tempnam.c
      mysys/default.c:
        Changed --instance to --defaults-group-suffix
        Changed MYSQL_INSTANCE to MYSQL_GROUP_SUFFIX and moved the name to Makefile.am
        (mysys shouldn't by MySQL independent)
        Changed option handling to allow --defaults-file, --defaults-extra-file and --defaults-group-suffix to be given in any order
      mysys/default_modify.c:
        Optimized code to use allocated space more efficently
        Reduce code size
        Ensure that realloc() works independent of argument size
      mysys/my_bitmap.c:
        Added missing return
      sql/ha_innodb.cc:
        Change if( -> if (
      sql/ha_ndbcluster.cc:
        Change while( -> while (
      sql/item_cmpfunc.cc:
        Break loop early (simple optimization)
      sql/item_strfunc.cc:
        Change if( -> if (
      sql/log.cc:
        Fixed comment
      sql/mysqld.cc:
        Change if( -> if (
      sql/opt_range.cc:
        while( -> while (
        if( -> if (
      sql/parse_file.cc:
        Change if( -> if (
      sql/sql_cache.cc:
        while( -> while (
      sql/sql_parse.cc:
        Change if( -> if (
      sql/sql_prepare.cc:
        Added comment
      sql/sql_select.cc:
        while( -> while (
        Removed index variable by incrementing pointer
      sql/sql_show.cc:
        Change if( -> if (
      sql/sql_yacc.yy:
        Change if( -> if (
      tests/mysql_client_test.c:
        Added cast to first argument to bzero()
      68b4d7b7
  8. 05 Jul, 2005 1 commit
    • unknown's avatar
      Makefile.am: · b0a6a8e1
      unknown authored
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      
      
      client/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      cmd-line-utils/libedit/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      dbug/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      extra/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      heap/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      isam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql_r/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/examples/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      merge/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisammrg/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysql-test/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysys/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      netware/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      regex/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      sql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      strings/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tests/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      vio/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tools/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      b0a6a8e1
  9. 20 May, 2005 1 commit
    • 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
  10. 18 May, 2005 1 commit
    • unknown's avatar
      New file default_modify.c. Fixed a typo on mysqld.cc · 48ce8aeb
      unknown authored
      Changed name of function my_correct_default_file to
      modify_defaults_file. Improved function and fixed some
      bugs in it.
      
      
      include/my_sys.h:
        Changed function name.
      include/mysql_com.h:
        New function, modify_defaults_file()
      libmysql/Makefile.shared:
        New file, default_modify.lo
      libmysql/libmysql.def:
        New function, modify_defaults_file() and fixed version number.
      libmysqld/libmysqld.def:
        New function, modify_defaults_file()
      mysys/Makefile.am:
        New file, default_modify.c
      mysys/default.c:
        Removed function from default.c. New, corresponding one is in default_modify.c,
        name is modify_defaults_file.
      server-tools/instance-manager/commands.cc:
        Changed function name.
      sql/mysqld.cc:
        Fixed typo.
      48ce8aeb
  11. 25 Mar, 2005 1 commit
    • unknown's avatar
      A fix for Bug#8226 "Cannot connect via shared memory": · 3fd63949
      unknown authored
      provide created shared memory objects with proper
      access rights to make them usable when client and server
      are running under different accounts. 
      Post review fixes.
      
      
      VC++Files/mysys/mysys.dsp:
        Add my_windac.c to mysys.lib
      include/my_sys.h:
        Declarations for SECURITY_ATTRIBUTES create/destroy functions.
      mysys/Makefile.am:
        Add my_windac.c to the list of compiled files.
      sql-common/client.c:
        Lower requested access rights for events as the server won't 
        provide clients with ALL access in order to prevent denial
        of service attack.
      sql/mysqld.cc:
        Set proper security attributes for the kernel objects to make them
        usable when mysqld is running as a Windows service.
      3fd63949
  12. 17 Mar, 2005 1 commit
    • unknown's avatar
      Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants... · 98de4d79
      unknown authored
      Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup).
      
      
      BitKeeper/deleted/.del-mysqlfs.m4~2c0a06625ffdef2:
        Delete: config/ac-macros/mysqlfs.m4
      Makefile.am:
        Removed fs_dir (since dropping mysqlfs support)
      configure.in:
        Removed support for MySQLFS.
        Gone is support for mit-threads.
        Gone is Raid.
        I feel like if I say "gone" one more time I should embed a secret country song somewhere in the source as an easter egg.
      dbug/Makefile.am:
        Removed mit-threads
      extra/Makefile.am:
        Removed mit-threads
      heap/Makefile.am:
        removed mit-threads
      libmysql_r/Makefile.am:
        removed mit-threads
      libmysqld/Makefile.am:
        removed mit-threads
      myisam/Makefile.am:
        remove mt-threads
      myisammrg/Makefile.am:
        removed mit-threas
      mysys/Makefile.am:
        removed mit-threads
      regex/Makefile.am:
        removed mit-treads
      sql/Makefile.am:
        removed mit-threads
      strings/Makefile.am:
        removed mit-threads
      tests/Makefile.am:
        removed mit-threads
      tools/Makefile.am:
        removed mit-threads
      98de4d79
  13. 04 Jan, 2005 1 commit
    • unknown's avatar
      Added checking for my.cnf file from environment variable MYSQL_HOME · b7322bad
      unknown authored
      instead of DATADIR.
      
      
      include/config-win.h:
        Added checks for environment variable MYSQL_HOME
      libmysql/Makefile.shared:
        Added checks for environment variable MYSQL_HOME
      mysys/Makefile.am:
        Added checks for environment variable MYSQL_HOME
      mysys/default.c:
        Removed checks for my.cnf file in datadir, instead added checking
        if my.cnf exists in environment variable MYSQL_HOME
      scripts/mysqld_multi.sh:
        Added checks for my.cnf file in environment variable MYSQL_HOME,
        if exists.
      scripts/mysqld_safe.sh:
        Added checks for my.cnf file in environment variable MYSQL_HOME,
        if exists.
      b7322bad
  14. 14 Dec, 2004 1 commit
  15. 04 Nov, 2004 2 commits
    • unknown's avatar
      mmap portability layer, mmap for Windows · cce44b14
      unknown authored
      new macro: thread_safe_decrement, thread_safe_dec_and_test, statistic_decrement
      
      
      mysys/my_chsize.c:
        cleanup
      include/config-win.h:
        mmap portability layer, mmap for Windows
      include/my_pthread.h:
        thread_safe_decrement, thread_safe_dec_and_test, statistic_decrement
      include/my_sys.h:
        mmap portability layer, mmap for Windows
      mysys/Makefile.am:
        mmap portability layer, mmap for Windows
      cce44b14
    • unknown's avatar
      dbug: DBUG_EXECUTE_IF macro, build user manual automatically, document all features · 7b72401c
      unknown authored
      charset2html moved from mysys to extra
      ignore: new files added, garbage removed
      
      
      extra/charset2html.c:
        Rename: mysys/charset2html.c -> extra/charset2html.c
      configure.in:
        remove historical difference between test_thr_alarm, test_thr_lock and
        six newer mysys/test_* programs
        build dbug after mysys
      dbug/Makefile.am:
        build utils and examples, build manual
      dbug/dbug.c:
        cleanup
        DBUG_EXECUTE_IF macro
      dbug/dbug_analyze.c:
        fix it to run
      dbug/dbug_long.h:
        warning added
      dbug/main.c:
        fix it to run
      dbug/user.r:
        formating cleanup
        all undocumented features documented
      extra/Makefile.am:
        charset2html moved from mysys
      include/my_dbug.h:
        DBUG_EXECUTE_IF() macro
      mysys/Makefile.am:
        charset2html moved to extra
      BitKeeper/etc/ignore:
        new files added, garbage removed
      7b72401c
  16. 24 Jul, 2004 1 commit
    • unknown's avatar
      WL#1518, "make bundled zlib usable for unix builds": · 108864ed
      unknown authored
      required autotools macro written and deployed in all apropriate Makefile.ams.
      Use cases checked:
      - linux, standard location of zlib, no ndb
      - linux, standard locatoin of zlib, with ndb
      - linux, non-standard location of zlib, no ndb
      - hpux11, use of bundled zlib, no ndb 
      The only non-checked case is non-standard location of zlib (or use of bundled
      zlib) + ndb. I wasn't able to check it as ndb/ just won't compile on beasts 
      like AIX52 or HPUX11, where such a check is possible. It didn't compile 
      there before as these systems dont't have installed zlib, so nothing got broken ;)
      
      
      Makefile.am:
        WL#1518 "make bundled zlib usable for unix builds", part 2:
        - zlib dir should be built only if there is no system zlib available;
          with introducing of DIST_SUBDIRS goal, os2, BUILD and SSH now only entered
          if make dist
      acinclude.m4:
        WL#1518, "make bundled zlib usable for unix builds":
        - actual implementation of the check for various zlib usage options
      configure.in:
        WL#1518, "make bundled zlib usable for unix builds":
        - MYSQL_CHECK_ZLIB_WITH_COMPRESS deployed
      libmysql/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      libmysql_r/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      libmysqld/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      myisam/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib binary dir added
      mysys/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      sql/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir and library dir added
      tools/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
        - copyright added
      108864ed
  17. 02 Mar, 2004 1 commit
  18. 27 Feb, 2004 1 commit
    • unknown's avatar
      my_gethwaddr() for linux/freebsd · 1e191736
      unknown authored
      UUID() function
      
      
      BitKeeper/etc/ignore:
        Added mysys/test_gethwaddr to the ignore list
      include/my_sys.h:
        my_gethwaddr()
      mysys/Makefile.am:
        my_gethwaddr
      sql/item_create.cc:
        UUID() function
      sql/item_create.h:
        UUID() function
      sql/item_strfunc.cc:
        UUID() function
      sql/item_strfunc.h:
        UUID() function
      sql/lex.h:
        UUID() function
      sql/mysql_priv.h:
        UUID() function
      sql/mysqld.cc:
        UUID() function
      sql/sql_class.cc:
        cleanup
      1e191736
  19. 19 Feb, 2004 1 commit
    • unknown's avatar
      Max open files handling moved to my_set_max_open_files() · ddbb7880
      unknown authored
      This ensures that my_file_info takes this the max number of files into account and one can now use --open-files-limit on windows to increase number of used files up to 2048
      
      
      client/client_priv.h:
        Added --open-files-limit to mysqlbinlog
      client/mysqlbinlog.cc:
        Added --open-files-limit to mysqlbinlog
      include/config-win.h:
        Define that you can have up to 2048 files open on windows
      include/my_global.h:
        Allow override of OS_FILE_LIMIT
      include/my_sys.h:
        Cleanup
        Added prototypes for my_set_max_open_files() and my_free_open_files()
      libmysql/Makefile.shared:
        Added my_file.c
      myisam/myisamlog.c:
        Use my_set_max_open_files()
      mysys/Makefile.am:
        Use my_file.c (for mysqlbinlog)
      mysys/my_alloc.c:
        Remove compiler warning
      mysys/my_div.c:
        MY_NFILE -> my_file_limit
      mysys/my_dup.c:
        MY_NFILE -> my_file_limit
      mysys/my_fopen.c:
        MY_NFILE -> my_file_limit
      mysys/my_open.c:
        MY_NFILE -> my_file_limit
      mysys/my_static.c:
        Allow changing of open files limit
      mysys/my_static.h:
        Allow changing of open files limit
      sql/mysqld.cc:
        Max open files handling moved to my_set_max_open_files()
      ddbb7880
  20. 18 Nov, 2003 1 commit
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · e72124c4
      unknown authored
      New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
      ALTER TABLE table_name ... CHARACTER SET  ... now changes all char/varchar/text columns to the given character set
      (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
      Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
      New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
      Removed compiler warnings
      Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
      
      
      BUILD/compile-pentium-valgrind-max:
        Add test of isam
      client/mysql.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      include/my_base.h:
        Remove HA_EXTRA_SET_KEY_CACHE
      include/my_no_pthread.h:
        Add defines to ignore rw-locks when running without threads
      include/my_sys.h:
        Added function for multi-key-caches
      include/myisam.h:
        Added function to handle multi-key-caches
      include/mysql.h:
        Added mysql_set_server_option
      include/mysql_com.h:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Added enum_mysql_set_option
      include/mysqld_error.h:
        Added error message for unknown key cache
      innobase/srv/srv0start.c:
        Removed warning that is confused for MySQL users
      libmysql/libmysql.c:
        Added mysql_set_server_option()
      libmysql/libmysql.def:
        Added mysql_set_server_option()
      myisam/ft_nlq_search.c:
        Removed compiler warning
      myisam/ft_static.c:
        Removed compiler warning and fixed wrong return value
      myisam/mi_check.c:
        Clean up multi-key-cache usage
      myisam/mi_checksum.c:
        Removed not used variable
      myisam/mi_close.c:
        keycache -> key_cache
      myisam/mi_delete_all.c:
        keycache -> key_cache
      myisam/mi_extra.c:
        keycache -> key_cache
        Removed HA_EXTRA_SET_KEY_CACHE
      myisam/mi_keycache.c:
        Changed logic so that it's MyISAM that is responsible for assign tables to different key caches instead of the upper level
      myisam/mi_locking.c:
        Don't change key cache on unlock (must be done before)
      myisam/mi_open.c:
        Fetch key cache to use from multi_key_cache_search()
      myisam/mi_page.c:
        keycache -> key_cache
      myisam/mi_panic.c:
        keycache -> key_cache
      myisam/mi_preload.c:
        keycache -> key_cache
      myisam/mi_test1.c:
        Use KEY_CACHE_BLOCK_SIZE
      myisam/mi_test2.c:
        Always test resize_key_cache()
      myisam/mi_test3.c:
        Use KEY_CACHE_BLOCK_SIZE instead of 512
      myisam/myisamchk.c:
        update for multiple key caches
      myisam/myisamdef.h:
        Remove reg_keycache
        Add unique_name_length for storing length of unique_file_name
      myisam/myisamlog.c:
        Change how end_key_cache() is called
      mysql-test/mysql-test-run.sh:
        Fixed web link
        Added name of failed test to abort row.
      mysql-test/r/alter_table.result:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/r/case.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/cast.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/create.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_collate.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_latin1_de.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_many.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_mb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_recoding.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_ucs.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/derived.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/r/fulltext.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_str.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_system.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/gis-rtree.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/innodb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/key_cache.result:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/r/merge.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/preload.result:
        New syntax
      mysql-test/r/show_check.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/sql_mode.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/subselect.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_blob.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_enum.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_nchar.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_set.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/union.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/alter_table.test:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/t/ctype_many.test:
        Update result for DEFAULT CHARSET...
      mysql-test/t/derived.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/isam.test:
        Use disable warnings for test loop
      mysql-test/t/join.test:
        Update test now when we only support 61 tables in join
      mysql-test/t/key_cache.test:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/t/preload.test:
        Update for new syntax
      mysql-test/t/union.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysys/Makefile.am:
        Added mf_keycaches.c
      mysys/hash.c:
        TRUE -> 1
      mysys/mf_keycache.c:
        Removed compiler warnings
        Striped end space
        Fixed indentation and improved function comments
        TRUE -> 1
        Changed parameters to end_key_cache() to make it easer to use
        Fixed bug when using key blocks size > 1024 bytes (First part of index file could be overwritten with wrong data)
        Split function flush_key_blocks into two functions to not get mutex used twice when called from flush_all_key_blocks()
      mysys/my_bitmap.c:
        More debugging
        Safe bitmap_free()
        Fixed indentation
      mysys/my_getopt.c:
        Ensure that we initialize option->value, option->max_value and value from GET_ASK_ADDR
      mysys/my_thr_init.c:
        Remove not used mutex THR_LOCK_keycache
      mysys/typelib.c:
        Fixed function comments
      sql-common/client.c:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Fixed the multi_result flag is set also on SELECT;s
      sql/ha_myisam.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/ha_myisammrg.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/handler.cc:
        New multi key cache handling
      sql/handler.h:
        New multi key cache handling
        Added support for default character set
      sql/item.h:
        Added function cleanup() (Needed for prepared statements / cursors)
      sql/item_cmpfunc.h:
        Added cleanup function
      sql/item_func.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        New multi-key-cache functions
        Removed LOCK_assign
      sql/mysqld.cc:
        New multi-key-cache handling
        Fixed that variable have_compress is set correctly
      sql/protocol.cc:
        SELECT didn't work reliable in multi-statements
      sql/set_var.cc:
        Support for new key cache variables
      sql/set_var.h:
        Support for new key cache variables
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/serbian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed all key_cache handling (this is now done on MyISAM level)
        Change table_charset -> default_table_charset
      sql/sql_db.cc:
        table_charset -> default_table_charset
      sql/sql_delete.cc:
        table_charset -> default_table_charset
      sql/sql_lex.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      sql/sql_lex.h:
        New option to store a name and length
      sql/sql_parse.cc:
        Support for mysql_set_server_option()
        Reset "default" keycache status variables in 'FLUSH STATUS' (Need to be improved later)
      sql/sql_show.cc:
        Add DEFAULT before CHARSET (for table character sets)
        Fetch key cache variables from 'sql_key_cache'
      sql/sql_table.cc:
        table_charset -> default_table_charset
        New multi-key-cache handling
      sql/sql_test.cc:
        Write information from all key caches
      sql/sql_yacc.yy:
        Changed syntax for CACHE INDEX ...
        Force user to use DEFAULT before database/table level character sets
      sql/structs.h:
        Added SHOW_KEY_CACHE_LONG (to get values from sql_key_cache)
      sql/table.cc:
        table_charset -> default_table_charset
      sql/table.h:
        New key cache handling (this is now done in mysys/mf_keycaches.c)
      sql/unireg.h:
        A
      e72124c4
  21. 02 Nov, 2003 1 commit
    • unknown's avatar
      Call my_sync() after all data is written to .frm file · c97a38c4
      unknown authored
      Added my_sync() to mysys which will do fsync/fdatasync/_commit() on a file.
      
      
      VC++Files/mysys/mysys.dsp:
        Added my_sync.c
      configure.in:
        Added testing of fsync and fdatasync
      include/my_sys.h:
        Added my_sync()
      include/mysys_err.h:
        Added my_sync()
      isam/extra.c:
        Added my_sync()
      myisam/mi_extra.c:
        Added my_sync()
      myisam/mi_locking.c:
        Added my_sync()
      mysql-test/mysql-test-run.sh:
        Added option --valgrind-all
      mysys/Makefile.am:
        Added my_sync.c
      mysys/errors.c:
        Added my_sync()
      mysys/my_symlink.c:
        Removed compiler warning
      mysys/thr_alarm.c:
        Fix for link error on windows
      sql/unireg.cc:
        Call my_sync() after all data is written to .frm file
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c97a38c4
  22. 15 Oct, 2003 1 commit
    • unknown's avatar
      cleanup · b1124529
      unknown authored
      myisam/ft_update.c:
        unused parameter removed
      myisam/ftdefs.h:
        unused parameter removed
      myisam/mi_check.c:
        unused parameter removed
      mysys/Makefile.am:
        unused file removed from Makefile
      b1124529
  23. 06 Oct, 2003 1 commit
    • unknown's avatar
      Move init_compiled_charsets to own file · 0e93376e
      unknown authored
      Remove dependency of charsets (in my_init) to get smaller binaries when charsets are not used
      Simple code cleanup
      
      
      client/mysql.cc:
        Fixed indentation
      include/my_sys.h:
        Move init_compiled_charsets to own file
      include/mysql.h:
        Remove compiler warning	
      libmysql/Makefile.shared:
        Move init_compiled_charsets to own file
      mysys/Makefile.am:
        Move init_compiled_charsets to own file
      mysys/charset.c:
        Move init_compiled_charsets to own file
      mysys/my_init.c:
        Remove dependency of charsets
      scripts/mysql_create_system_tables.sh:
        Remove run time warning
      scripts/mysql_fix_privilege_tables.sql:
        Add help tables
      sql/sql_insert.cc:
        Code cleanup
      0e93376e
  24. 21 Aug, 2003 1 commit
  25. 28 Jan, 2003 1 commit
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
  26. 19 Jan, 2003 1 commit
    • unknown's avatar
      Removed compiler warnings · 388e7f94
      unknown authored
      cmd-line-utils/libedit/chared.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/common.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/el.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/emacs.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/fgetln.c:
        Removed RCSID to get rid of compiler warnings
        Removed compiler warning
      cmd-line-utils/libedit/hist.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/history.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/key.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/map.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/parse.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/prompt.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/read.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/readline.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/refresh.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/search.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/sig.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/term.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/tokenizer.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/tty.c:
        Removed RCSID to get rid of compiler warnings
      cmd-line-utils/libedit/vi.c:
        Removed RCSID to get rid of compiler warnings
      mysys/Makefile.am:
        Remove library dependency for charset2html to get correct makefile
      tests/client_test.c:
        Indentation change
      388e7f94
  27. 14 Jan, 2003 1 commit
    • unknown's avatar
      Updates for multi-byte character sets · 910c125b
      unknown authored
      (Note: test 'union' fails, but Sanja promised to fix this)
      
      
      include/m_ctype.h:
        Changed prototype for strntod() to inform the user that source may be modified.
      include/m_string.h:
        Moved my_vsnprintf to strings library
      include/my_sys.h:
        Moved my_vsnprintf to strings library
      libmysql/Makefile.shared:
        Moved my_vsnprintf to strings library
      mysql-test/r/alter_table.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/create.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/ctype_many.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/fulltext.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/innodb.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/merge.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/select.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/show_check.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_blob.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_enum.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_ranges.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_set.result:
        Moved my_vsnprintf to strings library
      mysys/Makefile.am:
        Moved my_vsnprintf to strings library
      sql/field.cc:
        Fixed for character set handling
      sql/field.h:
        Fixed for character set handling
      sql/item.cc:
        Fixed for character set handling
      sql/item.h:
        Fixed for character set handling
      sql/item_func.cc:
        Fixed for character set handling
      sql/item_func.h:
        Fixed for character set handling
      sql/item_strfunc.cc:
        Fixed for character set handling
      sql/item_sum.cc:
        Fixed for character set handling
      sql/item_sum.h:
        Fixed for character set handling
      sql/item_timefunc.cc:
        Fixed for character set handling
      sql/mysqld.cc:
        Update to use new test_if_int()
      sql/opt_range.cc:
        Fixed for character set handling
      sql/procedure.h:
        Fixed for character set handling
      sql/sql_class.cc:
        Fixed for character set handling
      sql/sql_string.cc:
        Added multi byte support to append.
        Added set_latin1()
      sql/sql_string.h:
        Added set_latin1()
      sql/sql_update.cc:
        Cosmetic changes
      strings/Makefile.am:
        Moved my_vsnprintf to strings library
      strings/ctype-simple.c:
        Code review + cleanup
      strings/ctype-utf8.c:
        Fixed strntod()
      strings/my_vsnprintf.c:
        Added support for %#d and %#u
      910c125b
  28. 10 Jan, 2003 1 commit
  29. 31 Dec, 2002 1 commit
  30. 20 Dec, 2002 1 commit
    • unknown's avatar
      Changed thd variables max_join_size and select_limit to type ha_rows. · 791e9fb3
      unknown authored
      This fixed some optimization problems when using -DBIG_TABLES
      Portabilty fixes for OpenUnix and HPUX
      Added C and C++ version numbers to mysqlbug
      
      
      Docs/mysqld_error.txt:
        Added new error message
      acinclude.m4:
        Fix for configure problem on OpenUnix
      configure.in:
        Fix for OpenUnix
        Added C and C++ versions to mysqlbug
      mysql-test/r/variables.result:
        Update of max_join_size handling
      mysql-test/t/variables.test:
        Update of max_join_size handling
      mysys/Makefile.am:
        Removed duplicate row
      mysys/my_alloc.c:
        Safety fixes (not fatal)
      scripts/Makefile.am:
        Added C and C++ compiler versions to mysqlbug
      scripts/mysqlbug.sh:
        Added C and C++ compiler versions to mysqlbug
      sql/item_func.cc:
        Fixed that user variables that changes are not threated as constants.
      sql/item_func.h:
        Fixed that user variables that changes are not threated as constants.
      sql/mysqld.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/repl_failsafe.cc:
        Removed not needed cast
      sql/set_var.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/set_var.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/slave.cc:
        Removed not needed cast
      sql/sql_class.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/sql_parse.cc:
        Removed not needed cast
        Fixed security problem with mysql_drop_db()
      sql/sql_show.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/structs.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      791e9fb3
  31. 26 Nov, 2002 1 commit
  32. 17 Nov, 2002 1 commit
    • unknown's avatar
      - Applied required modifications for automake 1.5 · 2ef5ec31
      unknown authored
       - "make distcheck" needs to be fixed
      
      
      BitKeeper/etc/ignore:
        Added autom4te.cache/output.0 autom4te.cache/requests autom4te.cache/traces.0 bdb/dist/autom4te.cache/output.0 bdb/dist/autom4te.cache/requests bdb/dist/autom4te.cache/traces.0 innobase/autom4te.cache/output.0 innobase/autom4te.cache/requests innobase/autom4te.cache/traces.0 to the ignore list
      acinclude.m4:
         - removed libtool.m4 (is part of libtool 1.4)
      config.guess:
         - applied diffs from config.guess of automake 1.5
      config.sub:
         - applied diffs from config.sub of automake 1.5
      configure.in:
         - renamed "AM_PROG_LIBTOOL" -> "AC_PROG_LIBTOOL"
         - added "AM_PROG_AS" for automake 1.5
      dbug/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      extra/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      heap/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      install-sh:
         - applied diffs from install.sh of automake 1.5
      isam/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      libmysql_r/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      ltconfig:
         - small correction for new libtool
      ltmain.sh:
         - applied diffs from ltmain.sh of libtool 1.4.2
      merge/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      missing:
         - applied diffs from missing of automake 1.5
      myisam/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      myisammrg/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      mysys/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
         - added $(EXEEXT) to test_charset
      regex/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      sql/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      strings/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
         - removed @CHARSET_SRCS@
      vio/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      2ef5ec31
  33. 01 Nov, 2002 1 commit
  34. 29 Oct, 2002 1 commit
    • unknown's avatar
      Added back old LARGEFILE handling · ea3ffb9b
      unknown authored
      Fixed reference to freed memory in acl_init()/grant_init()
      Fixed possible memory leak. (Could only happen in very strange circumstances)
      Fixed bug in ALTER TABLE with BDB tables
      Updated mysql-test for valgrind
      
      
      Docs/manual.texi:
        ChangeLog
      acinclude.m4:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      configure.in:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      libmysqld/lib_sql.cc:
        Fixed reference to freed memory
      mysql-test/mysql-test-run.sh:
        Added option --valgrind
      mysys/Makefile.am:
        Removed warning when doing make
      sql/mysqld.cc:
        Free regexp memory on shutdown.
        read 'des' key files from data directory
        Fixed reference to freed memory in grant_init()
      sql/slave.cc:
        Fixed wrong printf() argument
      sql/sql_acl.cc:
        Fixed reference to freed memory
      sql/sql_acl.h:
        Fixed reference to freed memory
      sql/sql_base.cc:
        Fixed possible memory leak. (Could only happen in very strange circumstances)
      sql/sql_parse.cc:
        Updated arguments to grant_reload()
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE with BDB tables
      sql/sql_yacc.yy:
        memset -> bzero
      ea3ffb9b
  35. 14 Oct, 2002 1 commit
  36. 09 Oct, 2002 1 commit
  37. 08 Oct, 2002 1 commit
  38. 01 Oct, 2002 1 commit
    • unknown's avatar
      - Applied required modifications for automake 1.5 · 9311345e
      unknown authored
       - some additional small fixes
       - added "depcomp" for automake 1.5
      
      
      acinclude.m4:
         - Removed AC_SYS_LARGEFILE (is in autoconf since v2.50)
      config.guess:
         - applied diffs from config.guess of automake 1.5
      config.sub:
         - applied diffs from config.sub of automake 1.5
      configure.in:
         - adapted for automake 1.5
         - added AM_PROG_AS
         - replaced MYSQL_SYS_LARGEFILE with AC_SYS_LARGEFILE (is in
           autoconf since v2.50)
      dbug/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      extra/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      heap/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      include/my_global.h:
         - fix for PPC64
      install-sh:
         - applied diffs from install-sh of automake 1.5
      isam/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      libmysql_r/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      libmysqld/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      ltconfig:
         - small correction for new libtool
      ltmain.sh:
         - applied diffs from ltmain.sh of libtool 1.4.2
      merge/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      missing:
         - applied diffs from missing of automake 1.5
      myisam/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      myisammrg/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      mysys/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      regex/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      sql/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      strings/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      tools/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      vio/Makefile.am:
         - removed OMIT_DEPENDENCIES to make automake 1.5 happy
      9311345e
  39. 12 Aug, 2002 1 commit
    • unknown's avatar
      Fixed problem with BIGINT and shutdown on AIX · b2e94613
      unknown authored
      Moved IF(test,column,NULL) code to 4.0
      Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
      Removed some CR's in os2 files.
      
      
      Docs/manual.texi:
        Changelog
      include/global.h:
        Fix for BIGINT problem on AIX
      include/my_no_pthread.h:
        Fixed typo
      libmysql/Makefile.shared:
        Fix for BIGINT problem on AIX
      mysql-test/mysql-test-run.sh:
        Fix to find xterm on AIX 4.3
      mysql-test/r/bigint.result:
        Fix for BIGINT problem on AIX
      mysql-test/r/func_if.result:
        Change results for IF() after reverting change.
      mysql-test/t/bigint.test:
        Fix for BIGINT problem on AIX
      mysys/Makefile.am:
        Fix for BIGINT problem on AIX
      mysys/my_gethostbyname.c:
        Cleanup
      mysys/my_init.c:
        Cleanup
      mysys/my_net.c:
        Cleanup
      mysys/my_os2cond.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.h:
        Space & CRLF cleanup
      mysys/my_os2dlfcn.c:
        Space & CRLF cleanup
      mysys/my_os2file64.c:
        Space & CRLF cleanup
      mysys/my_os2mutex.c:
        Space & CRLF cleanup
      mysys/my_os2thread.c:
        Space & CRLF cleanup
      mysys/my_os2tls.c:
        Space & CRLF cleanup
      mysys/mysys_priv.h:
        cleanup
      mysys/thr_rwlock.c:
        cleanup
      sql/ha_innobase.cc:
        Removed usage of sprintf()
        Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS
      sql/item_cmpfunc.cc:
        Reverted change for IF()
      sql/mysqld.cc:
        Fix for shutdown on AIX
      b2e94613