An error occurred fetching the project authors.
  1. 04 Nov, 2002 1 commit
    • unknown's avatar
      moved similar code to function · 8021b0a6
      unknown authored
      onversion with check
      
      
      sql/item.cc:
        removed similar code
      sql/item_sum.cc:
        conversion with check
      sql/sql_delete.cc:
        conversion with check
      sql/sql_derived.cc:
        style fix
      sql/sql_lex.cc:
        conversion with check
        moved similar code to function
      sql/sql_lex.h:
        conversion with check
        moved similar code to function
      sql/sql_parse.cc:
        conversion with check
      sql/sql_update.cc:
        conversion with check
      sql/sql_yacc.yy:
        conversion with check
      8021b0a6
  2. 30 Oct, 2002 1 commit
    • unknown's avatar
      removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM) · e0905d94
      unknown authored
      fixed some possible bugs
      
      
      sql/item.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_subselect.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_sum.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/mysql_priv.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_base.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_cache.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_delete.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
        fixed some possible bugs
      sql/sql_parse.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_prepare.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_repl.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_select.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_union.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_update.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_yacc.yy:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      e0905d94
  3. 25 Oct, 2002 1 commit
  4. 17 Oct, 2002 1 commit
  5. 16 Oct, 2002 1 commit
    • unknown's avatar
      Added THD as parameter to filesort. Removed not used 'special' argument. · fc04af4f
      unknown authored
      sql/mysql_priv.h:
        Fix for changed parameters to filesort
      sql/sql_delete.cc:
        Fix for changed parameters to filesort
      sql/sql_select.cc:
        Fix for changed parameters to filesort
      sql/sql_table.cc:
        Fix for changed parameters to filesort
      sql/sql_test.cc:
        Removed not used special parameter
      sql/sql_update.cc:
        Fix for changed parameters to filesort
      fc04af4f
  6. 12 Oct, 2002 1 commit
    • unknown's avatar
      Two bug fixes · 32d981c3
      unknown authored
      Docs/manual.texi:
        added text for fixes
      mysql-test/r/multi_update.result:
        new test case for multi-table deletes
      mysql-test/t/multi_update.test:
        new test case for multi-table deletes
      sql/sql_delete.cc:
        fix for multi-table deletes
      sql/sql_update.cc:
        fix for multi-table updates
      32d981c3
  7. 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
  8. 03 Sep, 2002 1 commit
    • 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
  9. 08 Aug, 2002 1 commit
    • unknown's avatar
      Lots of code fixes to the replication code (especially the binary logging and... · 3a4baab1
      unknown authored
      Lots of code fixes to the replication code (especially the binary logging and index log file handling)
      Fixed bugs in my last changeset that made MySQL hard to compile.
      Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
      Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
      Extended my_chsize() to allow one to specify a filler character.
      Extend vio_blocking to return the old state (This made some usage of this function much simpler)
      Added testing for some functions that they caller have got the required mutexes before calling the function.
      Use setrlimit() to ensure that we can write core file if one specifies --core-file.
      Added --slave-compressed-protocol
      Made 2 the minimum length for ft_min_word_len
      Added variables foreign_key_checks & unique_checks.
      Less logging from replication code (if not started with --log-warnings)
      Changed that SHOW INNODB STATUS requre the SUPER privilege
      More DBUG statements and a lot of new code comments
      
      
      BitKeeper/deleted/.del-rpl_compat.result~c950bc346b12c61a:
        Delete: mysql-test/r/rpl_compat.result
      BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f:
        Delete: mysql-test/t/rpl_compat.test
      Docs/manual.texi:
        Updated manual with fixes in this changeset
      client/mysqltest.c:
        Indentation cleanup
        Better error messages for some error conditions.
      include/my_pthread.h:
        Added 'safe_mutex_assert_owner()' to check that the thread really owns the mutex.
      include/my_sys.h:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      include/raid.h:
        New my_chsize()
      include/violite.h:
        Extend vio_blocking to return the old state
      innobase/include/dyn0dyn.h:
        Merge with 3.23 (AIX DYN_ARRAY_DATA_SIZE)
      innobase/include/dyn0dyn.ic:
        Merge with 3.23
      isam/create.c:
        Fix for new my_chsize()
      isam/isamchk.c:
        Fix for new my_chsize()
      isam/pack_isam.c:
        Fix for new my_chsize()
      libmysql/manager.c:
        Fix for new vio_blocking()
      libmysqld/lib_sql.cc:
        Fix for new open_log()
      myisam/mi_cache.c:
        Fix typo from previous checking
      myisam/mi_check.c:
        Fix for new my_chsize()
      myisam/mi_create.c:
        Fix for new my_chsize()
      myisam/mi_delete_all.c:
        Fix for new my_chsize()
      myisam/myisampack.c:
        Fix for new my_chsize()
      mysql-test/include/master-slave.inc:
        Better initialization for replication tests
      mysql-test/mysql-test-run.sh:
        Added option --log-warnings
      mysql-test/r/insert.result:
        More tests if INSERT ...(DEFAULT)
      mysql-test/r/rpl000001.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000002.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000003.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000004.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000005.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000006.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000007.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000008.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000009.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000010.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000011.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000012.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000013.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000014.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_alter.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_empty_master_crash.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_get_lock.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_log.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_magic.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_mystery22.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_skip_error.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_sporadic_master.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/insert.test:
        More tests if INSERT ...(DEFAULT)
      mysql-test/t/rpl000001.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000002.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000003.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000004.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000005.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000006.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000007.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000009.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000011.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000013.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000014.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_alter.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_empty_master_crash.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_get_lock.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_magic.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_mystery22.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_skip_error.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_sporadic_master.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysys/mf_iocache.c:
        More debug info
        Force seek after reinit_io_cache()
      mysys/mf_iocache2.c:
        Added my_b_filelength()
      mysys/my_chsize.c:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      mysys/raid.cc:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      sql/field.h:
        Fix for INSERT ... (DEFAULT)
      sql/ha_berkeley.h:
        Fix for dynamic variables
      sql/ha_innodb.cc:
        Change sprintf() to my_sprintf() to make code portable.
        Fix after sync with 3.23
        (We still need to fix the storage of the replication position in innodb)
      sql/ha_innodb.h:
        Fix for dynamic variables
      sql/handler.cc:
        Remove writting of COMMIT to the binary log.
        (Now done in MYSQL_LOG::write())
      sql/item_func.cc:
        Query_log_event() now always takes query length.
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/lock.cc:
        Check that we own critical mutexes.
      sql/log.cc:
        Big code cleanup / rewrite / optimize.
        - The index log file has its own IO_CACHE object.
        - Many functions totally rewritten to make them smaller and faster.
        - New handling of index log files
        - Lots of new comments
      sql/log_event.cc:
        Code cleanup
        New comments
      sql/log_event.h:
        Query_log_event() now always takes query length.
      sql/mini_client.cc:
        Better error messages on reconnect.
        Fixed wrong variable usage from last commit.
      sql/mysql_priv.h:
        New arguments to open_log()
      sql/mysqld.cc:
        Use setrlimit() to ensure that we can write core file if one specifies --core-file
        Added index file name as parameter to openlog().
        Added --slave-compressed-protocol
        Made 2 the minimum length for ft_min_word_len
      sql/net_serv.cc:
        Use new vio_blocking()
        (The vio_blocking() change was done to make this code more readable)
      sql/repl_failsafe.cc:
        Minor code cleanup
      sql/set_var.cc:
        Added variables slave_compressed_protocol, foreign_key_checks & unique_checks.
      sql/set_var.h:
        Generalization
      sql/slave.cc:
        Code cleanup & rewrite.
        Dont call SELECT VERSION() on check_master_version()
        New init_slave() code.
        Ensure that all threads create a THD early.
        Add locks around manipulation of critical structures
        Don't retry a command more than master_retry_count times.
        Write less warnings to the log file (if not started with --log-warnings)
        Faster flush_relay_log_info()
      sql/slave.h:
        More comments
        Added new arguments to some functions.
      sql/sql_acl.cc:
        More DBUG info
        New parameter to Query_log_event()
      sql/sql_base.cc:
        Added some mutex checking.
      sql/sql_cache.cc:
        Less not critical debug info
      sql/sql_class.h:
        Fix for new log handling.
      sql/sql_db.cc:
        Added mutex around remove_db_from_cache()
      sql/sql_delete.cc:
        Added missing parameters to changed functions
      sql/sql_insert.cc:
        Added missing parameters to changed functions
      sql/sql_parse.cc:
        Do an 'end_active_trans()' before 'load_master_data'
        Changed that SHOW INNODB STATUS requre the SUPER privilege
        Added new function parameters to new functions
      sql/sql_rename.cc:
        Added missing parameters to changed functions
      sql/sql_repl.cc:
        Code cleanups / new comments
        Fix for new find_first_log() calling standard.
        More DBUG statements.
        Show binlogs updated to use new IO_CACHE:d index log file.
      sql/sql_repl.h:
        New function arguments
      sql/sql_select.cc:
        Indentation changes
      sql/sql_table.cc:
        Added missing parameters to changed functions
        Added checking of mutex
        Added mutex around critical regions.
      sql/sql_test.cc:
        Don't use THR_ALARM if the configuration doesn't support it.
      sql/sql_update.cc:
        Added missing parameters to changed functions
      sql/table.cc:
        Added missing parameters to changed functions
      vio/vio.c:
        Extend vio_blocking to return the old state
      vio/viosocket.c:
        Extend vio_blocking to return the old state
      vio/viossl.c:
        Extend vio_blocking to return the old state
      3a4baab1
  10. 06 Aug, 2002 1 commit
  11. 01 Aug, 2002 1 commit
    • unknown's avatar
      few small fixes · a5878bf2
      unknown authored
      BitKeeper/etc/ignore:
        Added mysys/ste5KbMa to the ignore list
      include/my_semaphore.h:
        A small fix for BSDi
      sql/sql_update.cc:
        Just a proper error message
      a5878bf2
  12. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · 728cc2e2
      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
      728cc2e2
  13. 19 Jul, 2002 1 commit
    • unknown's avatar
      Fix wrong usage of constant which could cause mysqld to use index when doing... · 2d54c9d8
      unknown authored
      Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      code cleanup
      
      
      Docs/manual.texi:
        changelog
      sql/ha_innobase.cc:
        Removed compiler warning
      sql/slave.cc:
        Cleanup comments and indentation for suppressing connect warnings
      sql/sql_db.cc:
        clean up comment
      sql/sql_delete.cc:
        Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      sql/sql_update.cc:
        Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
      2d54c9d8
  14. 18 Jun, 2002 1 commit
  15. 13 Jun, 2002 1 commit
  16. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 595f3d5f
      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
      595f3d5f
  17. 17 May, 2002 1 commit
  18. 08 May, 2002 1 commit
  19. 29 Apr, 2002 1 commit
    • unknown's avatar
      Fixed that enable-reads-from-master and repl-parse-query works in option files. · 7cec02a2
      unknown authored
      Fixed slowdown problem on win98
      Fixed syntax for ALTER TABLE .. RENAME
      
      
      Docs/manual.texi:
        changelog
      libmysql/libmysql.c:
        Fixed that enable-reads-from-master and repl-parse-query works in option files.
      myisam/ft_boolean_search.c:
        Portability fixes
      mysys/my_thr_init.c:
        cleanup
      sql/sql_base.cc:
        Fixed slowdown problem on win98
      sql/sql_delete.cc:
        Removed compiler warnings
      sql/sql_insert.cc:
        Removed compiler warnings
      sql/sql_update.cc:
        Removed compiler warnings
      sql/sql_yacc.yy:
        Fixed syntax for ALTER TABLE .. RENAME
      vio/vio.c:
        Added test of OS2
      vio/viosocket.c:
        cleanup
      7cec02a2
  20. 28 Apr, 2002 1 commit
    • unknown's avatar
      invalidation moved before tables unlocking · 743eb8c9
      unknown authored
      sql/sql_delete.cc:
        invalidation moved before tables unlocking
        invalidation on multidelete error (if something changed)
      sql/sql_parse.cc:
        invalidation moved to mysql_admin_table
        layout fixing
      sql/sql_table.cc:
        invalidation moved to mysql_admin_table
      sql/sql_update.cc:
        invalidation moved before tables unlocking
        invalidation on multiupdate error (if something changed)
      743eb8c9
  21. 22 Mar, 2002 1 commit
    • unknown's avatar
      added building without query cache · 0b4b38b6
      unknown authored
      configure.in:
        new configure parameter (now only for embeded server)
      include/my_global.h:
        now query cache always included in server, because of problrms with test suit
      mysql-test/r/flush.result:
        removed double testing
      mysql-test/t/flush.test:
        removed double testing
      mysql-test/t/grant_cache.test:
        now it is only memo about query cache
      mysql-test/t/query_cache.test:
        now it is only memo about query cache
      0b4b38b6
  22. 15 Mar, 2002 1 commit
    • unknown's avatar
      processing trunsactional tables in query cache · ec41bed5
      unknown authored
      mysql-test/r/innodb_cache.result:
        new test for query cache with transactions
      mysql-test/t/innodb_cache.test:
        new test for query cache with transactions
      sql/sql_cache.cc:
        processing trunsactional tables in query cache & removing strlen
      sql/sql_class.cc:
        processing trunsactional tables in query cache & added transaction-live memory
      sql/sql_class.h:
        processing trunsactional tables in query cache & added transaction-live memory
      sql/sql_parse.cc:
        processing trunsactional tables in query cache & added transaction-live memory
      sql/table.h:
        removing strlen operation from query cache
      ec41bed5
  23. 29 Jan, 2002 1 commit
    • unknown's avatar
      New error messages · bee88cd2
      unknown authored
      Test of unsigned BIGINT values
      Fixes for queries-per-hour
      Cleanup of replication code (comments and portability fixes)
      Make most of the binary log code 4G clean
      Changed syntax for GRANT ... QUERIES PER HOUR
      
      
      Docs/manual.texi:
        Fixed Changelog, upgrading to 4.0 and 4.1 TODO sections.
      Docs/mysqld_error.txt:
        Added error message.
      configure.in:
        Fix for autoconf 2.52
      include/my_getopt.h:
        Portability fix.
      include/my_global.h:
        Portablity fix.
      include/mysqld_error.h:
        New error messages
      mysql-test/r/bigint.result:
        Test of unsigned BIGINT values.
      mysql-test/r/func_op.result:
        Test of unsigned BIGINT values.
      mysql-test/r/varbinary.result:
        Test of unsigned BIGINT values.
      mysql-test/t/bigint.test:
        Test of unsigned BIGINT values.
      sql/item_func.h:
        Optimized Item_int_func() usage.
      sql/lock.cc:
        Cleanup comments
      sql/log.cc:
        Cleanup
      sql/log_event.cc:
        Cleanup and portability fixes.
      sql/log_event.h:
        Cleanup and portability fixes.
      sql/mini_client.cc:
        Cleanup and portability fixes.
      sql/mysqld.cc:
        Fix for queries-per-hour
      sql/repl_failsafe.cc:
        Prepare for making binary log 2G clean.
      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
      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:
        Cleanup
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Cleanup and removal of possible reserved words
      sql/sql_base.cc:
        More DBUG
      sql/sql_cache.cc:
        Cleanup & portability fixes
      sql/sql_class.h:
        Make binary log 4G clean
      sql/sql_delete.cc:
        More DBUG
      sql/sql_handler.cc:
        Cleanup & portability fixes
      sql/sql_parse.cc:
        Cleanup of queries-per-hours code
      sql/sql_rename.cc:
        Add missing DBUG_RETURN
      sql/sql_repl.cc:
        Cleanup & portability fixes
      sql/sql_select.cc:
        Cleanup & portability fixes
      sql/sql_show.cc:
        Cleanup & portability fixes
      sql/sql_update.cc:
        Small cleanup of multi-update-code (need second pass)
      sql/sql_yacc.yy:
        Changed syntax for GRANT ... QUERIES PER HOUR
      strings/str2int.c:
        Cleanup & portability fixes
      bee88cd2
  24. 17 Jan, 2002 1 commit
  25. 16 Jan, 2002 2 commits
    • unknown's avatar
      Move HA_EXTRA_NO_READCHECK to ha_open · ae65d7af
      unknown authored
      Fixed bug in multi-table-delete
      
      
      Docs/manual.texi:
        Changelog
      include/mysql_com.h:
        Define MAX_CHAR_WIDTH
      myisam/mi_extra.c:
        Cleanup
      mysql-test/r/bdb.result:
        Bug test
      mysql-test/r/group_by.result:
        Bug test
      mysql-test/t/bdb.test:
        Bug test
      mysql-test/t/group_by.test:
        Bug test
      sql/ha_berkeley.cc:
        More debug statements
      sql/handler.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/records.cc:
        More DBUG statements
      sql/sql_analyse.cc:
        Cleanup
      sql/sql_base.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/sql_delete.cc:
        Fixed bug in multi-table-delete
        Cleanup
      sql/sql_select.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/sql_update.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      ae65d7af
    • unknown's avatar
      some small changes for MULTI-TABLE updates and other little fixes · a65e6729
      unknown authored
      sql/sql_class.h:
        small optimisations for MULTI-TABLE UPDATE's
      sql/sql_parse.cc:
        Could not look at that if () at the start of execute_command, and as 
        Monty evidently did not have time, so I optimised it away in the best 
        fashion I know of.
      sql/sql_update.cc:
        Some optimisations  for MULTI-TABLE UPDATE's
      a65e6729
  26. 12 Jan, 2002 1 commit
  27. 26 Dec, 2001 1 commit
    • unknown's avatar
      This is a large push. Included are : · c2895032
      unknown authored
      * multi-table updates
      * new paid feature for limiting number of queries per hour for users
      * optional syntax for multi-table deletes
      * optimization for SQL_CALC_FOUND_ROWS
      * a small addition for CREATE .. SELECT that will be of future use
      
      I know that all this will require many additions to documentation, 
      which I have not done, but I am at Arjen's disposal to help him document
      all this.
      
      
      
      libmysqld/lib_sql.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      mysql-test/r/multi_update.result:
        Change of the result to accomodate multi-table updates
      mysql-test/t/multi_update.test:
        Change in multi-table tests to accomodate multi-table updates
      BitKeeper/etc/ignore:
        Added 50 sql/new.cc to the ignore list
      scripts/mysql_install_db.sh:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/item_timefunc.h:
        This is a small feature that will be of use later in the proper 
        creation of the tables out of CREATE ... SELECT...
        
        Further changes will come after this resolve/push/test passes ..
      sql/lex.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/mysql_priv.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/mysqld.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_acl.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_acl.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_class.h:
        These are changes required for multi-table updates.
      sql/sql_lex.h:
        Changes required for both multi-table updates and limiting number of 
        queries per hour (paid feature).
      sql/sql_parse.cc:
        Ha ! So many changes. 
        
        * multi-table updates
        * limiting number of queries per hour for users
      sql/sql_select.cc:
        Optimisation for SQL_CALC_FOUND_ROWS, when a query involves a single
        table, without WHERE or GROUP clause
      sql/sql_update.cc:
        multi-table updates
      sql/sql_yacc.yy:
        Many things :
        * multi-table updates
        * limiting number of queries per hour for users
        * new optional syntax for multi-table deletes. This one is different 
          from the one demanded by user. USING clause MUST include ALL tables, 
          not just the ones that are used and not deleted from.
      c2895032
  28. 02 Dec, 2001 1 commit
    • unknown's avatar
      Query cache. · ebd29d50
      unknown authored
      Remove some warnings
      
      
      Docs/manual.texi:
        Solaris and gcc
      include/ft_global.h:
        Remove warnings
      include/myisam.h:
        Query cache
      include/myisammrg.h:
        Query cache
      include/mysql_com.h:
        Query cache
      libmysqld/lib_sql.cc:
        Query cache
      myisam/ft_boolean_search.c:
        Remove warnings
      myisam/ft_dump.c:
        Remove warnings
      myisam/ft_parser.c:
        Remove warnings
      myisam/ft_static.c:
        Remove warnings
      myisam/ft_update.c:
        Remove warnings
      myisam/ftdefs.h:
        Remove warnings
      myisam/mi_delete.c:
        Query cache
      myisam/mi_locking.c:
        Query cache
      myisam/mi_update.c:
        Query cache
      myisam/myisamdef.h:
        Optimize for Ia64
      myisammrg/myrg_extra.c:
        Query cache
      mysys/mf_keycache.c:
        DBUG statements
      regex/cclass.h:
        Remove warnings
      regex/cname.h:
        Remove warnings
      regex/main.c:
        Remove warnings
      regex/regcomp.c:
        Remove warnings
      regex/regcomp.ih:
        Remove warnings
      regex/regerror.c:
        Remove warnings
      regex/reginit.c:
        Remove warnings
      regex/split.c:
        Remove warnings
      sql-bench/test-connect.sh:
        Make tests query-cache safe.
      sql-bench/test-transactions.sh:
        Fix for old perl versions
      sql/convert.cc:
        Query cache
      sql/ha_myisammrg.cc:
        Query cache
      sql/ha_myisammrg.h:
        Query cache
      sql/handler.cc:
        Query cache
      sql/item_create.cc:
        Query cache
      sql/item_func.cc:
        Remove warnings
      sql/item_func.h:
        Remove warnings
      sql/lex.h:
        Query cache
      sql/mysql_priv.h:
        Query cache
      sql/mysqld.cc:
        Query cache
      sql/net_serv.cc:
        Query cache
      sql/sql_cache.cc:
        Query cache
      sql/sql_class.cc:
        Query cache
      sql/sql_class.h:
        Query cache
      sql/sql_db.cc:
        Query cache
      sql/sql_delete.cc:
        Query cache
      sql/sql_insert.cc:
        Query cache
      sql/sql_parse.cc:
        Query cache
      sql/sql_select.cc:
        Query cache
      sql/sql_table.cc:
        Query cache
      sql/sql_update.cc:
        Query cache
      sql/sql_yacc.yy:
        Query cache
      ebd29d50
  29. 29 Nov, 2001 1 commit
    • unknown's avatar
      Fix not critical MyISAM bug in locking. · 056656f7
      unknown authored
      Free character sets properly (for embedded).
      Add missing mutex in HANDLER CLOSE
      
      
      Build-tools/Do-compile:
        Update for gcc 3.0
      Docs/manual.texi:
        Update for gcc 3.0
      myisam/mi_locking.c:
        Fix not critical bug in locking
      myisam/myisamdef.h:
        Fix not critical bug in locking
      mysys/my_init.c:
        Free character sets properly
      mysys/my_seek.c:
        Remove warning
      sql-bench/server-cfg.sh:
        Fix benchmarks to run with MySQL
      sql/sql_handler.cc:
        Add missing mutex
      sql/sql_update.cc:
        Clean up procinfo
      056656f7
  30. 24 Nov, 2001 1 commit
  31. 21 Nov, 2001 1 commit
  32. 08 Nov, 2001 1 commit
    • unknown's avatar
      Fixed bug in UPDATE .. ORDER BY · 7f8e033c
      unknown authored
      Docs/manual.texi:
        Changelog
      mysql-test/r/update.result:
        Test found bug in UPDATE .. ORDER BY
      mysql-test/t/update.test:
        Test found bug in UPDATE .. ORDER BY
      7f8e033c
  33. 21 Aug, 2001 1 commit
    • unknown's avatar
      Portability fixes. · 4e46aa46
      unknown authored
      Patches required by Gemini
      Fix to properly detect if there is an active transaction in InnoDB
      Fix to not lock thread structure when doing automatic rollback when thread ends
      Allow -O lower_case_names=0 on UNIX
      
      
      Docs/manual.texi:
        Some updates from mailing list.
        Changelog
      client/mysqlbinlog.cc:
        Removed variables declared in net.c
      configure.in:
        Added test for strtoll and fixed test for gethostname_r for AIX
      mysql-test/t/innodb.test:
        Added test of active transactions
      sql/field.cc:
        Patch required by Gemini
      sql/field.h:
        Patch required by Gemini
      sql/filesort.cc:
        Patch required by Gemini
      sql/gen_lex_hash.cc:
        Update to support new syntax
      sql/ha_gemini.cc:
        Patch required by Gemini
      sql/ha_gemini.h:
        Patch required by Gemini
      sql/ha_innobase.cc:
        Fix to properly detect if there is an active transaction in InnoDB
      sql/handler.cc:
        Fix to properly detect if there is an active transaction in InnoDB
      sql/handler.h:
        Fix to properly detect if there is an active transaction in InnoDB.
        Fix for Gemini
      sql/lex.h:
        SHOW LOCKS
      sql/mysqld.cc:
        Fix to not lock thread structure when doing automatic rollback when thread ends.
      sql/share/portuguese/errmsg.txt:
        Update
      sql/sql_class.cc:
        Fix to not lock thread structure when doing automatic rollback when thread ends.
      sql/sql_class.h:
        Fix to properly detect if there is an active transaction in InnoDB
      sql/sql_delete.cc:
        Fix for Gemini
      sql/sql_parse.cc:
        Allow -O lower_case_names=0 on UNIX
      sql/sql_select.cc:
        Fix for Gemini
      sql/sql_table.cc:
        Allow -O lower_case_names=0 on UNIX
      sql/sql_update.cc:
        Fix for Gemini
      sql/sql_yacc.yy:
        For SHOW LOCKS
      strings/strto.c:
        Portability fix
      4e46aa46
  34. 02 Aug, 2001 1 commit
    • unknown's avatar
      Fix UNION · c22138ba
      unknown authored
      New faster list iterators
      Change list code to be simpler and faster
      Optimize count(distinct)
      New error messages for UNION
      Make create_tmp_table more general to be usable by UNION
      
      
      Docs/manual.texi:
        Changelog
      include/mysqld_error.h:
        Add new error messages needed for UNION
      mysql-test/r/union.result:
        New tests for UNION
      mysql-test/t/analyse.test:
        Add missing drop table
      mysql-test/t/union.test:
        new tests for UNION
      sql/Makefile.am:
        Change name of sql_unions.cc to sql_union.cc
      sql/item.cc:
        Use List_iterator_fast
      sql/item_cmpfunc.cc:
        Use List_iterator_fast
      sql/item_func.cc:
        Use List_iterator_fast
      sql/item_sum.cc:
        Use List_iterator_fast
        Optimize count(distinct)
        Cleanup of indentation and comments
      sql/item_sum.h:
        Optimize count(distinct)
      sql/key.cc:
        Use List_iterator_fast
      sql/mysql_priv.h:
        Add new option bits
      sql/opt_sum.cc:
        Use List_iterator_fast
      sql/share/Makefile.am:
        Add 'fix_errors' label
      sql/share/czech/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/danish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/dutch/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/english/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/estonian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/french/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/german/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/greek/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/hungarian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/italian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/japanese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/korean/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian-ny/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/polish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/portuguese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/romanian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/russian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/slovak/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/spanish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/swedish/errmsg.txt:
        Add new error messages needed for UNION
      sql/sql_analyse.cc:
        Use List_iterator_fast
      sql/sql_base.cc:
        Use List_iterator_fast
        Add new argument to setup_fields
      sql/sql_class.cc:
        Use List_iterator_fast
      sql/sql_class.h:
        Create new class for UNION
      sql/sql_handler.cc:
        Use List_iterator_fast
      sql/sql_insert.cc:
        Use List_iterator_fast
      sql/sql_lex.h:
        Cleanup
      sql/sql_list.cc:
        Faster iteration of lists
      sql/sql_list.h:
        Faster iterations of lists
      sql/sql_load.cc:
        Use List_iterator_fast
      sql/sql_parse.cc:
        Fix UNION code
      sql/sql_select.cc:
        Use List_iterator_fast
        Make create_tmp_table more general to be usable by UNION
      sql/sql_select.h:
        Changes to speed up copy_fields()
      sql/sql_show.cc:
        Use List_iterator_fast
      sql/sql_table.cc:
        Use List_iterator_fast
      sql/sql_union.cc:
        Fix UNION code
      sql/sql_update.cc:
        Use List_iterator_fast
      sql/sql_yacc.yy:
        Fix UNION code
      c22138ba
  35. 16 Jul, 2001 1 commit
    • unknown's avatar
      Patch for netBSD · b5ba2796
      unknown authored
      Added warning for tables where the auto_increment key is 0
      Fixed DELETE ... LIMIT 0
      Fixed UPDATE ..LIMIT 0
      
      
      Docs/manual.texi:
        Changelog + Update to CHECK TABLE
      configure.in:
        Patch for netBSD
      mit-pthreads/gen/ctime.c:
        Patch for netBSD
      mit-pthreads/machdep/netbsd-1.1/__signal.h:
        Patch for netBSD
      mit-pthreads/stdio/strerror.c:
        Patch for netBSD
      myisam/mi_check.c:
        Added warning for tables where the auto_increment key is 0
      myisam/myisamchk.c:
        Added warning for tables where the auto_increment key is 0
      mysql-test/r/auto_increment.result:
        Added warning for tables where the auto_increment key is 0
      mysql-test/r/limit.result:
        Test of DELETE ... LIMIT 0
      mysql-test/t/auto_increment.test:
        Added warning for tables where the auto_increment key is 0
      mysql-test/t/limit.test:
        Test of DELETE ... LIMIT 0
      sql/Makefile.am:
        Don't add mysqld_LDADD to mysqlbinlog (portability patch)
      sql/ha_gemini.cc:
        Changed copyright (have got ok from NuSphere previously)
      sql/ha_gemini.h:
        Changed copyright (have got ok from NuSphere previously)
      sql/sql_delete.cc:
        Fixed DELETE ... LIMIT 0
      sql/sql_update.cc:
        Fixed UPDATE ..LIMIT 0
      b5ba2796
  36. 25 Jun, 2001 1 commit
    • unknown's avatar
      Fixed bug when sorting big files (introduced with multi-table-delete) · 743c2411
      unknown authored
      Changed mysql-test to use --language
      Cleaned up parameters to filesort()
      
      
      configure.in:
        Fixed typo
      mysql-test/install_test_db.sh:
        Changed test case to use --language
      mysql-test/mysql-test-run.sh:
        Changed test case to use --language
        Fixed that test names are not 'cut'-ed.
      mysql-test/r/select_found.result:
        Fixed test case to make it repeatable
      mysql-test/t/insert.test:
        Added test of unique key handling
      mysql-test/t/order_fill_sortbuf.test:
        Cleaned up test
      mysql-test/t/select_found.test:
        Fixed test case to make it repeatable
      sql/filesort.cc:
        Fixed bug when sorting big files (introduced with multi-table-delete)
        cleaned up parameters.
      sql/mysql_priv.h:
        Cleaned up parameters to filesort()
      sql/mysqld.cc:
        Fixed typo on enum
      sql/sql_delete.cc:
        Cleanup
      sql/sql_select.cc:
        Cleanup
      sql/sql_table.cc:
        Cleanup
      sql/sql_test.cc:
        Cleanup
      sql/sql_update.cc:
        Cleanup
      743c2411
  37. 03 Jun, 2001 1 commit
    • unknown's avatar
      These are actually two changesets. One for splitting LEX in two and · 10da0aee
      unknown authored
      the other for multi-table delete
      
      
      sql/filesort.cc:
        Fixed some bugs for Unique class
      sql/item.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/item_sum.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/mysql_priv.h:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/sql_class.h:
        Adding multi table delete
      sql/sql_delete.cc:
        Added multi-table delete
      sql/sql_lex.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/sql_lex.h:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/sql_parse.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc, plus added multi-table delete
      sql/sql_select.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/sql_update.cc:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc
      sql/sql_yacc.yy:
        Changes caused by splitting lex into two parts, in order to 
        implement UNION's etc, plus added multi-table delete
      sql/uniques.cc:
        Fixed some bugs in duplicate stripping
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      10da0aee
  38. 10 May, 2001 1 commit
  39. 11 Apr, 2001 1 commit
    • unknown's avatar
      Added all changes from old 4.0 version: · 99c46a49
      unknown authored
      PSTACK, libmysqld and MySQL filesystem
      UPDATE ... ORDER BY
      DELETE ... ORDER BY
      New faster fulltext handling
      Faster compressed keys
      
      
      
      Makefile.am:
        Added support for pstack and libmysqld_dir
      acconfig.h:
        MySQL filesystem and PSTACK
      acinclude.m4:
        MySQL File system
      client/mysql.cc:
        Support for --xml
      configure.in:
        Pstack, MySQL FS and libmysqld_dir
      include/ft_global.h:
        Faster fulltext
      include/my_pthread.h:
        Made c++ safe
      include/myisam.h:
        Update for faster fulltext
      include/mysql_com.h:
        new my_net_read()
      include/violite.h:
        libmysqld
      libmysql/net.c:
        New protocol that supports big packets
      myisam/Makefile.am:
        Faster fulltext
      myisam/ft_parser.c:
        Faster fulltext
      myisam/ft_search.c:
        Faster fulltext
      myisam/ft_update.c:
        Faster fulltext
      myisam/ftdefs.h:
        Faster fulltext
      myisam/mi_check.c:
        Faster fulltext
      myisam/mi_open.c:
        Faster compressed keys
      myisam/mi_search.c:
        Faster compressed keys
      myisam/mi_update.c:
        Faster compressed keys
      myisam/myisamdef.h:
        Faster compressed keys
      myisam/sort.c:
        Faster compressed keys
      mysql-test/mysql-test-run.sh:
        --skip-innobase and --skip-bdb
      sql/ChangeLog:
        Changelog
      sql/Makefile.am:
        PSTACK
      sql/mysql_priv.h:
        New ORDER BY options and libmysqld
      sql/mysqld.cc:
        PSTACK
      sql/net_serv.cc:
        New protocol that supports big packets
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Better list_open_tabels
      sql/sql_delete.cc:
        ORDER BY for delete
      sql/sql_lex.cc:
        Added language convertation of all strings
      sql/sql_parse.cc:
        Changes for libmysqld
        Use new ORDER BY options
      sql/sql_show.cc:
        Character set convertations
        Use new list_open_tables function.
      sql/sql_update.cc:
        UPDATE ... ORDER BY
      sql/sql_yacc.yy:
        Clean up symbol definitions
        DELETE .. ORDER BY
        UPDATE .. ORDER BY
      sql/table.h:
        new OPEN_TABLE_LIST structure
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      99c46a49