1. 18 May, 2006 1 commit
    • unknown's avatar
      This is an implementation of two WL items: · 325d5947
      unknown authored
        - WL#3158: IM: Instance configuration extensions;
        - WL#3159: IM: --bootstrap and --start-default-instance modes
      
      The following new statements have been added:
        - CREATE INSTANCE;
        - DROP INSTANCE;
      
      The behaviour of the following statements have been changed:
        - SET;
        - UNSET;
        - FLUSH INSTANCES;
        - SHOW INSTANCES;
        - SHOW INSTANCE OPTIONS;
      
      
      BitKeeper/deleted/.del-im_options_set.imtest~b53d9d60e5684833:
        Delete: mysql-test/t/im_options_set.imtest
      BitKeeper/deleted/.del-im_options_set.result~59278f56be61d921:
        Delete: mysql-test/r/im_options_set.result
      BitKeeper/deleted/.del-im_options_unset.imtest~768eb186b51d0048:
        Delete: mysql-test/t/im_options_unset.imtest
      BitKeeper/deleted/.del-im_options_unset.result~20a4790cd3c70a4f:
        Delete: mysql-test/r/im_options_unset.result
      client/get_password.c:
        Change prototype to avoid casting when using C-strings (char *).
      include/m_string.h:
        Moved LEX_STRING to global header from sql/ to be accessible
        from all components (IM for one).
      include/my_sys.h:
        Added constants for modify_defaults_file().
      include/mysql_com.h:
        Removed duplicated declarations. my_sys.h should be used instead.
      libmysql/get_password.c:
        Change prototype to avoid casting when using C-strings (char *).
      mysql-test/mysql-test-run.pl:
        Added environment variables to be used from tests.
      mysql-test/r/im_daemon_life_cycle.result:
        Column name has been changed in SHOW INSTANCES.
      mysql-test/r/im_life_cycle.result:
        1. Column name has been changed in SHOW INSTANCES.
        2. Removed redundant SHOW INSTANCE STATUS statements.
      mysql-test/r/im_utils.result:
        Updated the result file.
      mysql-test/t/im_daemon_life_cycle-im.opt:
        Set minimal monitoring interval for Instance Manager to speed up testing.
      mysql-test/t/im_daemon_life_cycle.imtest:
        Get Instance Manager and managed mysqld-instances enough time to start.
      mysql-test/t/im_life_cycle.imtest:
        1. Polishing;
        2. Fixed a test error in 1.1.2.
      mysql-test/t/im_utils.imtest:
        Get Instance Manager and managed mysqld-instances enough time to start.
      mysys/default.c:
        Pass the name of the section to the handler function as well.
      mysys/default_modify.c:
        Added REMOVE_SECTION functionality.
      server-tools/instance-manager/IMService.cpp:
        Polishing: be more verbose.
      server-tools/instance-manager/IMService.h:
        Polishing: added copyright.
      server-tools/instance-manager/Makefile.am:
        Added new files.
      server-tools/instance-manager/WindowsService.cpp:
        Polishing: according to The Coding Style, TRUE/FALSE must be
        used instead of true/false.
      server-tools/instance-manager/WindowsService.h:
        Polishing: added copyright.
      server-tools/instance-manager/command.h:
        Polishing: provide a comment for the main operation of "Command" class.
      server-tools/instance-manager/commands.cc:
        1. Added support for CREATE INSTANCE, DROP INSTANCE statements;
        2. Added "deprecated" column in output of SHOW INSTANCE OPTIONS;
        3. Modified the behaviour of SET/UNSET, FLUSH INSTANCES statements;
      server-tools/instance-manager/commands.h:
        1. Added support for CREATE INSTANCE, DROP INSTANCE statements;
        2. Added "deprecated" column in output of SHOW INSTANCE OPTIONS;
        3. Modified the behaviour of SET/UNSET, FLUSH INSTANCES statements;
      server-tools/instance-manager/guardian.cc:
        Added operations to retrieve state of managed instances.
      server-tools/instance-manager/guardian.h:
        Added operations to retrieve state of managed instances.
      server-tools/instance-manager/instance.cc:
        1. Provided an operation to check validity of instance name.
        2. Added an attribute to distiguish mysqld-instances,
           whose configuration should be kept backward-compatible.
      server-tools/instance-manager/instance.h:
        1. Provided an operation to check validity of instance name.
        2. Added an attribute to distiguish mysqld-instances,
           whose configuration should be kept backward-compatible.
      server-tools/instance-manager/instance_map.cc:
        1. Used the operation to check validity of instance name;
        2. Added operations to manage instances.
      server-tools/instance-manager/instance_map.h:
        Added operations to manage instances.
      server-tools/instance-manager/instance_options.cc:
        Changed Instance_options so that it will be possible to manage
        options on the fly.
      server-tools/instance-manager/instance_options.h:
        Changed Instance_options so that it will be possible to manage
        options on the fly.
      server-tools/instance-manager/listener.cc:
        1. Remove reference to the instance of Options;
        2. Use new Options naming scheme.
      server-tools/instance-manager/listener.h:
        Remove reference to the instance of Options;
      server-tools/instance-manager/log.cc:
        Polishing: use TRUE/FALSE instead of true/false.
      server-tools/instance-manager/manager.cc:
        Added a common for IM operation to work with configuration file.
      server-tools/instance-manager/manager.h:
        Added a common for IM operation to work with configuration file.
      server-tools/instance-manager/messages.cc:
        Added messages for new errors.
      server-tools/instance-manager/mysql_connection.cc:
        1. Move a constant to common place.
        2. Polishing.
      server-tools/instance-manager/mysql_manager_error.h:
        Added new errors.
      server-tools/instance-manager/mysqlmanager.cc:
        1. Use error code from Options::load();
        2. Eliminate type-casting warning on Windows.
      server-tools/instance-manager/options.cc:
        Added support for user-management command-line options.
      server-tools/instance-manager/options.h:
        Added support for user-management command-line options.
      server-tools/instance-manager/parse.cc:
        1. Added support of new statements:
           - CREATE INSTANCE;
           - DROP INSTANCE.
        2. Modified SET/UNSET.
      server-tools/instance-manager/parse.h:
        1. Added support of new statements:
           - CREATE INSTANCE;
           - DROP INSTANCE.
        2. Modified SET/UNSET.
      server-tools/instance-manager/parse_output.cc:
        Sorted out header files.
      server-tools/instance-manager/parse_output.h:
        Sorted out header files.
      server-tools/instance-manager/portability.h:
        1. Added constants for Windows.
        2. Moved system-dependent defines from instance_options.cc.
      server-tools/instance-manager/priv.cc:
        Updated version.
      server-tools/instance-manager/priv.h:
        Added some global constants.
      server-tools/instance-manager/protocol.cc:
        Replaced NAME_WITH_LENGTH by LEX_STRING.
      server-tools/instance-manager/protocol.h:
        Replaced NAME_WITH_LENGTH by LEX_STRING.
      server-tools/instance-manager/thread_registry.cc:
        Polishing: use TRUE/FALSE instead of true/false.
      server-tools/instance-manager/user_map.cc:
        Added support for managing password database.
      server-tools/instance-manager/user_map.h:
        Added support for managing password database.
      sql/sp.cc:
        Replaced LEX_STRING_WITH_INIT by LEX_STRING + struct initialization.
      sql/sp_head.cc:
        Replaced LEX_STRING_WITH_INIT by LEX_STRING + struct initialization.
      sql/spatial.cc:
        Removed LEX_STRING_WITH_INIT.
      sql/spatial.h:
        Removed LEX_STRING_WITH_INIT.
      sql/sql_string.h:
        Moved STRING_WITH_LEN() macro out from sql (to m_string.h).
      sql/sql_trigger.cc:
        Moved STRING_WITH_LEN() macro out from sql (to m_string.h).
      sql/structs.h:
        Removed LEX_STRING_WITH_INIT.
      support-files/mysql.server.sh:
        Instruct Instance Manager to work in mysqld-safe compatible mode
        for backward compatibility.
      mysql-test/r/im_cmd_line.result:
        Added result file.
      mysql-test/r/im_instance_conf.result:
        Added result file.
      mysql-test/r/im_options.result:
        Added result file.
      mysql-test/t/im_cmd_line.imtest:
        IM command-line options test.
      mysql-test/t/im_instance_conf-im.opt:
        Set minimal monitoring interval for Instance Manager to speed up testing.
      mysql-test/t/im_instance_conf.imtest:
        Added a new test case for checking instance-management.
      mysql-test/t/im_life_cycle-im.opt:
        Set minimal monitoring interval for Instance Manager to speed up testing.
      mysql-test/t/im_options.imtest:
        Join im_options_set and im_options_unset and add new tests.
      mysql-test/t/im_utils-im.opt:
        Set minimal monitoring interval for Instance Manager to speed up testing.
      server-tools/instance-manager/exit_codes.h:
        New file for defining exit codes for user-management mode.
      server-tools/instance-manager/user_management_commands.cc:
        User-management commands implementation.
      server-tools/instance-manager/user_management_commands.h:
        User-management command declarations.
      325d5947
  2. 15 Apr, 2006 1 commit
    • unknown's avatar
      Another long patch to remove the rest of the OS2 support. · 04cd4791
      unknown authored
      include/config-win.h:
        Removing OS2 stuff
      include/errmsg.h:
        Removing OS2 stuff
      include/m_string.h:
        OS2 removal
      include/my_global.h:
        OS2 removal
      include/my_net.h:
        OS2 removal
      include/my_no_pthread.h:
        OS2 removal
      include/my_pthread.h:
        OS2 removal
      include/thr_alarm.h:
        OS2 removal
      mysys/default.c:
        OS2 removal
      mysys/mf_path.c:
        OS2 removal
      mysys/mf_tempdir.c:
        OS2 removal
      mysys/mf_tempfile.c:
        OS2 removal
      mysys/my_access.c:
        OS2 removal
      mysys/my_clock.c:
        OS2 removal
      mysys/my_copy.c:
        OS2 removal
      mysys/my_create.c:
        OS2 removal
      mysys/my_dup.c:
        OS2 removal
      mysys/my_file.c:
        OS2 removal
      mysys/my_getwd.c:
        OS2 removal
      mysys/my_init.c:
        OS2 removal
      mysys/my_lib.c:
        OS2 removal
      mysys/my_lock.c:
        OS2 removal
      mysys/my_mkdir.c:
        OS2 removal
      mysys/my_open.c:
        OS2 removal
      mysys/my_pthread.c:
        OS2 removal
      mysys/my_redel.c:
        OS2 removal
      mysys/my_sleep.c:
        OS2 removal
      mysys/my_static.c:
        OS2 removal
      mysys/my_thr_init.c:
        OS2 r...
      04cd4791
  3. 10 Apr, 2006 1 commit
    • unknown's avatar
      Bug#15069 [patch] my_print_defaults does'nt care --sysconfdir · 199752c4
      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
      199752c4
  4. 30 Sep, 2005 1 commit
  5. 20 Sep, 2005 1 commit
  6. 09 Sep, 2005 1 commit
    • unknown's avatar
      A fix (bug #12917: The --defaults-extra-file option is ignored by the 5.0 client binaries). · e54ccb5b
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        A fix (bug #12917: The --defaults-extra-file option is ignored by the 5.0 client binaries).
        MYSQL_MY_PRINT_DEFAULTS added
      mysql-test/mysql-test-run.sh:
        A fix (bug #12917: The --defaults-extra-file option is ignored by the 5.0 client binaries).
        MYSQL_MY_PRINT_DEFAULTS added
      mysys/default.c:
        A fix (bug #12917: The --defaults-extra-file option is ignored by the 5.0 client binaries).
        Set defaults_extra_file as we use it widely.
      e54ccb5b
  7. 29 Jul, 2005 1 commit
    • unknown's avatar
      Ensure we free all items for prepared statements · 3bd6699f
      unknown authored
      Before the fix in ~Prepared_statments we got a memory leak when executing mysql_client_test.test
      Note that test 'variables.test' fails.
      This will be fixed when Jimw pushes the fix for Bug 10351
      
      
      mysys/default.c:
        Fixed typo
      sql/item.cc:
        More debugging information
      sql/sql_prepare.cc:
        More debugging information
        Ensure we free all items for prepared statements
        Before the fix in ~Prepared_statments we got a memory leak when executing mysql_client_test.test
      3bd6699f
  8. 28 Jul, 2005 1 commit
    • unknown's avatar
      Cleanups during review of new code · c8e2aee9
      unknown authored
      Ensure mysql_close() is called if mysql_set_character_set() fails
      
      
      libmysql/libmysql.c:
        Indentation cleanup
      mysql-test/r/select.result:
        Fix bad merge & align code with 4.1
      mysql-test/r/type_newdecimal.result:
        Added test of extreme case
      mysql-test/t/select.test:
        Fix bad merge & align code with 4.1
      mysql-test/t/type_newdecimal.test:
        Added test of extreme case
      mysys/charset.c:
        Removed not used variable
      mysys/default.c:
        Simplify code
      sql-common/client.c:
        Ensure mysql_close() is called if mysql_set_character_set() fails
      sql/log.cc:
        strmov(strmov())  -> strxmov()
      sql/sp.cc:
        Indentation fixes
      sql/sql_acl.cc:
        Indentation fixes
      sql/sql_base.cc:
        Added commments
        Moved variable to inner block
      sql/sql_show.cc:
        Simple optimization (removed loop variable)
      sql/sql_trigger.cc:
        strmov(strmov())  -> strxmov()
      strings/decimal.c:
        Indentation fixes
      c8e2aee9
  9. 18 Jul, 2005 1 commit
    • unknown's avatar
      Cleanups during review · 2e9d6d7e
      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()
      2e9d6d7e
  10. 06 Jul, 2005 1 commit
    • unknown's avatar
      Look in the directory above the executable for the my.cnf/ini, on Windows, as · 2633158e
      unknown authored
      the new installer and GUI tools expect. (Bug #10419) Also, dynamically bind to
      GetSystemWindowsDirectory() so that it works on all platforms. (Bug #5354)
      
      
      mysys/default.c:
        Dynamically bind to GetSystemWindowsDirectory() or emulate it, and also look
        in directory above the executable to find my.cnf/ini on Windows.
      2633158e
  11. 13 Jun, 2005 1 commit
    • unknown's avatar
      fixes for windows 64-bit compiler warnings · f16f0b2a
      unknown authored
      heap/hp_hash.c:
        fix for windows 64-bit compiler warnings
      heap/hp_update.c:
        fix for windows 64-bit compiler warnings
      mysys/default.c:
        fix for windows 64-bit compiler warnings
      mysys/default_modify.c:
        fix for windows 64-bit compiler warnings
      mysys/mf_iocache.c:
        fix for windows 64-bit compiler warnings
      mysys/mf_keycache.c:
        fix for windows 64-bit compiler warnings
      mysys/my_alloc.c:
        fix for windows 64-bit compiler warnings
      mysys/my_getopt.c:
        fix for windows 64-bit compiler warnings
      mysys/my_mmap.c:
        fix for windows 64-bit compiler warnings
      mysys/my_once.c:
        fix for windows 64-bit compiler warnings
      mysys/string.c:
        fix for windows 64-bit compiler warnings
      sql-common/client.c:
        fix for windows 64-bit compiler warnings
      sql/field.cc:
        fix for windows 64-bit compiler warnings
      sql/gstream.cc:
        fix for windows 64-bit compiler warnings
      sql/ha_myisam.cc:
        fix for windows 64-bit compiler warnings
      sql/ha_myisammrg.cc:
        fix for windows 64-bit compiler warn...
      f16f0b2a
  12. 07 Jun, 2005 1 commit
  13. 06 Jun, 2005 1 commit
    • unknown's avatar
      fixes for compiler warnings from VC6 · dd00eae5
      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
      dd00eae5
  14. 18 May, 2005 3 commits
    • unknown's avatar
      New file default_modify.c. Fixed a typo on mysqld.cc · 1150c4aa
      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.
      1150c4aa
    • unknown's avatar
      fix comments · 4cadc15e
      unknown authored
      server-tools/instance-manager/commands.cc:
        fix column name
      4cadc15e
    • unknown's avatar
      default.c: · 294a1f5d
      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
      294a1f5d
  15. 16 May, 2005 1 commit
  16. 15 May, 2005 1 commit
    • unknown's avatar
      post-review fixes · 7317af46
      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
      s...
      7317af46
  17. 12 May, 2005 1 commit
  18. 06 May, 2005 1 commit
  19. 04 May, 2005 1 commit
  20. 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) · f301f8f2
      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)
      f301f8f2
  21. 28 Apr, 2005 1 commit
    • unknown's avatar
      Add default configuration files to my_print_defaults usage, and · f9fdc432
      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.
      f9fdc432
  22. 26 Apr, 2005 1 commit
    • unknown's avatar
      Cleanups during review · 2ff5273b
      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
      2ff5273b
  23. 13 Apr, 2005 1 commit
    • unknown's avatar
      post review fix · af22097f
      unknown authored
      mysys/default.c:
        cleanup + check for the last line in the file in "!include" directive processing
      af22097f
  24. 06 Apr, 2005 1 commit
    • unknown's avatar
      Fixed errors descovered by valgrind 2.4 · 752c8b97
      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
      752c8b97
  25. 29 Mar, 2005 1 commit
  26. 25 Mar, 2005 1 commit
  27. 15 Mar, 2005 1 commit
  28. 18 Feb, 2005 1 commit
    • unknown's avatar
      made IM to work with --defaults-file smoothly · 94cefae6
      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
      94cefae6
  29. 12 Jan, 2005 1 commit
  30. 11 Jan, 2005 1 commit
  31. 04 Jan, 2005 1 commit
    • unknown's avatar
      Added checking for my.cnf file from environment variable MYSQL_HOME · 652f1dd2
      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.
      652f1dd2
  32. 03 Jan, 2005 1 commit
    • unknown's avatar
      fix for bug #5920 (embedded-server mysql doesn't handle --defaults-file) · da04be23
      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
      da04be23
  33. 12 Nov, 2004 2 commits
  34. 11 Nov, 2004 2 commits
  35. 05 Nov, 2004 2 commits