An error occurred fetching the project authors.
  1. 06 Jun, 2005 1 commit
    • unknown's avatar
      fixes for compiler warnings from VC6 · 6e82d648
      unknown authored
      client/mysqltest.c:
        undef popen prior to redefining it to avoid compiler warning
        cast len argument to replace_dynstr_append_mem to int.  This should be ok because the 
        replace_dynstr_append method uses strlen to accomplish the same thing.
      myisam/mi_create.c:
        cast myisam_block_size down to uint16 to match the struct element block_length
      mysys/default.c:
        add (char*) cast to make compiler happy
      mysys/my_handler.c:
        add (my_bool) cast to make compiler happy
      6e82d648
  2. 18 May, 2005 3 commits
    • 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
    • unknown's avatar
      fix comments · 6ca52fcc
      unknown authored
      server-tools/instance-manager/commands.cc:
        fix column name
      6ca52fcc
    • unknown's avatar
      default.c: · 17f37d95
      unknown authored
        Disabled use of GetSystemWindowsDirectory() when compiled with VC6
      mysql.cc:
        Removed unused variable 'field' from print_warnings()
      libmysql.dsp:
        Added "my_chsize.c" and "my_seek.c"
      mysqlclient.dsp:
        Added "my_chsize.c"
      
      
      VC++Files/client/mysqlclient.dsp:
        Added "my_chsize.c"
      VC++Files/libmysql/libmysql.dsp:
        Added "my_chsize.c" and "my_seek.c"
      client/mysql.cc:
        Removed unused variable 'field' from print_warnings()
      mysys/default.c:
        Disabled use of GetSystemWindowsDirectory() when compiled with VC6
      17f37d95
  3. 16 May, 2005 1 commit
  4. 15 May, 2005 1 commit
    • unknown's avatar
      post-review fixes · 6b4dbcb4
      unknown authored
      include/my_sys.h:
        added prototype for the defaults correction function
      libmysql/Makefile.shared:
        my_chsize added to libmysql to let my_correct_defaults_file be used from libmysql
      mysys/default.c:
        New defaults function added we use it to correct defaults file. Currently the function doesn't lock defaults
        file. This is because of the linking and backwards-compatibility issues. This needs to be fixed later.
      mysys/my_chsize.c:
        comment added
      server-tools/instance-manager/buffer.cc:
        cleanup
      server-tools/instance-manager/commands.cc:
        refactoring: removed do_command method from most of the classes
      server-tools/instance-manager/commands.h:
        cleanup
      server-tools/instance-manager/guardian.cc:
        cleanup
      server-tools/instance-manager/instance.cc:
        cleanup
      server-tools/instance-manager/instance_map.cc:
        cleanup
      server-tools/instance-manager/instance_options.cc:
        cleanup
      server-tools/instance-manager/instance_options.h:
        cleanup
      server-tools/instance-manager/listener.cc:
        cleanup
      server-tools/instance-manager/log.cc:
        cleanup
      server-tools/instance-manager/manager.cc:
        cleanup
      server-tools/instance-manager/messages.cc:
        new errors added
      server-tools/instance-manager/mysql_connection.cc:
        cleanup
      server-tools/instance-manager/mysql_manager_error.h:
        new error codes added
      server-tools/instance-manager/mysqlmanager.cc:
        clenup
      server-tools/instance-manager/options.cc:
        cleanup
      server-tools/instance-manager/parse.cc:
        removed unused function
      server-tools/instance-manager/parse.h:
        removed prototype
      server-tools/instance-manager/protocol.cc:
        cleanup
      server-tools/instance-manager/protocol.h:
        added enum to be used in protocol.cc instead of the constants
      6b4dbcb4
  5. 12 May, 2005 1 commit
  6. 06 May, 2005 1 commit
  7. 04 May, 2005 1 commit
  8. 29 Apr, 2005 1 commit
    • unknown's avatar
      CAST(string_argument AS UNSIGNED) didn't work for big integers above the signed range. (Bug #7036) · 97b08214
      unknown authored
      Produce warnings of wrong cast of strings to signed/unsigned.
      Don't block not resolved IP's if DNS server is down (Bug #8467)
      Fix compiler problems with MinGW (Bug #8872)
      
      
      configure.in:
        Fix compiler problems with MinGW (Bug #8872)
      include/config-win.h:
        Fix compiler problems with MinGW (Bug #8872)
      include/my_global.h:
        Fix compiler problems with MinGW (Bug #8872)
      mysql-test/r/cast.result:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysql-test/t/cast.test:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysys/default.c:
        Cleanup (combine identical code). 
        Done mainly by Jani
      sql/field.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/hostname.cc:
        Don't block not resolved IP's if DNS server is down (Bug #8467)
      sql/item.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/item_func.cc:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
        Produce warnings of wrong cast of strings to signed/unsigned
      sql/item_func.h:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
      97b08214
  9. 28 Apr, 2005 1 commit
    • unknown's avatar
      Add default configuration files to my_print_defaults usage, and · d5094e1a
      unknown authored
      add handling of configuration file in the Windows shared system
      directory. (Bug #5354)
      
      
      extra/my_print_defaults.c:
        Print out list of default files that will be used.
      include/my_sys.h:
        Add new my_print_default_files() function.
      mysys/default.c:
        Increase MAX_DEFAULT_DIRS to handle shared Windows directory,
        move the logic for handling the Windows (and OS/2) system directories
        into init_default_directories(), and generalize handling of
        configuration file extensions.
      d5094e1a
  10. 26 Apr, 2005 1 commit
    • unknown's avatar
      Cleanups during review · bf17c826
      unknown authored
      mysys/default.c:
        Cleanup:
        - Just test once for recursion level
        - Don't test explicitely for \r or \n as my_isspace() already does that
      sql/sql_insert.cc:
        Fix argument
      sql/sql_select.cc:
        Fixed indentation
        added comment
      bf17c826
  11. 13 Apr, 2005 1 commit
    • unknown's avatar
      post review fix · 82231c24
      unknown authored
      mysys/default.c:
        cleanup + check for the last line in the file in "!include" directive processing
      82231c24
  12. 06 Apr, 2005 1 commit
    • unknown's avatar
      Fixed errors descovered by valgrind 2.4 · 080c8ab3
      unknown authored
      Added suppression file for some valgrind warnings that are not real errors
      
      
      mysql-test/mysql-test-run.sh:
        Added suppression of some valgrind warnings that are not real errors
      mysql-test/r/heap.result:
        Cleanup old tests and added new tests
      mysql-test/t/heap.test:
        Cleanup old tests and added new tests
      mysys/default.c:
        Removed duplicate fn_format()
      scripts/make_binary_distribution.sh:
        Added valgrind suppress file
      sql/ha_federated.cc:
        Ensure that 'socket' is initialized properly
      sql/ha_heap.cc:
        Ensure that with_auto_increment is initialized properly
      sql/mysqld.cc:
        Ensure that create_time is initialized for cached threads
      sql/sql_parse.cc:
        Indentation fix
      strings/decimal.c:
        Fixed wrong tests
      080c8ab3
  13. 29 Mar, 2005 1 commit
  14. 25 Mar, 2005 1 commit
  15. 15 Mar, 2005 1 commit
  16. 18 Feb, 2005 1 commit
    • unknown's avatar
      made IM to work with --defaults-file smoothly · e2d78b85
      unknown authored
      BitKeeper/deleted/.del-my.cnf~9322f78f12eb2f3c:
        Delete: support-files/my.cnf
      include/my_sys.h:
        fixed prototype to reflect changes in default.c
      mysys/default.c:
        use my_search_option_files instead of process_default_option_files. This is used from the IM.
      server-tools/instance-manager/instance.cc:
        added parameter to complete_initialization(). this ine marks whether we are creating the only instance
        (for instance, when no config file given)
      server-tools/instance-manager/instance.h:
        prototype changed
      server-tools/instance-manager/instance_map.cc:
        Now call my_search_option_files to work smootly with --defaults-file
      server-tools/instance-manager/instance_map.h:
        added first_option member. This is set of mysqlmanager was started with --defaults-file or with
        --extra-defaults-file to be passed to the my_search_option_files
      server-tools/instance-manager/instance_options.cc:
        if we have only one instance, name the pidfile `hostname`.pid for compatibility reasons.
      server-tools/instance-manager/instance_options.h:
        header fixed according to .cc
      server-tools/instance-manager/manager.cc:
        prototype fixed
      server-tools/instance-manager/options.cc:
        save --defaults-file of --defaults-extra-file to pass it to my_search_option_files
      server-tools/instance-manager/options.h:
        added an optin to save --default-file options
      support-files/Makefile.am:
        revert changes
      e2d78b85
  17. 12 Jan, 2005 1 commit
  18. 11 Jan, 2005 1 commit
  19. 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
  20. 03 Jan, 2005 1 commit
    • unknown's avatar
      fix for bug #5920 (embedded-server mysql doesn't handle --defaults-file) · d3be3cbc
      unknown authored
      client/mysql.cc:
        bug #5920 (embedded-server mysql doesn't handle --defaults-file)
        defaults files handled
      include/my_sys.h:
        bug #5920 (embedded-server mysql doesn't handle --defaults-file)
        get_defaults_file interface added
      libmysqld/libmysqld.c:
        just small fix, not related to the bug.
      mysys/default.c:
        bug #5920 (embedded-server mysql doesn't handle --defaults-file)
        get_defaults_files implementation
      d3be3cbc
  21. 12 Nov, 2004 2 commits
  22. 11 Nov, 2004 2 commits
  23. 05 Nov, 2004 2 commits
  24. 10 Sep, 2004 1 commit
  25. 06 Sep, 2004 1 commit
  26. 05 Sep, 2004 1 commit
  27. 02 Sep, 2004 1 commit
  28. 30 Aug, 2004 1 commit
    • unknown's avatar
      Please rewiev. Here added a function to process config. files options. · 824acf6e
      unknown authored
      A lot of the default.c module code was refactored. The patch is needed
      for the IM.
      
      
      include/my_sys.h:
        Definitions added.
      mysys/default.c:
        Added new api call: process_default_option_files. Also some coments
        changed to reflect current state of the code. It takes Basename for
        config file and the function to process options. The function is called
        everytime when we find an option. This way it is possible to get and
        process options from several groups in one file traversal.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      824acf6e
  29. 03 Jun, 2004 1 commit
    • unknown's avatar
      Fix skipp -> skip once and for all. · e6b4b304
      unknown authored
      (Note: This affects only comments, not variable names.)
      
      
      extra/perror.c:
        Fix skipp -> skip once and for all.
      heap/hp_hash.c:
        Fix skipp -> skip once and for all.
      isam/_dynrec.c:
        Fix skipp -> skip once and for all.
      isam/isamchk.c:
        Fix skipp -> skip once and for all.
      isam/isamlog.c:
        Fix skipp -> skip once and for all.
      isam/pack_isam.c:
        Fix skipp -> skip once and for all.
      isam/test1.c:
        Fix skipp -> skip once and for all.
      merge/mrg_open.c:
        Fix skipp -> skip once and for all.
      myisam/mi_check.c:
        Fix skipp -> skip once and for all.
      myisam/mi_delete.c:
        Fix skipp -> skip once and for all.
      myisam/mi_key.c:
        Fix skipp -> skip once and for all.
      myisam/mi_search.c:
        Fix skipp -> skip once and for all.
      myisam/myisamlog.c:
        Fix skipp -> skip once and for all.
      mysys/ChangeLog:
        Fix skipp -> skip once and for all.
      mysys/default.c:
        Fix skipp -> skip once and for all.
      mysys/mf_iocache.c:
        Fix skipp -> skip once and for all.
      mysys/mf_iocache2.c:
        Fix skipp -> skip once and for all.
      mysys/mf_pack.c:
        Fix skipp -> skip once and for all.
      mysys/mf_soundex.c:
        Fix skipp -> skip once and for all.
      mysys/mf_wfile.c:
        Fix skipp -> skip once and for all.
      mysys/my_error.c:
        Fix skipp -> skip once and for all.
      mysys/my_getwd.c:
        Fix skipp -> skip once and for all.
      scripts/mysql_find_rows.sh:
        Fix skipp -> skip once and for all.
      sql/sql_yacc.yy:
        Fix skipp -> skip once and for all.
      sql/time.cc:
        Fix skipp -> skip once and for all.
      strings/ctype-big5.c:
        Fix skipp -> skip once and for all.
      strings/ctype-gbk.c:
        Fix skipp -> skip once and for all.
      strings/ctype-tis620.c:
        Fix skipp -> skip once and for all.
      e6b4b304
  30. 25 May, 2004 1 commit
    • unknown's avatar
      Added patches from Novell · b3851363
      unknown authored
      Build-tools/Do-compile:
        Fixed indentation
      configure.in:
        Added patches from Novell
        Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
      extra/perror.c:
        Fixed error number reporting to not report 'Unknown error'
      include/my_global.h:
        Defines to make NETWARE patches cleaner
      include/thr_alarm.h:
        Fixed wrong macro
      netware/mysql_install_db.c:
        Indentation fix
      b3851363
  31. 28 Apr, 2004 1 commit
    • unknown's avatar
      Allow one to send empty strings with mysql_stmt_send_long_data() · ae629fff
      unknown authored
      mysql_stmt_reset() now resets param->long_data_used
      Abort if --defaults-file=path-name uses a non-existing file (Bug #3413)
      Fixed problem with symlink test (bug in 4.1.2)
      
      
      libmysql/libmysql.c:
        Allow one to send empty strings with mysql_stmt_send_long_data()
        mysql_stmt_reset() now resets param->long_data_used
      mysys/default.c:
        Abort if --defaults-file=path-name uses a non-existing file (Bug #3413)
      sql/unireg.cc:
        Fixed problem with symlink test:  .frm table was not properly deleted if handler create failed
      ae629fff
  32. 23 Mar, 2004 1 commit
  33. 20 Mar, 2004 1 commit
  34. 02 Feb, 2004 1 commit
    • unknown's avatar
      just tried to find all 'skipp' and replace it with 'skip'. · f1bfba29
      unknown authored
      client/sql_string.cc:
        skipp -> skip
      dbug/dbug.c:
        skipp -> skip
      myisam/mi_create.c:
        skipp -> skip
      myisam/mi_dynrec.c:
        skipp -> skip
      myisam/mi_packrec.c:
        skipp -> skip
      myisam/mi_rrnd.c:
        skipp -> skip
      myisam/mi_test1.c:
        skipp -> skip
      myisam/myisampack.c:
        skipp -> skip
      myisam/rt_test.c:
        skipp -> skip
      myisam/sp_test.c:
        skipp -> skip
      mysys/default.c:
        skipp -> skip
      mysys/mf_iocache.c:
        skipp -> skip
      mysys/mf_pack.c:
        skipp -> skip
      mysys/mf_wcomp.c:
        skipp -> skip
      mysys/typelib.c:
        skipp -> skip
      sql/filesort.cc:
        skipp -> skip
      sql/item_strfunc.cc:
        skipp -> skip
      sql/mysqld.cc:
        skipp -> skip
      sql/opt_range.h:
        skipp -> skip
      sql/sql_delete.cc:
        skipp -> skip
      sql/sql_select.cc:
        skipp -> skip
      sql/sql_string.cc:
        skipp -> skip
      sql/sql_update.cc:
        skipp -> skip
      strings/ctype-bin.c:
        skipp -> skip
      strings/ctype-simple.c:
        skipp -> skip
      strings/r_strinstr.c:
        skipp -> skip
      strings/strinstr.c:
        skipp -> skip
      strings/strstr.c:
        skipp -> skip
      f1bfba29
  35. 23 Jan, 2004 1 commit