An error occurred fetching the project authors.
  1. 22 Oct, 2004 1 commit
    • unknown's avatar
      Fix compiler warnings (detected by Intel's C++ compiler) · bc6652db
      unknown authored
      Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
      
      
      client/mysql.cc:
        Fix compiler warnings
      client/mysqltest.c:
        Fix wrong counting of lines
        Remove compiler warnings
      heap/hp_hash.c:
        Fix compiler warnings
      innobase/dict/dict0load.c:
        Fix compiler warnings
      innobase/include/mem0mem.h:
        Fix compiler warnings
      libmysql/client_settings.h:
        Fix compiler warnings
      myisam/ft_nlq_search.c:
        Add comments about compiler warnings
      myisam/rt_index.c:
        Add comments about compiler warnings
      myisam/rt_mbr.c:
        Add comments about compiler warnings
      mysql-test/r/ps.result:
        Test case for bug#6094
      mysql-test/t/ps.test:
        Test case for bug#6094
      mysys/hash.c:
        Fix compiler warnings
      mysys/my_handler.c:
        Add comments about compiler warnings
      mysys/my_thr_init.c:
        Add comments about compiler warnings
      ndb/include/mgmapi/mgmapi.h:
        Fix compiler warnings
      regex/main.c:
        Fix compiler warnings
      sql/item.h:
        Fix compiler warnings
      sql/item_func.h:
        Add comments about compiler warnings
      sql/spatial.h:
        Add comments about compiler warnings
      sql/sql_lex.h:
        Fix compiler warning
      sql/sql_list.h:
        Fix compiler warning
      sql/sql_parse.cc:
        Move testing of access rights of tables in CREATE ... SELECT to create_table_precheck() to fix privilege checking in CREATE ... SELECT
        (Bug #6094)
      sql/sql_prepare.cc:
        Remove not needed empty line
      sql/sql_string.h:
        Fix compiler warnings
      strings/ctype-mb.c:
        Fix compiler warnings
      bc6652db
  2. 07 Oct, 2004 1 commit
  3. 15 Sep, 2004 2 commits
  4. 13 Sep, 2004 2 commits
    • unknown's avatar
      mysql.cc: · bbf4e175
      unknown authored
        Bug #5536: wrong server character set in "status" command
        More character set variables.
      
      
      client/mysql.cc:
        Bug #5536: wrong server character set in "status" command
        More character set variables.
      bbf4e175
    • unknown's avatar
      Fix for bug #4809 (Backticks not handled in mysql) · 4015c585
      unknown authored
      client/mysql.cc:
        Code added to handle backticks
      4015c585
  5. 08 Sep, 2004 2 commits
    • unknown's avatar
      mysql.cc: · 9b6ca7f3
      unknown authored
        Print sqlstate value in batch mode, not just in interactive mode.
      
      
      client/mysql.cc:
        Print sqlstate value in batch mode, not just in interactive mode.
      9b6ca7f3
    • unknown's avatar
      [This patch has already been approved by Serge. I am recommitting and pushing... · 773a256e
      unknown authored
      [This patch has already been approved by Serge.  I am recommitting and pushing from a new repository because there were other changesets that couldn't be pushed.]
      
      BUG# 5229 --password=foobar does not override the empty 'password' option in the my.cnf
      This is a backport of a change made by jani in the 4.1 tree.
      
      mysql.cc:
        Add tty_password=0 in the p case handling in get_one_option
      
      
      client/mysql.cc:
        Add tty_password=0 in the p case handling in get_one_option
      773a256e
  6. 07 Sep, 2004 2 commits
  7. 06 Sep, 2004 1 commit
  8. 03 Sep, 2004 1 commit
  9. 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
  10. 30 Aug, 2004 1 commit
  11. 27 Aug, 2004 1 commit
    • unknown's avatar
      mysql.cc: · f1825699
      unknown authored
        Minor edits to help command messages.
      
      
      client/mysql.cc:
        Minor edits to help command messages.
      f1825699
  12. 26 Aug, 2004 1 commit
  13. 25 Aug, 2004 1 commit
    • unknown's avatar
      mysql.cc: · b20d1ce4
      unknown authored
        Bug#3453: MySQL output formatting in multibyte character sets
      
      
      client/mysql.cc:
        Bug#3453: MySQL output formatting in multibyte character sets
      b20d1ce4
  14. 24 Aug, 2004 3 commits
    • unknown's avatar
      compatibility fixes · 5b1c2dec
      unknown authored
      client/mysql.cc:
        removed readline-4.2 compatibility fix
        readline 4.2 is broken, use 4.2a instead
      cmd-line-utils/libedit/search.c:
        regex.h fix
      acinclude.m4:
        removed readline-4.2 compatibility fix
        readline 4.2 is broken, use 4.2a instead
      5b1c2dec
    • 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
    • unknown's avatar
      fixed : · de225e63
      unknown authored
      Bug #3937  	fails to compile with both gcc 3.3.3/icc8
      Bug #4728  	mysql couldn't be compiled using system readline (readline-4.3)
      
      
      acinclude.m4:
        1. added defun MYSQL_CHECK_READLINE_DECLARES_HIST_ENTRY for last versions of readline and libedit
        2. added #undef __P in defuns MYSQL_CHECK_LIBEDIT_INTERFACE, MYSQL_CHECK_NEW_RL_INTERFACE
      client/mysql.cc:
        1. added #undef __P before #include "readline/readline.h" because readline-4.2 declares own __P
        2. changed !defined(USE_LIBEDIT_INTERFACE) to !defined(HAVE_HIST_ENTRY) before declaring of own hist_entry
           because latest versions of libedit declare hist_entry too
      cmd-line-utils/Makefile.am:
        added copyright header
      configure.in:
        1. added comment for --with-readline/--with-libedit options
        2. added define for HAVE_HIST_ENTRY and macro to check it
        3. added AC_LANG_CPLUSPLUS before readline/libedit checks
      de225e63
  15. 23 Aug, 2004 1 commit
  16. 20 Aug, 2004 1 commit
  17. 17 Aug, 2004 1 commit
  18. 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
  19. 13 Jul, 2004 1 commit
  20. 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
  21. 26 May, 2004 1 commit
    • unknown's avatar
      Fix to make Windows compilation smoother · 00c41b28
      unknown authored
      VC++Files/innobase/innobase.dsp:
        non-existent file removed
      client/mysql.cc:
        local opt_max_allowed_packet and opt_net_buffer_length introduced
      client/mysqldump.c:
        local opt_max_allowed_packet and opt_net_buffer_length introduced
      include/mysql.h:
        mysql_get_parameters() interface added
        #define max_allowed_packet added
      include/mysql_com.h:
        these should not be exported
      libmysql/libmysql.c:
        mysql_get_parameters implementations
      libmysql/libmysql.def:
        interface changed
      libmysql_r/Makefile.am:
        MYSQL_CLIENT define added
      libmysqld/lib_sql.cc:
        line moved to be above the '#include "mysql.cc"'
      libmysqld/libmysqld.c:
        mysql_get_parameters implementation (embedded)
      libmysqld/libmysqld.def:
        interface changed
      sql/log_event.cc:
        should be like that in this case
      tools/mysqlmanager.c:
        compiler warns on this line
      00c41b28
  22. 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
  23. 21 May, 2004 1 commit
  24. 19 May, 2004 1 commit
    • unknown's avatar
      Portability fixes · a41883fa
      unknown authored
      Fixed wrong number of warnings/duplicates for machines with high-byte-first
      
      
      client/mysql.cc:
        Remove not used variables
      client/mysqltest.c:
        Remove double ;
      myisam/ft_nlq_search.c:
        Fix valgrind error (not fatal)
      myisam/rt_test.c:
        Portability fix
      mysql-test/r/rpl_trunc_binlog.result:
        Portability fix
      mysql-test/t/rpl_trunc_binlog.test:
        Portability fix
        (Column 23 was different on openbsd)
      sql/sql_insert.cc:
        Fixed wrong number of warnings/duplicates for machines with high-byte-first
      strings/ctype-big5.c:
        Portability fix
      strings/ctype-gbk.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype-uca.c:
        Portability fix
      tests/client_test.c:
        Portability fixes
      a41883fa
  25. 18 May, 2004 1 commit
  26. 17 May, 2004 1 commit
  27. 06 May, 2004 2 commits
  28. 05 May, 2004 1 commit
    • unknown's avatar
      mysql.cc: · 7436480e
      unknown authored
        allow several -e on the command line
        clarify --help text
        make -B to work as advertised
        in force mode execute the rest of multi-statement line in case of error in one statement
      
      
      client/my_readline.h:
        allow several -e on the command line
      client/readline.cc:
        allow several -e on the command line
      7436480e
  29. 05 Apr, 2004 1 commit
  30. 15 Mar, 2004 1 commit
  31. 08 Mar, 2004 1 commit
  32. 03 Mar, 2004 1 commit
    • unknown's avatar
      Fix up history in readline implementation. · e269e9c9
      unknown authored
      Two things changed:
      1. Repeated queries are only stored once in the history.
      2. Multiline queries are stored in a concated format in the history, 
         in addition to pieces. 
      (Push approved by serg)
      
      
      client/mysql.cc:
        Fix up history in readline implementation.
        1. Repeated queries are only stored once in the history.
        2. Multiline queries are stored in a concated format in the history.
        (Push approved by serg)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e269e9c9
  33. 26 Feb, 2004 1 commit