An error occurred fetching the project authors.
  1. 06 Jan, 2005 1 commit
  2. 05 Jan, 2005 1 commit
    • unknown's avatar
      Fix "mysqladmin password" to use correct password scrambling function when · 190f7a6f
      unknown authored
      talking to pre-4.1 servers or 4.1 and later servers where the old_passwords
      option is enabled. "mysqladmin old-password" is unchanged. (Bug #7451)
      
      
      client/mysqladmin.cc:
        Check old_passwords from server, and use that to determine
        which scramble function to use (except in the case of the
        old-password command, which always use the old scramble function).
      190f7a6f
  3. 02 Dec, 2004 1 commit
    • unknown's avatar
      Fix for Bug#6377 "Password Generation Discrepancy" · 29b3ae4d
      unknown authored
      client/mysqladmin.cc:
        Fix for Bug#6377 "Password Generation Discrepancy":
        this is not a MySQL bug.
        The problem is that Windows command line client doesn't trim single quotes
        from arguments, as any UNIX shell does.
        The fix just checks for this condition and gives a warning if it is true.
      29b3ae4d
  4. 29 Nov, 2004 1 commit
    • unknown's avatar
      Applied some Netware related patches. · 41ade141
      unknown authored
      client/mysqladmin.cc:
        Added option to mysqladmin for Netware.
      netware/comp_err.def:
        Copyright notice update, for Netware.
      netware/isamchk.def:
        Copyright notice update, for Netware.
      netware/isamlog.def:
        Copyright notice update, for Netware.
      netware/libmysql.def:
        Copyright notice update, for Netware.
      netware/my_print_defaults.def:
        Copyright notice update, for Netware.
      netware/myisam_ftdump.def:
        Copyright notice update, for Netware.
      netware/myisamchk.def:
        Copyright notice update, for Netware.
      netware/myisamlog.def:
        Copyright notice update, for Netware.
      netware/myisampack.def:
        Copyright notice update, for Netware.
      netware/mysql.def:
        Copyright notice update, for Netware.
      netware/mysql_install.def:
        Copyright notice update, for Netware.
      netware/mysql_install_db.def:
        Copyright notice update, for Netware.
      netware/mysql_test_run.def:
        Copyright notice update, for Netware.
      netware/mysql_waitpid.def:
        Copyright notice update, for Netware.
      netware/mysqladmin.def:
        Copyright notice update, for Netware.
      netware/mysqlbinlog.def:
        Copyright notice update, for Netware.
      netware/mysqlcheck.def:
        Copyright notice update, for Netware.
      netware/mysqld.def:
        Copyright notice update, for Netware.
      netware/mysqld_safe.def:
        Copyright notice update, for Netware.
      netware/mysqldump.def:
        Copyright notice update, for Netware.
      netware/mysqlimport.def:
        Copyright notice update, for Netware.
      netware/mysqlshow.def:
        Copyright notice update, for Netware.
      netware/mysqltest.def:
        Copyright notice update, for Netware.
      netware/pack_isam.def:
        Copyright notice update, for Netware.
      netware/perror.def:
        Copyright notice update, for Netware.
      netware/replace.def:
        Copyright notice update, for Netware.
      netware/resolve_stack_dump.def:
        Copyright notice update, for Netware.
      netware/resolveip.def:
        Copyright notice update, for Netware.
      sql/mysqld.cc:
        Changes to fix the abend on NetWare on recieving the server down and volume deactivation 
        events. Do not join for the main thread if these events occur
      41ade141
  5. 19 Nov, 2004 1 commit
    • unknown's avatar
      Makefile.am, mysqladmin.cc: · 724697f5
      unknown authored
        reverting linking ndbclisnt to mysqladmin.cc
      
      
      client/mysqladmin.cc:
        reverting linking ndbclisnt to mysqladmin.cc
      client/Makefile.am:
        reverting linking ndbclisnt to mysqladmin.cc
      724697f5
  6. 18 Nov, 2004 2 commits
    • unknown's avatar
      fix for mysqladmin link problem · 75431a2e
      unknown authored
           .c -> .cc
          fix source dist problem for ndb
          fix type check problem for mysqladmin
      
      
      
      client/Makefile.am:
        fix for mysqladmin link problem
         .c -> .cc
      client/mysqladmin.cc:
        fix for mysqladmin link problem
         .c -> .cc
      configure.in:
        fix for mysqladmin link problem
         .c -> .cc
      ndb/include/Makefile.am:
        fix source dist problem for ndb
      ndb/src/mgmclient/CommandInterpreter.cpp:
        fix type check problem
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        fix type check problem
      ndb/src/mgmclient/ndb_mgmclient.h:
        fix type check problem
      75431a2e
    • unknown's avatar
      changed mysqladmin.c to mysqladmin.cc · 22b56d23
      unknown authored
          no need for dvlags to have DEFINE_CXA_PURE_VIRTUAL anymore
          aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
          removed all dependencies of LocalConfig, except for mgmapi internals
          enabled multiple management servrs to fetch data configurations from eachother
      
      
      client/Makefile.am:
        changed mysqladmin.c to mysqladmin.cc
      client/mysqladmin.cc:
        changed mysqladmin.c to mysqladmin.cc
      configure.in:
        no need for dvlags to have DEFINE_CXA_PURE_VIRTUAL anymore
      ndb/include/mgmapi/mgmapi.h:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/kernel/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/kernel/vm/Configuration.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
        changed to config setting to always use noOfMetaTables to make sure we don't overflow arrays
      ndb/src/kernel/vm/Configuration.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/LocalConfig.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/LocalConfig.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmapi/mgmapi.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/CommandInterpreter.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmclient/ndb_mgmclient.h:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
        enabled multiple management servrs to fetch data configurations from eachother
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/mgmsrv/main.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      ndb/tools/waiter.cpp:
        aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
        removed all dependencies of LocalConfig, except for mgmapi internals
      22b56d23
  7. 15 Nov, 2004 1 commit
    • unknown's avatar
      changed compile order, mysqladmin with ndbcluster extensions needs ndb to be compiled first · 595d467d
      unknown authored
          added libs variable for ndbmgmclient used by mysqladmin
          add linkage with @ndb_mgmclient_libs@
          additional options for ndbcluster
          added support for managing the cluster to mysqladmin
          added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
          use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      
      
      Makefile.am:
        changed compile order, mysqladming with ndbcluster extensions needs ndb to be compiled first
      acinclude.m4:
        added libs variable for ndbmgmclient used by mysqladmin
      client/Makefile.am:
        add linkage with @ndb_mgmclient_libs@
      client/client_priv.h:
        additional options for ndbcluster
      client/mysqladmin.c:
        added support for managing the cluster to mysqladmin
      configure.in:
        added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
      include/my_global.h:
        use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      595d467d
  8. 05 Nov, 2004 1 commit
    • unknown's avatar
      mysqladmin.c: · c52f3942
      unknown authored
        Missing initialized for "lengths" element.
        ,
      
      
      client/mysqladmin.c:
        Missing initialized for "lengths" element.
        ,
      c52f3942
  9. 07 Oct, 2004 1 commit
  10. 08 Sep, 2004 1 commit
  11. 31 Aug, 2004 1 commit
    • unknown's avatar
      Added global my_getopt_error_reporter function pointer which is · c9394a0f
      unknown authored
      used in the handle_options() function (instead of using additional 
      handle_option() parameter). The default value of the 
      my_getopt_error_reporter is default_reporter(). One can set it to
      other functions if case of need.
      
      
      client/mysql.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqladmin.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlbinlog.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqlcheck.c:
        Removed extra handle_optins()'s parameter.
      client/mysqldump.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlimport.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanager-pwgen.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanagerc.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlshow.c:
        Removed extra handle_optins()'s parameter.
      client/mysqltest.c:
        Removed extra handle_optins()'s parameter.
      extra/my_print_defaults.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_install.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_waitpid.c:
        Removed extra handle_optins()'s parameter.
      extra/perror.c:
        Removed extra handle_optins()'s parameter.
      extra/resolve_stack_dump.c:
        Removed extra handle_optins()'s parameter.
      extra/resolveip.c:
        Removed extra handle_optins()'s parameter.
      include/my_getopt.h:
        Removed extra handle_optins()'s parameter.
      isam/isamchk.c:
        Removed extra handle_optins()'s parameter.
      isam/pack_isam.c:
        Removed extra handle_optins()'s parameter.
      myisam/mi_test1.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisam_ftdump.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisamchk.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisampack.c:
        Removed extra handle_optins()'s parameter.
      sql/gen_lex_hash.cc:
        Removed extra handle_optins()'s parameter.
      sql/mysqld.cc:
        Removed extra handle_optins()'s parameter.
      tools/mysqlmanager.c:
        Removed extra handle_optins()'s parameter.
      c9394a0f
  12. 30 Aug, 2004 1 commit
  13. 24 Aug, 2004 1 commit
    • unknown's avatar
      more accurate processing of find_type result · 84648dfb
      unknown authored
      (Bug #4998 --protocol doesn't reject bad values)
      
      
      client/mysql.cc:
        more accurate processing of find_type result
      client/mysqladmin.c:
        more accurate processing of find_type result
      client/mysqlbinlog.cc:
        more accurate processing of find_type result
      client/mysqlcheck.c:
        more accurate processing of find_type result
      client/mysqldump.c:
        more accurate processing of find_type result
      client/mysqlimport.c:
        more accurate processing of find_type result
      client/mysqlshow.c:
        more accurate processing of find_type result
      sql-common/client.c:
        more accurate processing of find_type result
      84648dfb
  14. 23 Aug, 2004 1 commit
  15. 14 Aug, 2004 1 commit
    • unknown's avatar
      mysql_priv.h: · 767d880f
      unknown authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      
      
      VC++Files/sql/mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      client/mysqladmin.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlcheck.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqldump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlimport.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanager-pwgen.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanagerc.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlbinlog.cc:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlshow.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqltest.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/my_print_defaults.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_install.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_waitpid.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/perror.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolve_stack_dump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolveip.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/isamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/pack_isam.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/mi_test1.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisam_ftdump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisampack.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      include/my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysys/my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      tools/mysqlmanager.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      sql/mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      sql/log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      sql/gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      sql/mysql_priv.h:
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      767d880f
  16. 15 Jun, 2004 1 commit
    • unknown's avatar
      API change: mysql_shutdown() now needs a 2nd parameter, the shutdown level. · aba49a6c
      unknown authored
      Server will however still accept shutdown without specified level; so that old
      mysqladmin can still shut server down.
      I would like your comments on the names of shutdown level which I chose. You
      are welcome to propose better names. Please however check WL#709 before.
      Reason for the names I propose is to be accurate, thus leaving possibility
      for other levels which we may imagine in the future; that's why I have rejected
      names like "fast", "smart", "graceful" so far. My position is that WAIT_ALL_BUFFERS
      or WAIT_CRITICAL_BUFFERS say what the shutdown does, whereas for "smart", "fast" you
      need to remember what it does.
      This should be pushed in 4.1.3 but only after your comments.
      
      
      client/mysqladmin.c:
        2nd parameter for mysql_shutdown()
      include/mysql.h:
        2nd paramater for mysql_shutdown()
      include/mysql_com.h:
        4 types of shutdown
      libmysql/libmysql.c:
        passing the requested shutdown level
      sql/sql_parse.cc:
        check for the shutdown level in dispatch_command(). Though its value is ignored for now.
      tools/mysqlmanager.c:
        2nd parameter to mysql_shutdown
      aba49a6c
  17. 27 May, 2004 1 commit
    • unknown's avatar
      Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should · 2d1384e4
      unknown authored
      produce hex digits in lower case). (fixed version)
      
      Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
      Added extra argument to int2str function which controls case of digits you get.
      Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
      function.
      Removed unused my_itoa/my_ltoa functions.
      
      
      client/mysql.cc:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      client/mysqladmin.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      dbug/dbug.c:
         _dig_vec became _dig_vec_upper.
      include/m_string.h:
        _dig_vec is obsoleted by _dig_vec_upper/_dig_vec_lower.
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
        int2str() now has one more argument which controls case of digits it will produce.
      include/my_global.h:
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
      isam/isamchk.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      libmysql/libmysql.def:
        _dig_vec is obsoleted by _dig_vec_upper/_dig_vec_lower.
      myisam/myisamchk.c:
        Replaced int2str invocation with radix argument equal to 10 with optimized int10_to_str()
        call.
      mysys/mf_tempfile.c:
        _dig_vec became _dig_vec_upper.
      mysys/my_error.c:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      mysys/my_tempnam.c:
        _dig_vec became _dig_vec_upper.
      sql-common/client.c:
        Replaced int2str invocation with radix argument equal to 10 with optimized int10_to_str()
        call.
      sql/item_strfunc.cc:
        _dig_vec became _dig_vec_upper. Also we don't need hex[] array in this file now because we
        have _dig_vec_lower instead.
      sql/mysqld.cc:
        Replaced int2str invocations with radix argument equal to 10 with optimized int10_to_str()
        call.
      sql/password.c:
        _dig_vec became _dig_vec_upper.
      sql/sql_bitmap.h:
        _dig_vec became _dig_vec_upper.
      strings/int2str.c:
        Replaced _dig_vec by _dig_vec_upper/_dig_vec_lower pair.
        int2str() now has one more argument which controls case of digits it will produce.
        my_itoa()/my_ltoa() functions were removed because they were never used in our code.
      strings/longlong2str-x86.s:
        _dig_vec became _dig_vec_upper.
      strings/longlong2str.c:
        _dig_vec became _dig_vec_upper.
      strings/my_vsnprintf.c:
        If my_snprintf() is printing %x argument it should produce lower case hexadecimal digits
        to be snprintf() compatible.
      2d1384e4
  18. 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
  19. 16 Mar, 2004 2 commits
  20. 04 Mar, 2004 1 commit
  21. 26 Feb, 2004 1 commit
    • unknown's avatar
      fix for bug #2905 - · cae2503b
      unknown authored
      "mysqladmin.c & co fail to use MYSQL_PORT as the default value of the TCP/IP port"
      
      
      client/mysqladmin.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/mysqltest.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/thread_test.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cae2503b
  22. 24 Feb, 2004 1 commit
  23. 01 Jul, 2003 1 commit
    • unknown's avatar
      First version of new authentification procedure: now authentification is... · dbb088b0
      unknown authored
      First version of new authentification procedure: now authentification is one-stage (instead of two-stage in 4.1)
      
      For now following tasks have been done:
      - PASSWORD() function was rewritten. PASSWORD() now returns SHA1
        hash_stage2; for new passwords user.password contains '*'hash_stage2; sql_yacc.yy also fixed; 
      
      - password.c: new functions were implemented, old rolled back to 4.0 state
      
      - server code was rewritten to use new authorization algorithm (check_user(), change
        user, and other stuff in sql/sql_parse.cc)
      
      - client code was rewritten to use new authorization algorithm
        (mysql_real_connect, myslq_authenticate in sql-common/client.c)
      
      - now server barks on 45-byte-length 4.1.0 passwords and refuses 4.1.0-style
        authentification. Users with 4.1.0 passwords are blocked (sql/sql_acl.cc)
      
      - mysqladmin.c was fixed to work correctly with new passwords
      
      Tests for 4.0-4.1.1, 4.1.1-4.1.1 (with or without db/password) logons was performed;
      mysqladmin also was tested. Additional check are nevertheless necessary.
      
      
      BitKeeper/etc/ignore:
        Added start_mysqld.sh mysys/main.cc to the ignore list
      client/mysqladmin.c:
        fixed with new password api
      include/mysql.h:
        So as scramble_323 accepts only null-terminated message, two scramble buffs are necessary.
        gotta be fixed
      include/mysql_com.h:
        new constants and password.c api changes
      libmysql/libmysql.c:
        mysql_change_user rewritten to work with new password api
      scripts/mysql_create_system_tables.sh:
        fixed 'Password' column length to 41
      scripts/mysql_fix_privilege_tables.sql:
        fixed 'Password' column length to 41
      sql-common/client.c:
        mysql_real_connect rewritten to support new handshake procedure
      sql/item_strfunc.cc:
        Item_func_password and Item_func_old_password rewritten with new password api
      sql/item_strfunc.h:
        bit commented, numbers replaced with #defined constants
      sql/mysql_priv.h:
        removed unnecessary declaration as now all constants defined is in mysql_com.h
      sql/mysqld.cc:
        scramble initialization moved to sql_parce.cc:check_connection
      sql/password.c:
        All 4.1 functions were rolled back to 4.0 with attempt to save all possible 4.0-4.1 changes.
        Names for 4.0 functions were suffixed with '_323'
        Functions for new handshake were added.
      sql/slave.cc:
        Fixed to new constant; Bug #766 remains to be fixed
      sql/slave.h:
        fixed to new constant; Buf #766 remains to be fixed
      sql/sql_acl.cc:
        rewritten to support new passwords (41 byte-long) and password api
      sql/sql_acl.h:
        ditto
      sql/sql_class.cc:
        initialization for new members added
      sql/sql_class.h:
        same thing as in struct mysql - scramble is used for new family of functions, scramble_323 - for old
      sql/sql_parse.cc:
        check_connections was renamed to check_connection as this name reflects better what this function does
        authorization part of check_connection was rewritten
        check_user was rewritten with new password and acl api
        new function 'authenticate', which optionally re-request scramble from client was added
        fixed some typos
        COM_CHANGE_USER piece of dipsatch_command() was rewritten
      sql/sql_repl.h:
        HASH_PASSWORD_LENGTH replaced with SCRAMBLED_PASSWORD_CHAR_LENGTH
        bug #766 remains
      sql/sql_yacc.yy:
        Two-argument form of PASSWORD() was removed
        PASSWORD() function was fixed with new password api.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      dbb088b0
  24. 13 Jun, 2003 1 commit
  25. 15 May, 2003 1 commit
    • unknown's avatar
      changes to mysqladmin : use queries instead of commands (so that they have a chance to go · 80c1556a
      unknown authored
      into the binlog), SLAVE START -> START SLAVE, error test changes.
      
      
      client/mysqladmin.c:
        Now that FLUSH TABLES and some other FLUSH go into the binlog, the same commands
        issued from mysqladmin should also go into the binlog. How could I explain to
        a user that "mysql -e 'flush tables'" is not exactly the same as "mysqladmin
        flush-tables" ?? So I replace mysql_refresh() by mysql_query().
        Also SLAVE START -> START SLAVE to make this work with 4.1 (it won't work with
        3.23 anymore).
        Also the code tested for mysql_refresh() < 0 for errors, but this cannot happen :
        - mysql_refresh() calls simple_command()
        - in 4.1 the return type of simple_command() is my_bool, and I have checked the 4.1 libmysql
        code and it returns 0 or 1, not negative values.
        - note that in 4.0 libmysql, simple_command() returns int which can be < 0, but we don't
        care here as we link the 4.1 mysqladmin with the 4.1 libmysql.
        Btw, some other parts of the code already checked
        for mysql_refresh() != 0, not < 0. So now it's homogenous : we always test for != 0
        instead of < 0.
      80c1556a
  26. 24 Jan, 2003 1 commit
  27. 07 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes · b3b66f64
      unknown authored
      Fixed test suite for HPUX 10.20 and MacOSX
      
      
      Build-tools/Do-compile:
        Added timeout to mysqladmin shutdown commands
        Kill old running mysqld started by earlier runs
        Removed run time warning from LD_LIBRARY_PATH
      client/mysqladmin.c:
        Return 1 if pid file isn't deleted on shutdown.
        Fix error message if pid file is not deleted
      client/mysqltest.c:
        Always allow --debug flag
        (Makes it easier to run mysql-test-run)
      mysql-test/mysql-test-run.sh:
        A lot of safety fixes. 
        This fixes some problems with test suite for HPUX 10.20 and MacOSX
      sql-bench/bench-init.pl.sh:
        Allow tests to change time limit.
      sql-bench/crash-me.sh:
        Indentation cleanups
        Added DROP for a created table
      sql-bench/test-alter-table.sh:
        Added default time limit
        Changed test to be estimated to get down run time.
        Fixed that add_multi_col is detected
      sql-bench/test-insert.sh:
        Comment cleanup
      sql/mysql_priv.h:
        Removed not needed prototype.
      sql/mysqld.cc:
        Removed DBUG warnings
        Removed default argument for clean_up() and made it static.
        More comments.
        Ignore SIGHUP during shutdown
      sql/net_pkg.cc:
        More comments
      sql/slave.cc:
        Added DBUG_PRINT messages
      b3b66f64
  28. 05 Dec, 2002 1 commit
    • unknown's avatar
      Basically minor code optimizations and cleanups · 339cf7ce
      unknown authored
      client/mysqladmin.c:
        fix folding
      libmysql/libmysql.c:
        Minor optimizations
      sql/mini_client.cc:
        Minor optimizations
      sql/password.c:
        Optimiations
      sql/sql_acl.cc:
        Get rid of stage parameter and flag old passwords with '*' instead of zero
      sql/sql_acl.h:
        fix prototype
      sql/sql_parse.cc:
        Minor optimizations
      339cf7ce
  29. 04 Dec, 2002 1 commit
    • unknown's avatar
      SCRAM Remove spaces from most changed files. · 5c377fc0
      unknown authored
      This alters not only my code so it looks like I'm not only one adding the spaces.
      
      
      
      client/mysqladmin.c:
        cut spaces
      include/mysql_com.h:
        cut soaces
      sql/item_strfunc.cc:
        cut spaces
      sql/mini_client.cc:
        cut spaces
      sql/mysql_priv.h:
        cut spaces
      sql/mysqld.cc:
        cut spaces
      sql/password.c:
        cut spaces
      sql/sql_parse.cc:
        cut spaces
      sql/sql_yacc.yy:
        cut spaces
      5c377fc0
  30. 30 Nov, 2002 1 commit
    • unknown's avatar
      SCRUM: Secure auth · 05ba93c2
      unknown authored
      Implement mysql_change_user
      Get rid of double user search at authentication
      Some cleanups
      
      
      client/mysqladmin.c:
        Fix long line
      include/mysql_com.h:
        Fix long lines
      libmysql/libmysql.c:
        mysql_change_user() for new auth + some fixes
      sql/password.c:
        Add author info so who is guilty in errors would be known :)
      sql/sql_acl.cc:
        Move class definitions to .h
      sql/sql_acl.h:
        Add class definitions
      sql/sql_parse.cc:
        Get rid of double user search. Implement mysql_change_user
      05ba93c2
  31. 24 Nov, 2002 1 commit
    • unknown's avatar
      SCRUM: Main change for Secure connection handling. Still needs some more coding. Commit · 8c8b97fd
      unknown authored
      done for merge with newer version of code.
      
      
      client/mysqladmin.c:
        Support for new password format
      include/mysql.h:
        Increase buffer as new scramble is larger
      include/mysql_com.h:
        Add new prototypes for new auth handling
      libmysql/libmysql.c:
        New handshake handling code
      mysql-test/install_test_db.sh:
        Extend password length to handle new passwords
      mysql-test/t/rpl000017-slave.sh:
        Adjust test to work with longer password
      scripts/mysql_fix_privilege_tables.sh:
        Increase password length at priv table convertion
      scripts/mysql_install_db.sh:
        Longer passwords
      sql/item_strfunc.cc:
        New password generation function needs seed for password generation
      sql/mini_client.cc:
        Change MiniClient to handle new auth in replication
      sql/mysqld.cc:
        Remove unneeded flag (was added earlier for same change)
      sql/password.c:
        A lot of changes to handle new authentication and doccumentation
      sql/sql_acl.cc:
        Password handling function adjustment
      sql/sql_acl.h:
        Change prototype
      sql/sql_class.h:
        Extend scramble length
      sql/sql_parse.cc:
        Handling server side of new authentication
      sql/sql_yacc.yy:
        Adjustment for new prototypes
      8c8b97fd
  32. 14 Nov, 2002 1 commit
    • unknown's avatar
      Add shared memory protocol and option --protocol · 64dd949c
      unknown authored
      client/client_priv.h:
        Add OPT_MYSQL_PROTOCOL and OPT_SHARED_MEMORY_BASE_NAME
      include/config-win.h:
        Add shared memory protocol
      include/errmsg.h:
        Add error codes of shared memory protocol
      include/my_sys.h:
        Delete TYPELIB, moved to typelib.h
      include/mysql.h:
        Add shared memory protocol
      include/violite.h:
        Add shared memory protocol
      libmysql/errmsg.c:
        Add texts of errors of shared memory protocol
      sql/mysqld.cc:
        Add shared memory protocol and option --shared-memory, correct option --named-pipe
      sql/set_var.cc:
        Add shared memory protocol variables
      vio/vio.c:
        Add shared memory protocol
      vio/viosocket.c:
        Add shared memory protocol
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      64dd949c
  33. 15 Oct, 2002 1 commit
    • unknown's avatar
      Fixed some bugs in mysql, mysqladmin and mysqld. · d3c61fd9
      unknown authored
      client/mysql.cc:
        Fixed a bug in --pager when used with --disable- or --skip- prefixes.
      client/mysqladmin.c:
        Fixed a bug in --wait, which didn't take an optional argument while it should.
      sql/mysqld.cc:
        Fixed a type and a bug in --transaction-isolation option in mysqld.cc
      d3c61fd9
  34. 06 Oct, 2002 1 commit
    • unknown's avatar
      One more commit to do the merge of new 4.1 tree · 8640cd35
      unknown authored
      client/mysqladmin.c:
        Handle new password.c prototypes
      include/mysql_com.h:
        New prototypes
      libmysql/Makefile.shared:
        Client need sha1 compiled in now
      libmysql/password.c:
        Replace copy with symlink
      mysql-test/r/func_crypt.result:
        Fix test results to handle new password function
      mysql-test/t/func_crypt.test:
        New tests for new password function
      sql/item_create.cc:
        add old_password() function
      sql/item_create.h:
        add old_password() function
      sql/item_strfunc.cc:
        add old_password() function
        changes to new password.c functions prototypes
      sql/item_strfunc.h:
        add old_password function
        handle new prototypes
      sql/lex.h:
        add OLD_PASSWORD function
      sql/password.c:
        Continue to work on new password handling
      sql/sql_acl.cc:
        Handle new passwords
      sql/sql_yacc.yy:
        Changes for new prototypes
      8640cd35
  35. 17 Sep, 2002 1 commit
    • unknown's avatar
      fixed so that --ssl and --skip-ssl works with the MySQL clients. · f0fbecca
      unknown authored
      Fixed core dump bug when sending wrong string to AES_DECRYPT()
      
      
      BitKeeper/deleted/.del-explain_log.sh~e570be5f63576fe1:
        Delete: scripts/explain_log.sh
      Docs/manual.texi:
        Updated bug reporting. Added somew new changelog entries and changed some old
      client/mysql.cc:
        Fixed so that --ssl and --skip-ssl works
      client/mysqladmin.c:
        Fixed so that --ssl and --skip-ssl works
      client/mysqlcheck.c:
        Fixed so that --ssl and --skip-ssl works
      client/mysqldump.c:
        Fixed so that --ssl and --skip-ssl works
      client/mysqlimport.c:
        Fixed so that --ssl and --skip-ssl works
      client/mysqlshow.c:
        Fixed so that --ssl and --skip-ssl works
      include/sslopt-case.h:
        Fixed so that --ssl and --skip-ssl works
      mysql-test/r/func_str.result:
        Test of problem with AES_DECRYPT()
      mysql-test/t/func_str.test:
        Test of problem with AES_DECRYPT()
      mysys/my_aes.c:
        Fixed problem with wrong decrypt string.
      scripts/mysql_explain_log.sh:
        Applied missed patch
      sql/item_strfunc.cc:
        Fixed aes_encrypt() and aes_decrypt() to be safer and avoid some mallocs()
      sql/net_pkg.cc:
        Return ER_UNKNOWN_ERROR instead of errocode 0 in some cases.
      f0fbecca
  36. 23 Aug, 2002 1 commit
    • unknown's avatar
      Removed wrong mutex lock (hangup in kill on HPUX) · c216222b
      unknown authored
      all free_defaults() on exit in mysql.cc;  Should fix problem with SSL
      
      
      Docs/manual.texi:
        Added information about --skip-innodb
      client/mysql.cc:
        Call free_defaults() on exit
      client/mysqladmin.c:
        Call free_defaults() on exit
      client/mysqlimport.c:
        Call free_defaults() on exit
      mysql-test/r/rpl000016.result:
        Added testing of temporary tables with binary log rotation
      mysql-test/t/rpl000016.test:
        Added testing of temporary tables with binary log rotation
      sql/log.cc:
        Remove not used variable
      sql/sql_class.h:
        Removed wrong mutex lock (hangup in kill on HPUX)
      c216222b
  37. 22 Aug, 2002 2 commits
    • unknown's avatar
      Portabilityfix in mysqladmin.c · b6a45157
      unknown authored
      Fix when using --localstatedir
      Cleaned up mysql.server
      
      
      Build-tools/Do-compile:
        Remove test file timestamp2
      Docs/manual.texi:
        Changelog
      client/mysqladmin.c:
        Portability fix
      scripts/make_binary_distribution.sh:
        Fix for mysql.server
      sql/mysqld.cc:
        Fix when using --localstatedir
      support-files/mysql.server.sh:
        More comments for usage of 'basedir'
      b6a45157
    • unknown's avatar
      Fixed a bug in mysqladmin when it gave unneccessary warning · 0833663f
      unknown authored
      in shutdown operation.
      
      
      0833663f