An error occurred fetching the project authors.
  1. 11 Dec, 2002 1 commit
  2. 26 Nov, 2002 1 commit
  3. 19 Nov, 2002 1 commit
    • unknown's avatar
      upgrade readline to version 4.3 · 953f6c51
      unknown authored
      client/completion_hash.cc:
        correct headers of functions for readline 4.3 (add const modifier to char*)
      client/completion_hash.h:
        correct headers of functions for readline 4.3 (add const modifier to char*)
      client/mysql.cc:
        correct functions for readline 4.3
      953f6c51
  4. 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
  5. 10 Nov, 2002 1 commit
  6. 28 Oct, 2002 1 commit
    • unknown's avatar
      add help command on server side · fc4c9c01
      unknown authored
      include/mysqld_error.h:
        add error for corrupt help db
      scripts/Makefile.am:
        add script for fill help db
      scripts/mysql_install_db.sh:
        modify for add help db
      sql/Makefile.am:
        modify for add sql_help.cc
      sql/lex.h:
        add help command
      sql/mysql_priv.h:
        add mysqld_help function declaration
      sql/share/czech/errmsg.txt:
        add message for help-db error
      sql/share/danish/errmsg.txt:
        add message for help-db error
      sql/share/dutch/errmsg.txt:
        add message for help-db error
      sql/share/english/errmsg.txt:
        add message for help-db error
      sql/share/estonian/errmsg.txt:
        add message for help-db error
      sql/share/french/errmsg.txt:
        add message for help-db error
      sql/share/german/errmsg.txt:
        add message for help-db error
      sql/share/greek/errmsg.txt:
        add message for help-db error
      sql/share/hungarian/errmsg.txt:
        add message for help-db error
      sql/share/italian/errmsg.txt:
        add message for help-db error
      sql/share/japanese/errmsg.txt:
        add message for help-db error
      sql/share/korean/errmsg.txt:
        add message for help-db error
      sql/share/norwegian-ny/errmsg.txt:
        add message for help-db error
      sql/share/norwegian/errmsg.txt:
        add message for help-db error
      sql/share/polish/errmsg.txt:
        add message for help-db error
      sql/share/portuguese/errmsg.txt:
        add message for help-db error
      sql/share/romanian/errmsg.txt:
        add message for help-db error
      sql/share/russian/errmsg.txt:
        add message for help-db error
      sql/share/serbian/errmsg.txt:
        add message for help-db error
      sql/share/slovak/errmsg.txt:
        add message for help-db error
      sql/share/spanish/errmsg.txt:
        add message for help-db error
      sql/share/swedish/errmsg.txt:
        add message for help-db error
      sql/share/ukrainian/errmsg.txt:
        add message for help-db error
      sql/sql_lex.h:
        add SQLCOM_END 
        and help_arg in Lex
      sql/sql_parse.cc:
        add SQLCOM_HELP handler
      sql/sql_yacc.yy:
        add help command
      fc4c9c01
  7. 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
  8. 09 Oct, 2002 1 commit
  9. 08 Oct, 2002 1 commit
    • unknown's avatar
      Portability fixes to be able to compile MySQL with VC++ · 40c2e749
      unknown authored
      VC++Files/client/mysqlclient.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysql/libmysql.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysqld/libmysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/myisam/myisam.dsp:
        Updated VC++ files for 4.1
      VC++Files/mysys/mysys.dsp:
        Updated VC++ files for 4.1
      VC++Files/sql/mysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/strings/strings.dsp:
        Updated VC++ files for 4.1
      client/mysql.cc:
        Update for windows
      heap/_check.c:
        Fixed wrong DBUG_PRINT() usage
      include/mysql.h:
        Portability fix (uint -> unsigned int)
      libmysql/libmysql.def:
        Removed old my_casecmp function
      sql/ha_innodb.cc:
        Update for windows
      sql/init.cc:
        Removed not used variable
      sql/log.cc:
        Removed not used variable
      sql/net_pkg.cc:
        Portability fix
      sql/sql_db.cc:
        Portability fixes.  Removed not used variables
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      sql/sql_prepare.cc:
        Removed not used variables
      sql/sql_select.cc:
        Portability fix
      sql/sql_show.cc:
        Portability fix
      sql/sql_union.cc:
        Portability fix
      40c2e749
  10. 04 Oct, 2002 1 commit
  11. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5a28c2ca
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5a28c2ca
  12. 30 Sep, 2002 1 commit
    • unknown's avatar
      Fixed a bug in mysql client. · c525a541
      unknown authored
      client/mysql.cc:
        Fixed an accidently changed option (--ignore-space) back to
        the original one --ignore-spaces in mysql client. Both syntaxes
        will work.
      c525a541
  13. 22 Sep, 2002 1 commit
  14. 20 Sep, 2002 1 commit
    • unknown's avatar
      Changed table_list->name -> table_list->alias to find places where we where... · f631f93e
      unknown authored
      Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      This should fix some issues where --lower-case-table-names doesn't work properly under windows.
      
      
      client/mysql.cc:
        Added missing sslopt-case.h
      sql/lock.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/log_event.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/mysqld.cc:
        Fixed that --ssl and --skip-ssl works
      sql/slave.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_acl.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_base.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_cache.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_handler.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_insert.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_parse.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_show.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_table.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_udf.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_union.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_yacc.yy:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/table.h:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      f631f93e
  15. 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
  16. 03 Sep, 2002 1 commit
    • unknown's avatar
      Some trivial optimzations · 0f2ab68c
      unknown authored
      Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
      Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
      Better fix for ALTER TABLE on BDB tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Simple optimization
      libmysql/libmysql.c:
        Removed initialization of varibles that are already set to zero
      myisam/myisamchk.c:
        Fixed comment for extend-check
      mysql-test/r/bdb-alter-table-1.result:
        Updated results
      mysql-test/r/bdb-alter-table-2.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results after bug fix
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/t/bdb-alter-table-1.test:
        Added comments
      mysql-test/t/bdb-alter-table-2.test:
        Added comments
      mysql-test/t/select.test:
        Remove OPTION in SET OPTION
        Added tests for ORDER BY key LIMIT
      sql/item_cmpfunc.cc:
        Check if AND/OR expression can be NULL
      sql/mysqld.cc:
        mysqld --help now shows value of datadir
      sql/share/english/errmsg.txt:
        Better error message for syntax error
      sql/sql_base.cc:
        Bug fix for SHOW OPEN TABLES
      sql/sql_class.cc:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_class.h:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_parse.cc:
        Removed old dead code from 3.23
      sql/sql_select.cc:
        Improved optimization of ORDER BY key LIMIT
      sql/sql_table.cc:
        More comments,
        Better fix for ALTER TABLE on BDB tables.
      0f2ab68c
  17. 28 Aug, 2002 1 commit
    • unknown's avatar
      * Fixed a bug in my_getopt · d5ececde
      unknown authored
      * Fixed some spelling/language errors in mysqlcheck
      * Added some more information in mysql -client internal help.
      
      
      Docs/manual.texi:
        Added a note about bug fix in my_getopt to changelog section.
      client/mysql.cc:
        Added some information in mysql -client internal help.
      client/mysqlcheck.c:
        Fixed some spelling / language errors.
      mysys/my_getopt.c:
        Fixed a bug in my_getopt:
        --skip-external-locking didn't work and the same bug affected some
        other similar options. 
        
        After fix it is now possible to use the following:
        
        --external-locking                -> enable
        --external-locking=0              -> disable
        --external-locking=1              -> enable
        --skip-external-locking           -> disable
        --skip-external-locking=0         -> enable
        --skip-external-locking=1         -> disable
        --enable-external-locking         -> enable
        --enable-external-locking=0       -> disable
        --enable-external-locking=1       -> enable
        --skip-external-locking=garbage   -> disable
        --enable-external-locking=garbage -> enable
        
        This works now with all options that are boolean type and which
        name doesn't start with --skip- or --enable-.
      d5ececde
  18. 27 Aug, 2002 1 commit
  19. 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
  20. 09 Aug, 2002 1 commit
    • unknown's avatar
      Fix for SSL and new my_getopt · 6974c3d0
      unknown authored
      Fix for syntax error bug in SET TRANSACTION ISOLATION
      
      
      
      BitKeeper/deleted/.del-sslopt-case.h~224c80e75dad4997:
        Delete: include/sslopt-case.h
      client/mysql.cc:
        Fix for SSL and new my_getopt
      client/mysqladmin.c:
        Fix for SSL and new my_getopt
      client/mysqlcheck.c:
        Fix for SSL and new my_getopt
      client/mysqldump.c:
        Fix for SSL and new my_getopt
      client/mysqlimport.c:
        Fix for SSL and new my_getopt
      client/mysqlshow.c:
        Fix for SSL and new my_getopt
      include/Makefile.am:
        Fix for SSL and new my_getopt
      include/sslopt-longopts.h:
        Fix for SSL and new my_getopt
      libmysql/libmysql.c:
        Fix for SSL and new my_getopt
      mysql-test/r/innodb.result:
        Simple test of transaction isolations
      mysql-test/t/innodb.test:
        Simple test of transaction isolations
      sql/mini_client.cc:
        Merge of mysql_real_connect() with libmysql.c
      sql/mysqld.cc:
        Simple test of transaction isolations
        Remove use of current_thd in get_options()
      sql/slave.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Fix for SET TRANSACTION ...
      6974c3d0
  21. 06 Aug, 2002 1 commit
  22. 05 Aug, 2002 1 commit
    • unknown's avatar
      Small fixes in mysql and myisamchk. · 7aa290a4
      unknown authored
      client/mysql.cc:
        Small information add to mysql internal help command.
      myisam/myisamchk.c:
        Fixed a few typos reported by Paul DuBois.
      7aa290a4
  23. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · a8caad31
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      a8caad31
  24. 16 Jul, 2002 1 commit
  25. 30 Jun, 2002 1 commit
    • unknown's avatar
      Update for running gcc 3.x (mainly on HPUX) · a86390f0
      unknown authored
      Portability fixes for HPUX
      Rename of CHECK_LOCK to IS_FREE_LOCK
      Apply lower_case_table_names also to databases
      Cleanup of describe code
      Don't allow \ in database names
      
      
      Build-tools/Do-compile:
        Added option --make-options
      Docs/manual.texi:
        Changelog
        Added XOR, ^ and IS_FREE_LOCK() descriptions
      acinclude.m4:
        Update for running gcc 3.x on HPUX
      client/mysql.cc:
        Portability fix
      client/mysqlbinlog.cc:
        Fix for using gcc 3.1
      configure.in:
        Fix for using gcc 3.1
      include/my_global.h:
        Fix for using gcc 3.1
      include/my_pthread.h:
        Removed warning on HPUX
      innobase/configure.in:
        Portability fix (for gcc 3.1 on HPUX)
      innobase/ut/ut0ut.c:
        Portability fix (for gcc 3.1 on HPUX)
      mysql-test/r/func_test.result:
        Test of new functions
      mysql-test/r/rpl_get_lock.result:
        Test of new functions
      mysql-test/t/func_test.test:
        Test of new functions
      mysql-test/t/rpl_get_lock.test:
        Test of new functions
      mysys/my_tempnam.c:
        Portability fix
      sql/item_cmpfunc.cc:
        Added comments to Item_cond_xor.
        Fixed NULL handling for XOR
      sql/item_create.cc:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/item_create.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/item_func.cc:
        Cleanup XOR handling
      sql/item_func.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/lex.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/mysqld.cc:
        Moved chroot() to be exectued earlier.
      sql/sql_db.cc:
        Apply lower_case_table_names also to databases
      sql/sql_parse.cc:
        Apply lower_case_table_names also to databases
      sql/sql_select.cc:
        Cleanup describe code (after Sinisa's patch for EXPLAIN + UNION)
      sql/table.cc:
        Don't allow \ in database names
      a86390f0
  26. 20 Jun, 2002 1 commit
    • unknown's avatar
      Fixes for compiling distribution with MIT-threads · 2e20fc9a
      unknown authored
      client/mysql.cc:
        Fixes for MIT-pthreads
      libmysqld/examples/Makefile.am:
        Fixes for MIT-pthreads
      mit-pthreads/machdep/linux-2.0/__string.h:
        Fixes for MIT-pthreads
      mysys/my_thr_init.c:
        Fixed spelling error.
      2e20fc9a
  27. 12 Jun, 2002 1 commit
  28. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 70aa7424
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisam/ft_test1.c:
        strncpy -> strnmov
      myisam/ft_update.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      myisam/mi_test2.c:
        Cleanup
      myisam/mi_write.c:
        Cleanup
      mysys/mf_fn_ext.c:
        Cleanup
      mysys/mf_iocache.c:
        Cleanup
      mysys/mf_iocache2.c:
        Cleanup
      mysys/my_getopt.c:
        Cleanup
      mysys/my_read.c:
        Cleanup
      mysys/my_thr_init.c:
        Cleanup
      mysys/queues.c:
        Cleanup
      mysys/safemalloc.c:
        Cleanup
      sql/field.cc:
        Indentation cleanups
      sql/ha_berkeley.cc:
        Indentation cleanups
      sql/ha_myisam.cc:
        Cleanup
      sql/item.h:
        Indentation cleanups
      sql/item_cmpfunc.cc:
        Indentation cleanups
      sql/item_create.cc:
        cleanup
      sql/item_func.cc:
        Cleanup
      sql/item_func.h:
        Indentation cleanups
      sql/item_strfunc.cc:
        Indentation cleanups
      sql/item_sum.cc:
        Indentation cleanups
      sql/item_timefunc.cc:
        Indentation cleanups
      sql/lock.cc:
        Indentation cleanups
      sql/log.cc:
        Cleanup
        strnmov -> strmake
      sql/log_event.cc:
        Cleanup + optimizations
        Fixed memory leak
        Added missing pthread_mutex_unlock()  (On error condition)
      sql/log_event.h:
        Indentation and comment cleanup
        Merged #ifdef's into common blocks for better readability
      sql/mini_client.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        Cleanup
        Changed int function to bool
      sql/mysqld.cc:
        Indentation and comment cleanup
      sql/net_pkg.cc:
        Indentation cleanup
      sql/net_serv.cc:
        Changed int function -> bool
      sql/nt_servc.cc:
        Cleanup
      sql/opt_range.cc:
        Indentation cleanup
      sql/repl_failsafe.cc:
        Cleanup + simple optimization
        strnmov -> strmake
      sql/slave.cc:
        strnmov -> strmake
        Cleanups
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Indentation and DBUG_PRINT cleanup
        Changed WITH MAX... to not use =
      sql/sql_base.cc:
        Indentation cleanup
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_class.cc:
        Indentation cleanup
      sql/sql_class.h:
        Renamed some struct slots
      sql/sql_delete.cc:
        Indentation cleanup
      sql/sql_handler.cc:
        Indentation cleanup
      sql/sql_insert.cc:
        Use new slot names.
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_load.cc:
        Indentation cleanup
      sql/sql_parse.cc:
        Indentation cleanup
        Removed not used check from LOCK TABLES
      sql/sql_repl.cc:
        strnmov -> strmake
      sql/sql_repl.h:
        Removed test if file is included (We want to know if it's included twice to avoid this)
      sql/sql_select.cc:
        Indentation cleanup
      sql/sql_show.cc:
        Indentation cleanup
      sql/sql_string.cc:
        Indentation cleanup
      sql/sql_table.cc:
        Indentation cleanup
      sql/sql_union.cc:
        Use renamed struct slot
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Removed = after GRANT ... MAX_  to make the syntax uniform
      sql/table.cc:
        Indentation cleanup
      sql/table.h:
        Indentation cleanup
      sql/time.cc:
        Indentation cleanup
      sql/udf_example.cc:
        Indentation cleanup
      sql/unireg.cc:
        strnmov -> strmake
      tests/grant.pl:
        Added test for LOCK TABLES
      tools/mysqlmanager.c:
        Cleanup
        fopen() -> my_fopen()
      vio/viosocket.c:
        DBUG_PRINT cleanups
      vio/viosslfactories.c:
        Indentation cleanup
        Checking of results from malloc()
        Fixed possible memory leak
      BitKeeper/etc/ignore:
        Added scripts/mysql_secure_installation to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      70aa7424
  29. 01 Jun, 2002 1 commit
  30. 31 May, 2002 2 commits
  31. 29 May, 2002 1 commit
    • unknown's avatar
      Added useful exit error code for programs using my_getopt in case · a90b2f30
      unknown authored
      of an error in option handling. This can sometimes be useful in
      scripts.
      
      Changed some exit code names and corresponding numbers.
      
      Fixed a bug in mysqld.cc, in replication related options.
      
      Added a global flag in my_getopt, which can be set by any program
      that is using my_getopt, which tells whether the client should
      print the error message itself, or whether my_getopt should do it.
      The default is that my_getopt will print the error messages.
      
      
      client/mysql.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqladmin.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlbinlog.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlcheck.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqldump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlimport.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlmanager-pwgen.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlmanagerc.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqlshow.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/mysqltest.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      client/thread_test.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/my_print_defaults.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/mysql_install.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/perror.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/resolve_stack_dump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      extra/resolveip.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      include/my_getopt.h:
        Added global (flag) variable which tells my_getopt whether to
        print errors or just silently exit with proper error code.
      include/mysys_err.h:
        Changed exit code names and corresponding numbers.
      isam/isamchk.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      isam/pack_isam.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_dump.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_eval.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/ft_test1.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/mi_test1.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/myisamchk.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      myisam/myisampack.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      mysys/my_getopt.c:
        Changed exit code names and corresponding numbers. Added a flag
        for checking whether my_getopt should print the error message,
        or whether it should be printed by the client itself.
      sql/gen_lex_hash.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      sql/mysqld.cc:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
        
        Fixed a bug when compiling in non-debug mode, some replication
        related options were not enabled while they should be. This made
        'make test' to fail in rpl000010 when --with-debug was not used.
      tools/mysqlmanager.c:
        Added useful exit error code for programs using my_getopt in case
        of an error in option handling. This can sometimes be useful in
        scripts.
      a90b2f30
  32. 28 May, 2002 1 commit
  33. 24 May, 2002 1 commit
    • unknown's avatar
      Changed ft_dump, ft_eval, ft_test1, mi_test1, myisampack, gen_lex_hash, · 072e605c
      unknown authored
      mysqlmanager from using GNU getopt to use my_getopt.
      
      Changed some files that just included old getopt.h to include
      my_getopt.h now.
      
      Fixed a bug in my_print_help() in my_getopt.c.
      
      Made better documentation for option -G in mysql client.
      
      
      client/mysql.cc:
        Documented --named-commands better.
      myisam/ft_dump.c:
        Changed getopt to my_getopt.
      myisam/ft_eval.c:
        Changed getopt to my_getopt.
      myisam/ft_test1.c:
        Changed getopt to my_getopt.
      myisam/mi_check.c:
        getopt.h -> my_getopt.h
      myisam/mi_test1.c:
        Changed getopt to my_getopt.
      myisam/myisampack.c:
        Changed getopt to my_getopt.
      mysys/my_getopt.c:
        Fixed a bug when printing help for option that didn't have a
        description.
      sql/gen_lex_hash.cc:
        Changed getopt to my_getopt.
      tools/mysqlmanager.c:
        Changed getopt to my_getopt.
      vio/test-ssl.c:
        getopt.h -> my_getopt.h
      vio/test-sslclient.c:
        getopt.h -> my_getopt.h
      vio/test-sslserver.c:
        getopt.h -> my_getopt.h
      vio/viotest-ssl.c:
        getopt.h -> my_getopt.h
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      072e605c
  34. 22 May, 2002 2 commits
    • unknown's avatar
      moved my_getopt.h under client_priv.h · 2276e8ae
      unknown authored
      Changed my_print_defaults, mysql_install, perror, resolve_stack_dump,
      resolveip and pack_isam to use my_getopt.
      
      
      client/client_priv.h:
        getopt -> my_getopt
      client/mysql.cc:
        moved my_getopt.h under client_priv.h
      client/mysqladmin.c:
        moved my_getopt.h under client_priv.h
      client/mysqlbinlog.cc:
        moved my_getopt.h under client_priv.h
      client/mysqlcheck.c:
        moved my_getopt.h under client_priv.h
      client/mysqldump.c:
        moved my_getopt.h under client_priv.h
      client/mysqlimport.c:
        moved my_getopt.h under client_priv.h
      client/mysqlshow.c:
        moved my_getopt.h under client_priv.h
      extra/my_print_defaults.c:
        Changed from getopt to use my_getopt
      extra/mysql_install.c:
        Changed from getopt to use my_getopt
      extra/perror.c:
        Changed from getopt to use my_getopt
      extra/resolve_stack_dump.c:
        Changed from getopt to use my_getopt
      extra/resolveip.c:
        Changed from getopt to use my_getopt
      fs/mysqlcorbafs.c:
        Left reminder about my_getopt when this program is ready.
        Currently it's not being compiled.
      isam/pack_isam.c:
        Changed from getopt to use my_getopt
      2276e8ae
    • unknown's avatar
      Portability fixes · a5c8c54f
      unknown authored
      Fixed problem with --password in mysql
      
      
      client/mysql.cc:
        Fixed problem with --password in mysql
      mysql-test/r/type_decimal.result:
        Portability fix
      mysql-test/t/type_decimal.test:
        Portability fix
      a5c8c54f
  35. 15 May, 2002 1 commit
  36. 14 May, 2002 1 commit
    • unknown's avatar
      - Added new type GET_STRALC to my_getopt. · 21c1e5be
      unknown authored
      - Fixed some bugs, wrongly freed pointers, in some clients.
      - Removed unneccessary code.
      - Fixed some other minor bugs and added some options into
        variables category, which had accidently been left out earlier.
      
      
      client/mysql.cc:
        Fixed some wrong freed pointers. Removed unneccessary code.
        Changed some types from GET_STR to GET_STRALC.
      client/mysqladmin.c:
        Fixed some wrong freed pointers. Removed unneccessary code.
        Changed some types from GET_STR to GET_STRALC.
      client/mysqlcheck.c:
        Fixed some wrong freed pointers. Removed unneccessary code.
        Changed some types from GET_STR to GET_STRALC.
      client/mysqldump.c:
        Fixed some wrong freed pointers. Removed unneccessary code.
        Changed some types from GET_STR to GET_STRALC.
      client/mysqlimport.c:
        Removed unneccessary code.
        Fixed a bug in option --ignore-lines
      client/mysqlshow.c:
        Removed unneccessary code.
      include/my_getopt.h:
        Added new type, GET_STRALC. The name stands for GET STRING ALLOC,
        which means that the struct member value and u_max_value are
        strings that must be alloced and freed when used.
        The normal GET_STR works similarly otherwise, except that it's
        arguments are just pointers to strings, not alloced ones.
      mysys/my_getopt.c:
        Added support for GET_STRALC
      21c1e5be
  37. 11 May, 2002 1 commit
    • unknown's avatar
      - Fixed some option types in my_getopt struct in all clients. · 3dd34147
      unknown authored
      - Added special option/variable prefix '--loose-' to my_getopt.c
      
      
      client/mysql.cc:
        Fixed some variable types.
      client/mysqladmin.c:
        Fixed some variable types.
      client/mysqlcheck.c:
        Fixed some variable types.
      client/mysqldump.c:
        Fixed some variable types.
      client/mysqlimport.c:
        Fixed some variable types.
      client/mysqlshow.c:
        Fixed some variable types.
      myisam/myisamchk.c:
        Fixed some variable types.
      mysys/my_getopt.c:
        Fixed a bug in noticing whether argument was allowed to option (variable).
        Added support for prefix --loose-option-name
        This will work with options and variables, but not with --set-variable (!)
        --set-variable is depricated and --variable-name=value should be used
        instead. When used, my_getopt will not return error if option/variable
        was not found, but print a warning, do a no-op and continue.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3dd34147
  38. 24 Apr, 2002 1 commit
    • unknown's avatar
      Fixed syntax error in mysql.cc · a56d1215
      unknown authored
      Docs/glibc-2.2.5.patch:
        Updated patch for glibc
      Docs/manual.texi:
        Updated 'MySQL server gone away' section
      client/mysql.cc:
        Fixed syntax error from last change
      mysys/my_thr_init.c:
        Changed EXTRA_DEBUG to EXTRA_DBUG_THREADS
      sql-bench/limits/mysql.cfg:
        Update to 4.0.2
      a56d1215