An error occurred fetching the project authors.
  1. 11 Nov, 2002 1 commit
  2. 24 Oct, 2002 1 commit
  3. 17 Oct, 2002 2 commits
  4. 16 Oct, 2002 2 commits
  5. 15 Oct, 2002 1 commit
    • unknown's avatar
      Fixed some bugs in mysql, mysqladmin and mysqld. · b21d21da
      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
      b21d21da
  6. 12 Oct, 2002 1 commit
  7. 08 Oct, 2002 2 commits
  8. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5f6e2afe
      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()
      5f6e2afe
  9. 27 Sep, 2002 1 commit
  10. 24 Sep, 2002 1 commit
    • unknown's avatar
      - backported gcc 3.0 linking fix from 4.0 · 66fd2a9b
      unknown authored
       - some cosmetical fixups (typos, comments)
      
      
      client/mysqlbinlog.cc:
         - fix for gcc 3.0
      configure.in:
         - fix for gcc 3.0
         - some cosmetic modifications (typos, comments)
      include/global.h:
         - fix for gcc 3.0
         - some cosmetical fixes (typos, comments)
      sql/mysqld.cc:
         - fix for gcc 3.0
      66fd2a9b
  11. 20 Sep, 2002 1 commit
    • unknown's avatar
      Changed table_list->name -> table_list->alias to find places where we where... · 0d2a457f
      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.
      0d2a457f
  12. 19 Sep, 2002 1 commit
    • unknown's avatar
      Increased max possible max_allowed_packet to 1G · 4e50f236
      unknown authored
      Small optimization to not do external locking of temporary MyISAM tables.
      
      
      BitKeeper/deleted/.del-sslopt-usage.h~3ab77eeeaad1ba0a:
        Delete: include/sslopt-usage.h
      Docs/manual.texi:
        Fixed wrong descrtion of IF()
        Added information about automatic cast of integer to binary string
        ChangeLog
      client/mysqlbinlog.cc:
        Portability fix
      client/mysqldump.c:
        Increased max possible max_allowed_packet to 1G
      include/Makefile.am:
        Removed sslopt-usage.h
        Made sslopt-case.h global
      include/my_sys.h:
        Fixd protypes for my_strdup_with_length()
      mysys/safemalloc.c:
        Fixd some prototypes
      sql/ha_isam.cc:
        Don't do external locking on temporary tables
      sql/ha_myisam.cc:
        Don't do external locking on temporary tables
      sql/lock.cc:
        Added big description of how LOCK TABLES affects locking
      sql/log_event.cc:
        cleanup
      sql/mysqld.cc:
        Increased max possible max_allowed_packet to 1G
      sql/sql_table.cc:
        Fixed portability problem
      4e50f236
  13. 16 Sep, 2002 1 commit
    • unknown's avatar
      Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables · 501f703b
      unknown authored
      Fixed bug in SELECT ... ORDER BY ... LIMIT
      Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
      Fixed hang when using --with-openssl
      
      
      Docs/manual.texi:
        Updated SHOW VARIABLES
        Changelog
        Moved some missplaced changelog entries
      include/violite.h:
        updated prototypes
      libmysqld/lib_sql.cc:
        Moved init_update_queries() to sql_parse.cc
      mysql-test/install_test_db.sh:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      mysql-test/r/grant.result:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      mysql-test/t/grant.test:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      scripts/mysql_fix_privilege_tables.sh:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      scripts/mysql_install_db.sh:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      sql/filesort.cc:
        Fixed bug in SELECT ... ORDER BY ... LIMIT
      sql/mysql_priv.h:
        New prototypes
      sql/mysqld.cc:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
      sql/sql_acl.cc:
        Moved init_update_queries() to sql_parse.cc
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host
      sql/sql_acl.h:
        Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host
      sql/sql_parse.cc:
        Moved init_update_queries() to sql_parse.cc
      sql/sql_show.cc:
        Fixed wrong output in SHOW TABLE STATUS for compressed tables.
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
      vio/viosocket.c:
        Fixed hang when using --with-openssl
      vio/viossl.c:
        Fixed hang when using --with-openssl
      501f703b
  14. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · c3d4b40d
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      c3d4b40d
  15. 10 Sep, 2002 1 commit
    • unknown's avatar
      mysqld.cc: · 7290d0d1
      unknown authored
        update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2 
      ha_innobase.h, ha_innobase.cc:
        make innobase_flush_log_at_trx_commit a long, like other params
      
      
      sql/ha_innobase.cc:
        make innobase_flush_log_at_trx_commit a long, like other params
      sql/ha_innobase.h:
        make innobase_flush_log_at_trx_commit a long, like other params
      sql/mysqld.cc:
        update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2
      7290d0d1
  16. 05 Sep, 2002 2 commits
    • unknown's avatar
      Fixed searching after ssl directories. · 3ec856ac
      unknown authored
      Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
      Changed fn_ext to point at first '.' after directory.
      FLUSH LOGS removed numerical extension for all future update logs.
      Fixed the mysqld --help reports right values for --datadir and --bind-address
      --log-binary=a.b.c now properly strips of .b.c
      Fix that one can DROP UDF functions that was not loaded at startup
      Made AND optional in REQUIRE
      Added REQUIRE NONE
      
      
      BitKeeper/deleted/.del-CodingStyle~1ba7ff62d4cd0ea:
        Delete: vio/docs/CodingStyle
      BitKeeper/deleted/.del-COPYING.dbug~ca0c017a4d7e8609:
        Delete: vio/docs/COPYING.dbug
      BitKeeper/deleted/.del-COPYING.mysql~471498c82977cd3a:
        Delete: vio/docs/COPYING.mysql
      BitKeeper/deleted/.del-README~947354991dc882f8:
        Delete: vio/docs/README
      Docs/manual.texi:
        Changelog
      acinclude.m4:
        Fixed searching after ssl directories.
      client/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      include/Makefile.am:
        Install my_global.h
      include/violite.h:
        Fixed that GRANT ... REQUIRE options are not forgot when doing new grant
      libmysqld/examples/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      mysql-test/mysql-test-run.sh:
        Improved 'which' handling to give error if command is not found
      mysys/mf_fn_ext.c:
        Changed fn_ext to point at first '.' after directory.
      sql/Makefile.am:
        More comments
      sql/lex.h:
        Added NONE as keyword
      sql/log.cc:
        FLUSH LOGS removed numerical extension for all future update logs.
        Simple code cleanup
      sql/mysqld.cc:
        Fixed the --help reports right values for --datadir and --bind-address
        --log-binary=a.b.c now properly strips of .b.c
        Removed option --skip-external-locking (not needed as this is automatic)
      sql/repl_failsafe.cc:
        Moved some common THD initalization to store_globals()
      sql/slave.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.h:
        Updated function prototypes
      sql/sql_base.cc:
        Added comment
      sql/sql_class.cc:
        Moved openssl include to avoid problem with installed readline.
        Changed THD::thd to make things work for main thread.
      sql/sql_class.h:
        Fixed wrongly removed line (fixes compiler problem on MacOSX)
      sql/sql_insert.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_lex.cc:
        Moved save_to_cache_query=0 to udf detection function to make sql_yacc.yy simpler
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Moved openssl include to avoid problem with installed readline.
        Added THD argument to acl_reload()
      sql/sql_repl.h:
        Made opt_bin_logname static
      sql/sql_udf.cc:
        Fix that one can DROP UDF functions that was not loaded at startup
      sql/sql_yacc.yy:
        made AND optional in REQUIRE
        Added REQUIRE NONE
        Fixed that old SSL options are not forgotten when doing new GRANT.
      sql/udf_example.cc:
        Improved comments
      3ec856ac
    • unknown's avatar
      Fixed a bug in my_getopt and mysqld.cc · 8bc20bee
      unknown authored
      8bc20bee
  17. 03 Sep, 2002 2 commits
    • unknown's avatar
      Some trivial optimzations · 9266dcd6
      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.
      9266dcd6
    • unknown's avatar
      subselect with union · c0c822d4
      unknown authored
      new error handling
      Item_ref bug fixed
      
      
      include/mysql_com.h:
        new error handling
        query cache pointer description
      mysql-test/r/distinct.result:
        new result's after Monty's bug fixing
      mysql-test/r/subselect.result:
        subselect with union test
      mysql-test/t/subselect.test:
        subselect with union test
      sql/item.cc:
        subselect with union
        Item_ref bug fixed
      sql/item_cmpfunc.cc:
        Monty's bug fixing
      sql/item_subselect.cc:
        TODO changing
        subselect with union
      sql/item_subselect.h:
        subselect with union
      sql/mysql_priv.h:
        Item_ref bug fixed
      sql/mysqld.cc:
        new error handling
      sql/net_pkg.cc:
        new error handling
      sql/net_serv.cc:
        new error handling
      sql/sql_base.cc:
        Item_ref bug fixed
      sql/sql_class.cc:
        new error handling
      sql/sql_class.h:
        new error handling
      sql/sql_derived.cc:
        subselect with union
      sql/sql_insert.cc:
        new error handling (only with mysql_select now)
      sql/sql_lex.cc:
        subselect with union
      sql/sql_lex.h:
        subselect with union
      sql/sql_parse.cc:
        new error handling
      sql/sql_select.cc:
        new error handling
        subselect with union
        removed thd->where=0 hack
      sql/sql_select.h:
        subselect with union
      sql/sql_union.cc:
        subselect with union
      sql/sql_update.cc:
        new error handling (only with mysql_select now)
      sql/sql_yacc.yy:
        subselect with union
      c0c822d4
  18. 01 Sep, 2002 1 commit
  19. 30 Aug, 2002 2 commits
  20. 28 Aug, 2002 1 commit
    • unknown's avatar
      Portability fixes for windows · 4b2f615d
      unknown authored
      include/config-win.h:
        Portability fix for windows
      include/my_global.h:
        General portability fix
      sql/mysqld.cc:
        Portability fix for windows
      sql/set_var.cc:
        Portability fix for windows
      sql/sql_yacc.yy:
        Portability fix for windows
      4b2f615d
  21. 27 Aug, 2002 1 commit
    • unknown's avatar
      Small fixes · 87e051ea
      unknown authored
      sql/mysqld.cc:
        Fix typo
      sql/slave.cc:
        Removed unreferenced local variable
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      87e051ea
  22. 23 Aug, 2002 2 commits
    • unknown's avatar
      Changed relay_log_space to ulonglong · cab421a3
      unknown authored
      Removed compiler warnings.
      
      
      Build-tools/Do-compile:
        Simple cleanup
      include/mysql.h:
        Use #include "" instead of include <>
      mysql-test/t/innodb_handler.test:
        Documented test
        Change to be runnable from mysql
      sql/mini_client.cc:
        Removed dead code
      sql/mysqld.cc:
        Changed relay_log_space to ulonglong
      sql/slave.cc:
        Changed relay_log_space to ulonglong
        Removed dead code
      sql/slave.h:
        Changed relay_log_space to ulonglong
      sql/sql_acl.cc:
        Removed not used variables
      sql/sql_base.cc:
        Removed not used variables
      sql/sql_cache.cc:
        Removed not used variables
      sql/sql_select.cc:
        Removed not used variables
      vio/vio.c:
        Re-order include files to remove compiler warnings
      cab421a3
    • unknown's avatar
      Fixed bug in mysqld when using configure --localstatedir · cb0bef6f
      unknown authored
      Docs/manual.texi:
        Changelog
      cb0bef6f
  23. 22 Aug, 2002 2 commits
    • unknown's avatar
      Portabilityfix in mysqladmin.c · 1a42c001
      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'
      1a42c001
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · 36d7df75
      unknown authored
      Changed option variables to my_bool (to avoid bugs in my_getopt())
      Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
      Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
      
      
      libmysqld/lib_sql.cc:
        Removed not needed LOCK
      mysql-test/mysql-test-run.sh:
        Log name of running test
      mysql-test/r/rpl_sporadic_master.result:
        Cleaned up test
      mysql-test/t/rpl_sporadic_master.test:
        cleaned up test
      sql/log.cc:
        Cleanup.
        Fixed bug in wait_for_update() that I had introduced.
      sql/mini_client.cc:
        Indentation changes.
      sql/mysql_priv.h:
        Changed option variables to my_bool.
      sql/mysqld.cc:
        Changed option variables to my_bool.
        Removed not used LOCK_server_id
        Minor code cleanups.
      sql/repl_failsafe.cc:
        Minor code cleanups
      sql/slave.cc:
        Minor code cleanups.
        Fixed usage of wait_for_update().
      sql/slave.h:
        Changed option variables to my_bool.
      sql/sql_class.cc:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_class.h:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_insert.cc:
        Do broadcast after unlock()
      sql/sql_parse.cc:
        Removed not needed LOCK
        Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
        Changed killing of threads to not lock LOCK_thread_count for long.
      sql/sql_repl.cc:
        Changed options variables to my_bool
        Fixed usage of wait_for_update()
        Fixed loop to kill slaves to not lock LOCK_thread_count for long.
        Code optimization.
      sql/sql_repl.h:
        bool -> my_bool
        Fixed KICK_SLAVE to use LOCK_delete
      36d7df75
  24. 21 Aug, 2002 1 commit
    • unknown's avatar
      Use our version of RWLOCKS on UNIXWARE 7 · 88a2f93b
      unknown authored
      More DBUG info for replication
      Better error messages from replication
      Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
      Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      Removed warning when setting an AUTO_INCREMENT field to NULL
      
      
      Build-tools/Do-compile:
        Always run test with --warnings during build
      Docs/manual.texi:
        Changelog
      configure.in:
        Use our version of RWLOCKS on UNIXWARE 7
      include/my_pthread.h:
        Use our version of RWLOCKS on UNIXWARE 7
      include/mysql_version.h.in:
        Fixed warning when compiling embedded server
      include/mysqld_error.h:
        New error messages
      libmysql/libmysql.c:
        Give connect error message on reconnect if it fails.
        Fixed possible buffer overflow in expand_error()
        Added error messages for some error conditions.
      mysql-test/mysql-test-run.sh:
        Portability fixes:
        - Search after 'time' in path.
        - Search after mysqld in libexec
        - Remove end / when doing rm -r (fix for BSD)
        Clean up skip_test handling.
      mysql-test/r/rpl_empty_master_crash.result:
        New results
      mysql-test/t/rpl_empty_master_crash.test:
        Extended test
      mysys/mf_iocache.c:
        Remember file position on failed read.
      mysys/mf_iocache2.c:
        Fixed bug in filelength() call.
      mysys/thr_alarm.c:
        Made alarm handling more threadsafe when use with DBUG.
      mysys/thr_mutex.c:
        More debug info
      sql/log_event.cc:
        More DBUG_PRINT statements.
      sql/mini_client.cc:
        Better error reporting on failures.
        Return connect error on reconnect failure (instead of SERVER_GONE_ERROR)
        Fixed critical bug in alarm handling on connect (could leave an alarm event on indefinitely)
      sql/mysql_priv.h:
        Fixed arguments to mysql_binlog_send()
      sql/mysqld.cc:
        Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      sql/net_pkg.cc:
        Removed dead code
      sql/net_serv.cc:
        Ensure that last_errno is set in net_real_write()
      sql/repl_failsafe.cc:
        Code cleanup.
        Better error handling.
      sql/share/czech/errmsg.txt:
        New error messages.
      sql/share/danish/errmsg.txt:
        New error messages.
      sql/share/dutch/errmsg.txt:
        New error messages.
      sql/share/english/errmsg.txt:
        New error messages.
      sql/share/estonian/errmsg.txt:
        New error messages.
      sql/share/french/errmsg.txt:
        New error messages.
      sql/share/german/errmsg.txt:
        New error messages.
      sql/share/greek/errmsg.txt:
        New error messages.
      sql/share/hungarian/errmsg.txt:
        New error messages.
      sql/share/italian/errmsg.txt:
        New error messages.
      sql/share/japanese/errmsg.txt:
        New error messages.
      sql/share/korean/errmsg.txt:
        New error messages.
      sql/share/norwegian-ny/errmsg.txt:
        New error messages.
      sql/share/norwegian/errmsg.txt:
        New error messages.
      sql/share/polish/errmsg.txt:
        New error messages.
      sql/share/portuguese/errmsg.txt:
        New error messages.
      mysql-test/r/rpl_log_pos.result:
        Updated results
      mysql-test/t/rpl_log_pos.test:
        Added 'sleep' commands to make tests repeatable.
      sql/share/romanian/errmsg.txt:
        New error messages.
      sql/share/russian/errmsg.txt:
        New error messages.
      sql/share/slovak/errmsg.txt:
        New error messages.
      sql/share/spanish/errmsg.txt:
        New error messages.
      sql/share/swedish/errmsg.txt:
        New error messages.
      sql/share/ukrainian/errmsg.txt:
        New error messages.
      sql/slave.cc:
        Code optimization and cleanup.
        More DBUG statements.
        Better cleanup if start slave fails.
        Better error messages from 'fetch_master_table'
        Thread safer handling of 'wait_for_pos'
      sql/slave.h:
        Better handling of wait_for_pos
      sql/sql_load.cc:
        Removed warning when setting an AUTO_INCREMENT field to NULL
      sql/sql_parse.cc:
        Fixed calling of function that has changed.
      sql/sql_repl.cc:
        More DBUG statements
        Give a proper error number from mysql_binlog_send() so that we know when we have to abort slaves.
      88a2f93b
  25. 18 Aug, 2002 1 commit
    • unknown's avatar
      Fixed timing problem with rpl000001 replication test. · 871b7856
      unknown authored
      Fixed configure problems with HPUX and openbsd
      SHOW SLAVE STATUS returns empty set if slave is not initialized
      SHOW MASTER STATUS returns empty set if binary logging is not enabled.
      Fixed shutdown problem on Solaris.
      
      
      BitKeeper/deleted/.del-set_var.cc~5374527de1955359:
        Delete: libmysqld/set_var.cc
      BitKeeper/etc/ignore:
        added libmysqld/set_var.cc
      Build-tools/Do-compile:
        Remove warnings from touch during compilation
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Added real_sleep command
      configure.in:
        Fixed type for HPUX10
      innobase/configure.in:
        Fixed type for openbsd
      libmysql/libmysql.c:
        Fix for new SHOW SLAVE STATUS
      myisam/mi_update.c:
        Update key file if using external locking
      mysql-test/mysql-test-run.sh:
        Safety fix
      mysql-test/r/rpl000015.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/r/rpl_empty_master_crash.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/t/rpl000001.test:
        sleep -> real_sleep to avoid timing problem
      sql/mysqld.cc:
        Fixed bug with SIGTERM on Solaris
      sql/slave.cc:
        SHOW SLAVE STATUS returns empty sets if slave is not initialized.
      sql/sql_repl.cc:
        SHOW MASTER STAT returns empty set if no binary logging.
      871b7856
  26. 17 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned... · ca4bf4f7
      unknown authored
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      Removed thread marking of safemalloc blocks (becasue of alignment problems)
      Temporary fix for bigint comparison.
      
      
      configure.in:
        Added size checking of char*
      BitKeeper/etc/ignore:
        Added sql-bench/innotest1 sql-bench/innotest1a sql-bench/innotest1b sql-bench/innotest2 sql-bench/innotest2a sql-bench/innotest2b to the ignore list
      mysql-test/r/select.result:
        Cleaned up test
      mysql-test/t/select.test:
        Cleaned up test
      mysys/my_static.h:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      mysys/safemalloc.c:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      sql/field.h:
        Temporary fix for bigint comparison.
      sql/gen_lex_hash.cc:
        Smaller hash table
      sql/item_cmpfunc.cc:
        Cleanup
      sql/mysqld.cc:
        Removed thread marking of safemalloc blocks (becasue of alignment problems)
      sql/opt_range.cc:
        Comment
      ca4bf4f7
  27. 16 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code) · 31065adc
      unknown authored
      Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
      Fixed bug in pthread_mutex_trylock with HPUX 11.0
      
      
      Docs/manual.texi:
        Changelog
      include/my_pthread.h:
        Fix for pthread_mutex_trylock when used with SAFEMUTEX
      include/violite.h:
        Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
      innobase/buf/buf0buf.c:
        Fixed wrong format string
      libmysqld/lib_sql.cc:
        Fixed hangup in embedded server.
      mysql-test/r/distinct.result:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      mysql-test/t/distinct.test:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      mysys/my_pthread.c:
        Cleanup of pthread_xxx rewrite code.
        Fixed bug in pthread_mutex_trylock with HPUX 11.0
      sql/gen_lex_hash.cc:
        Smaller hash array
      sql/mysqld.cc:
        Fixed hangup in embedded server.
      sql/sql_select.cc:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      vio/vio.c:
        Added vio_ssl_blocking
      vio/viossl.c:
        Added vio_ssl_blocking
      31065adc
  28. 12 Aug, 2002 4 commits
    • unknown's avatar
      Changed SQL variable delay_key_write to an enum · c9b3bcb2
      unknown authored
      able delay_key_write as default (as it was in 4.0.2)
      
      
      Docs/manual.texi:
        Updated information about variable DELAY_KEY_WRITE.
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/type_decimal.test:
        Fixed test to not cause purify error in mathlib during purify.
      mysql-test/t/variables.test:
        Test new usage of DELAY_KEY_WRITE
      sql/ha_innodb.cc:
        Merge with 3.23 code
      sql/mysql_priv.h:
        Changed SQL variable delay_key_write to an enum
      sql/mysqld.cc:
        Changed SQL variable delay_key_write to an enum.
        Enable delay_key_write as default (as it was in 4.0.2)
      sql/set_var.cc:
        Changed SQL variable delay_key_write to an enum
      sql/set_var.h:
        Changed SQL variable delay_key_write to an enum
      sql/sql_class.h:
        Changed SQL variable delay_key_write to an enum
      sql/sql_yacc.yy:
        Changed SQL variable delay_key_write to an enum
      c9b3bcb2
    • unknown's avatar
      Fix after merge · f4b6d2b0
      unknown authored
      sql/mysqld.cc:
        Removed not necessary DBUG line
      f4b6d2b0
    • unknown's avatar
      Changed IF(expr, column, NULL) to take type from column · 92e5f607
      unknown authored
      Fixed some windows portability problems and removed some compiler warnings
       Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
      
      
      Docs/manual.texi:
        Changelog
        Added information about new IF() behaviour.
      libmysql/libmysql.def:
        Removed mysql_ssl_clear
      myisam/mi_dynrec.c:
        Minor cleanup
      mysql-test/r/func_str.result:
        Added more tests for QUOTE
      mysql-test/t/func_str.test:
        Added more tests for QUOTE
      mysys/mf_iocache.c:
        Removed compiler warnings
      sql/ha_innodb.cc:
        Added missing null to generated string.
      sql/item_cmpfunc.cc:
        Changed IF(expr, column, NULL) to take type from column
      sql/item_strfunc.cc:
        Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
      sql/log.cc:
        Minor cleanup
      sql/mysql_priv.h:
        Fixed problem with opt_enable_named_pipe
      sql/mysqld.cc:
        Fixed problem with opt_enable_named_pipe
        Fixed some syntax errors in windows code
      sql/set_var.cc:
        Removed compiler warnings
      sql/slave.cc:
        Removed compiler warnings
      sql/sql_show.cc:
        Removed compiler warnings
      92e5f607
    • unknown's avatar
      Fixed problem with BIGINT and shutdown on AIX · bf30b263
      unknown authored
      Moved IF(test,column,NULL) code to 4.0
      Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
      Removed some CR's in os2 files.
      
      
      Docs/manual.texi:
        Changelog
      include/global.h:
        Fix for BIGINT problem on AIX
      include/my_no_pthread.h:
        Fixed typo
      libmysql/Makefile.shared:
        Fix for BIGINT problem on AIX
      mysql-test/mysql-test-run.sh:
        Fix to find xterm on AIX 4.3
      mysql-test/r/bigint.result:
        Fix for BIGINT problem on AIX
      mysql-test/r/func_if.result:
        Change results for IF() after reverting change.
      mysql-test/t/bigint.test:
        Fix for BIGINT problem on AIX
      mysys/Makefile.am:
        Fix for BIGINT problem on AIX
      mysys/my_gethostbyname.c:
        Cleanup
      mysys/my_init.c:
        Cleanup
      mysys/my_net.c:
        Cleanup
      mysys/my_os2cond.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.h:
        Space & CRLF cleanup
      mysys/my_os2dlfcn.c:
        Space & CRLF cleanup
      mysys/my_os2file64.c:
        Space & CRLF cleanup
      mysys/my_os2mutex.c:
        Space & CRLF cleanup
      mysys/my_os2thread.c:
        Space & CRLF cleanup
      mysys/my_os2tls.c:
        Space & CRLF cleanup
      mysys/mysys_priv.h:
        cleanup
      mysys/thr_rwlock.c:
        cleanup
      sql/ha_innobase.cc:
        Removed usage of sprintf()
        Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS
      sql/item_cmpfunc.cc:
        Reverted change for IF()
      sql/mysqld.cc:
        Fix for shutdown on AIX
      bf30b263
  29. 09 Aug, 2002 1 commit
    • unknown's avatar
      Fix for SSL and new my_getopt · fa3d257b
      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 ...
      fa3d257b