An error occurred fetching the project authors.
  1. 01 Nov, 2006 1 commit
    • unknown's avatar
      Fixed bug #21727. · 2a7cf59f
      unknown authored
      This is a performance issue for queries with subqueries evaluation
      of which requires filesort.
      Allocation of memory for the sort buffer at each evaluation of a
      subquery may take a significant amount of time if the buffer is rather big.
      With the fix we allocate the buffer at the first evaluation of the
      subquery and reuse it at each subsequent evaluation.
      
      
      mysql-test/r/subselect.result:
        Added a test case for bug #21727.
      mysql-test/t/subselect.test:
        Added a test case for bug #21727.
      sql/item_subselect.h:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added an implementation for Item_subselect::is_uncacheable()
        returning TRUE if the engine if the subselect is uncacheable.
      sql/mysql_priv.h:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added a new boolean parameter to the filesort_free_buffers procedure.
        If the value of this parameter is TRUE the procedure frees the sort_keys
        buffpek buffers.
      sql/records.cc:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added a new boolean parameter to the filesort_free_buffers procedure.
        If the value of this parameter is TRUE the procedure frees the sort_keys
        buffpek buffers.
      sql/sql_base.cc:
        Fixed bug #21727.
        Made sure that st_table::pos_in_table_list would be always initialized.
      sql/sql_select.cc:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added a new boolean parameter to the filesort_free_buffers procedure.
        If the value of this parameter is TRUE the procedure frees the sort_keys
        buffpek buffers.
      sql/sql_show.cc:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added a new boolean parameter to the filesort_free_buffers procedure.
        If the value of this parameter is TRUE the procedure frees the sort_keys
        buffpek buffers.
      sql/sql_table.cc:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Cleanup.
      sql/table.cc:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added st_table_list::in_subselect() returning for a table the subselect that 
        contains the FROM list this table is taken from (if there is any).
      sql/table.h:
        Fixed bug #21727.
        This is a performance issue for queries with subqueries evaluation
        of which requires filesort.
        Added fields for sort_keys and buffpek buffers to the FILESORT_INFO structure.
      2a7cf59f
  2. 31 Oct, 2006 1 commit
    • unknown's avatar
      BUG#8804: wrong results for NULL IN (SELECT ...) · 48df3b96
      unknown authored
      Evaluate "NULL IN (SELECT ...)" in a special way: Disable pushed-down 
      conditions and their "consequences": 
       = Do full table scans instead of unique_[index_subquery] lookups.
       = Change appropriate "ref_or_null" accesses to full table scans in
         subquery's joins.
      Also cache value of NULL IN (SELECT ...) if the SELECT is not correlated 
      wrt any upper select.
      
      
      mysql-test/r/subselect.result:
        BUG#8804: wrong results for NULL IN (SELECT ...): 
         - Updated test results
      sql/item.h:
        BUG#8804: wrong results for NULL IN (SELECT ...): 
         - Added comments
      sql/item_cmpfunc.cc:
        BUG#8804: wrong results for NULL IN (SELECT ...): 
        Made Item_in_optimizer to:
        - cache the value of "NULL IN (uncorrelated select)"
        - Turn off pushed-down predicates when evaluating "NULL IN (SELECT ...)"
      sql/item_cmpfunc.h:
        BUG#8804: wrong results for NULL IN (SELECT ...): 
        - Made Item_in_optimizer cache the value of "NULL IN (uncorrelated select)"
        - Added comments
      sql/item_subselect.cc:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - When needed, wrap the predicates we push into subquery into an 
          Item_func_trig_cond so we're able to turn them off when evaluating 
          NULL IN (SELECT ...).
        - Added code to evaluate NULL IN (SELECT ...) in a special way:
          = In [unique_]index_subquery, do full table scan to see if there 
            are any rows.
          = For other subqueries, change ref[_or_null] to ALL if the
            ref[_or_null] was created from pushed-down predicate.
      sql/item_subselect.h:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Added Item_subselect::is_correlated
        - Added comments
      sql/records.cc:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Make rr_sequential() non-static
      sql/sql_lex.cc:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Added st_select_lex::is_correlated and Item_subselect::is_correlated.
      sql/sql_lex.h:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Added st_select_lex::is_correlated
      sql/sql_select.cc:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Added KEY_FIELD::outer_ref to keep track of which ref accesses are 
          created from predicates that were pushed down into the subquery.
      sql/sql_select.h:
        BUG#8804: wrong results for NULL IN (SELECT ...):
        - Added KEYUSE::outer_ref
      mysql-test/r/subselect3.result:
        New BitKeeper file ``mysql-test/r/subselect3.result''
      mysql-test/t/subselect3.test:
        New BitKeeper file ``mysql-test/t/subselect3.test''
      48df3b96
  3. 24 Oct, 2005 1 commit
    • unknown's avatar
      Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization · 8d6634c9
      unknown authored
      heap/_check.c:
        Change arguments to ha_key_cmp
      heap/hp_create.c:
        Change arguments to ha_key_cmp
      include/my_base.h:
        Remove SEARCH_RETURN_B_POS and instead always send an array to ha_key_cmp() as last argument
      myisam/mi_check.c:
        Change arguments to ha_key_cmp
      myisam/mi_rnext_same.c:
        Change arguments to ha_key_cmp
      myisam/mi_search.c:
        Change arguments to ha_key_cmp
      myisam/mi_write.c:
        Change arguments to ha_key_cmp
      myisammrg/myrg_queue.c:
        Change arguments to ha_key_cmp
      mysys/my_handler.c:
        Remove SEARCH_RETURN_B_POS and instead always send an array to ha_key_cmp() as last argument
        (This removes an if in a loop at the expensive of an int on the stack)
      sql/records.cc:
        Simplify new rr_index() code
        Create common error handling function for rr_() functions.
        Remove loop from rr_index() as handler::index_next() can never return HA_ERR_RECORD_DELETED
      sql/sql_load.cc:
        Simplify
      sql/sql_update.cc:
        Simplify code
        Fixed bug when one is updating an index column that could be used with ORDER BY
      sql/structs.h:
        Removed not needed structure element
      8d6634c9
  4. 18 Oct, 2005 1 commit
  5. 30 Sep, 2005 1 commit
    • unknown's avatar
      BUG#12915: Added single-table UPDATE/DELTE ... ORDER BY ... LIMIT · 1fe423ae
      unknown authored
      optimization: now can use index to find records to update/delete
      when there is no WHERE clause.
      
      
      mysql-test/r/update.result:
        Testcase for BUG#12915
      mysql-test/t/update.test:
        Testcase for BUG#12915
      sql/mysql_priv.h:
        BUG#12915: Added init_read_record_idx function.
      sql/opt_range.cc:
        BUG#12915: Added get_index_for_order() - find an index that can be
        used to get first N table records in given ordering cheaper then 
        one would with full table scan.
      sql/opt_range.h:
        BUG#12915: Added get_index_for_order() function
      sql/records.cc:
        BUG#12915: Added init_read_record_idx(), rr_index() that allow to scan
        index using init_read_record()/read_record.read_record()
      sql/sql_delete.cc:
        BUG#12915: Added single-table DELETE ... ORDER BY ... LIMIT optimization: 
        now can use index to find records to delete when there is no WHERE clause.
      sql/sql_update.cc:
        BUG#12915: Added single-table UPDATE ... ORDER BY ... LIMIT optimization: 
        now can use index to find records to update when there is no WHERE clause.
      sql/structs.h:
        BUG#12915: Added init_read_record_idx(), rr_index() that allow to scan
        index using init_read_record()/READ_RECORD::read_record()
      1fe423ae
  6. 07 Apr, 2005 1 commit
    • unknown's avatar
      Moved some old test and added a new test to only be run with mysql-test-run --big · e10d8144
      unknown authored
      Fixed warnings by valgrind for sum_distinct.test
      Enable buffered-record-reads after filesort for InnoDB tables with short primary key
      Enabled sort-with-data for MyISAM temporary files
      
      
      BitKeeper/etc/ignore:
        added tools/mysqltestmanager
      client/mysqltest.c:
        Ensure that BIG_TEST is always set to 0 or 1
        Fix the 'eval' also honors 'require'
      mysql-test/mysql-test-run.sh:
        Enlarge InnoDB table space for --big tests
      mysql-test/r/heap.result:
        Fix after adding more optimzation for filsort
      mysql-test/r/sum_distinct.result:
        Move 'slow' part of test to sum_distinct-big.test
      mysql-test/t/heap.test:
        Ensure that results are indpendent of optimizer
      mysql-test/t/sum_distinct.test:
        Move 'slow' part of test to sum_distinct-big.test
      sql/filesort.cc:
        Use 'sort with data' also on temporary files and with INSERT ... SELECT
      sql/ha_innodb.h:
        Remove HA_FAST_KEY_READ to enable buffered-record-reads after filesort
      sql/handler.h:
        More comments
      sql/mysql_priv.h:
        A bit smaller limit for cache for buffered-records-read (after testing)
      sql/records.cc:
        Don't use buffered-record-reads if ref_length > MAX_REFLENGTH
        Fixed warning from valgrind in 'sum_distinct'
      sql/sql_select.cc:
        Ensure that tempory tables has query_id set for all fields
        (Required for sort-with-data to work on temp files)
      e10d8144
  7. 06 Apr, 2005 1 commit
    • unknown's avatar
      Fixed errors found during review · 7503894a
      unknown authored
      mysql-test/r/drop.result:
        Made error message smaller to not get into trouble with clients with smaller error buffers
        The proper way to fix this is to generate a separate warning for each not found table if there was more than one table in the DROP
        but
      mysql-test/r/kill.result:
        Portablity fix
      mysql-test/t/kill.test:
        Portablity fix
      mysys/my_sync.c:
        Fixed possible compiler warning
      sql/records.cc:
        Fixed possible compiler warning
      sql/share/errmsg.txt:
        Made error message smaller to not get into trouble with clients with smaller error buffers
      sql/sql_class.cc:
        Don't put code in comments
      sql/sql_show.cc:
        Cleanup
      7503894a
  8. 05 Apr, 2005 1 commit
  9. 04 Apr, 2005 1 commit
  10. 06 Jan, 2005 1 commit
    • unknown's avatar
      First stage of table definition cache · acf76e3b
      unknown authored
      Split TABLE to TABLE and TABLE_SHARE (TABLE_SHARE is still allocated as part of table, will be fixed soon)
      Created Field::make_field() and made Field_num::make_field() to call this
      Added 'TABLE_SHARE->db' that points to database name; Changed all usage of table_cache_key as database name to use this instead
      Changed field->table_name to point to pointer to alias. This allows us to change alias for a table by just updating one pointer.
      Renamed TABLE_SHARE->real_name to table_name
      Renamed TABLE->table_name to alias
      Renamed TABLE_LIST->real_name to table_name
      
      
      include/myisam.h:
        Added const before names
      mysql-test/r/group_min_max.result:
        Make results repeatable
      mysql-test/t/group_min_max.test:
        Make results repeatable
      sql/field.cc:
        Created Field::make_field() and made Field_num::make_field() to call this
        Use TABLE_SHARE
        Use sql_strmake() instead of sql_memdup() to simplify code
      sql/field.h:
        Changed table_name to be pointer to table_name. This allows us to change alias for all fields by just changing one pointer.
        Use TABLE_SHARE
      sql/field_conv.cc:
        Use TABLE_SHARE
      sql/filesort.cc:
        Use TABLE_SHARE
      sql/ha_berkeley.cc:
        Use TABLE_SHARE
      sql/ha_heap.cc:
        Use TABLE_SHARE
      sql/ha_innodb.cc:
        Use TABLE_SHARE
      sql/ha_myisam.cc:
        Use TABLE_SHARE
      sql/ha_myisammrg.cc:
        Use TABLE_SHARE
        Change some pointer handling to use const char*
      sql/ha_ndbcluster.cc:
        Use TABLE_SHARE
      sql/handler.cc:
        Use TABLE_SHARE
      sql/item.cc:
        Use TABLE_SHARE
      sql/item_func.cc:
        Use TABLE_SHARE
      sql/item_subselect.cc:
        Use TABLE_SHARE
      sql/item_sum.cc:
        Use TABLE_SHARE
      sql/key.cc:
        Use TABLE_SHARE
      sql/lock.cc:
        Use TABLE_SHARE
      sql/log_event.cc:
        real_name -> table_name
      sql/mysql_priv.h:
        Use TABLE_SHARE
      sql/opt_range.cc:
        Use TABLE_SHARE
      sql/opt_sum.cc:
        Use TABLE_SHARE
      sql/records.cc:
        Use TABLE_SHARE
      sql/repl_failsafe.cc:
        real_name -> table_name
      sql/slave.cc:
        Use TABLE_SHARE
      sql/sp.cc:
        Use TABLE_SHARE
      sql/sp_head.cc:
        real_name -> table_name
      sql/sql_acl.cc:
        Use TABLE_SHARE
        removed unnecessary assert
        fixed indentation
        changed some char * -> const char*
      sql/sql_acl.h:
        changed some char* -> const char*
      sql/sql_base.cc:
        Use TABLE_SHARE
      sql/sql_cache.cc:
        Use TABLE_SHARE
      sql/sql_class.cc:
        Use TABLE_SHARE
      sql/sql_db.cc:
        real_name -> table_name
      sql/sql_delete.cc:
        Use TABLE_SHARE
      sql/sql_derived.cc:
        Use TABLE_SHARE
      sql/sql_handler.cc:
        Use TABLE_SHARE
      sql/sql_help.cc:
        Use TABLE_SHARE
      sql/sql_insert.cc:
        Use TABLE_SHARE
      sql/sql_load.cc:
        Use TABLE_SHARE
      sql/sql_parse.cc:
        Use TABLE_SHARE
      sql/sql_rename.cc:
        real_name -> table_name
      sql/sql_select.cc:
        Use TABLE_SHARE
        table->blob_fields now points to field offsets, not fields
        tmp_table->table_name now points to alias name
      sql/sql_show.cc:
        Use TABLE_SHARE
      sql/sql_table.cc:
        Use TABLE_SHARE
      sql/sql_test.cc:
        Use TABLE_SHARE
      sql/sql_trigger.cc:
        Use TABLE_SHARE
      sql/sql_udf.cc:
        Use TABLE_SHARE
      sql/sql_union.cc:
        real_name -> table_name
      sql/sql_update.cc:
        Use TABLE_SHARE
      sql/sql_view.cc:
        Use TABLE_SHARE
      sql/table.cc:
        Split TABLE to TABLE and TABLE_SHARE
        Changed blob_field to be field offsets instead of pointer to fields
        Only initialize table->s->default_values with default record (not all table->record[#])
        Some indentation changes
      sql/table.h:
        Split TABLE to TABLE and TABLE_SHARE
      sql/tztime.cc:
        real_name -> table_name
      sql/unireg.cc:
        Use TABLE_SHARE
      sql/unireg.h:
        Use TABLE_SHARE
      acf76e3b
  11. 29 Dec, 2004 1 commit
    • unknown's avatar
      Post WL#2126 fixes: · f47d9b5a
      unknown authored
       * remove get_next_init and move its functionality to QUICK_RANGE_SELECT::reset()
       * added more comments
       * added empty FT_SELECT::reset() 
      
      
      sql/opt_range.cc:
        Post WL#2126 fixes: remove get_next_init and move its functionality to QUICK_RANGE_SELECT::reset()
        Add needed error checks since QUICK_RANGE_SELECT::reset can fail now.
      sql/opt_range.h:
        Post WL#2126 fixes: 
         * remove get_next_init and move its functionality to QUICK_RANGE_SELECT::reset()
         * added more comments
         * added empty FT_SELECT::reset() since QUICK_RANGE_SELECT::reset() it was using wasn't doing anything useful.
      sql/records.cc:
        Post WL#2126 fixes: 
         * remove redundant get_next_init call
      f47d9b5a
  12. 23 Dec, 2004 1 commit
    • unknown's avatar
      WL#2126 - Multi_read_range. · 8d11c01c
      unknown authored
      Added the required structures and functions for
      handing over multiple key ranges to the table handler.
      
      
      include/my_base.h:
        WL#2126 - Multi_read_range.
        Moved key range flags from sql/opt_range.h to here.
        Added the multi-range structure.
      sql/handler.cc:
        WL#2126 - Multi_read_range.
        Added the new table handler methods.
      sql/handler.h:
        WL#2126 - Multi_read_range.
        Added a new table flag.
        Added a declaration for the handler buffer.
        Added new elements to class handler.
        Added new function declarations.
      sql/mysqld.cc:
        WL#2126 - Multi_read_range.
        Added an option to set new system variable 'multi_range_count'.
      sql/opt_range.cc:
        WL#2126 - Multi_read_range.
        Added initialization for the new class members.
        Added initialization for the extended get_next().
        Added de-initialization for the allocated buffers.
        Added a buffer allocation method.
        Added an inner loop to collect multiple ranges.
        Adapted range collection loops to the new initialization.
      sql/opt_range.h:
        WL#2126 - Multi_read_range.
        Moved key range flags from here to include/my_base.h.
        Added new elements to class QUICK_RANGE_SELECT.
        Added a copy constructor.
      sql/records.cc:
        WL#2126 - Multi_read_range.
        Added a call of the allocation method.
      sql/set_var.cc:
        WL#2126 - Multi_read_range.
        Added the new system variable 'multi_range_count'.
      sql/sql_class.h:
        WL#2126 - Multi_read_range.
        Added the new system variable 'multi_range_count'.
      8d11c01c
  13. 04 Oct, 2004 1 commit
    • unknown's avatar
      patch fixing after review on patch-fixing of · c0364263
      unknown authored
      Bug #5492 
      "set @@session.read_rnd_buffer_size=33554432" crashes server on query
      
      1. added warning comments for uint3korr (need one more byte allocated)
      2. unsigned long in uint3korr was replaced by unsigned int to 
         avoid problems on 64-bits platforms
      3. shorten warning comments in init_rr_cache in sql/records.cc
      
      
      include/config-win.h:
        1. added warning comments for uint3korr (need one more byte allocated)
        2. unsigned long in uint3korr was replaced by unsigned int to 
           avoid problems on 64-bits platforms
      include/my_global.h:
        1. added warning comments for uint3korr (need one more byte allocated)
        2. unsigned long in uint3korr was replaced by unsigned int to 
           avoid problems on 64-bits platforms
      sql/records.cc:
        shorten warning comments for my_malloc_lock in init_rr_cache
      c0364263
  14. 01 Oct, 2004 1 commit
    • unknown's avatar
      delete.result, delete.test: · dc3f3ce6
      unknown authored
        A fix (bug #5733: Table handler error with self-join multi-table DELETE).
      records.cc:
        A fix (bug #5733: Table handler error with self-join multi-table DELETE).
      
      
      sql/records.cc:
        ]A fix (bug #5733: Table handler error with self-join multi-table DELETE).
      mysql-test/t/delete.test:
        A fix (bug #5733: Table handler error with self-join multi-table DELETE).
      mysql-test/r/delete.result:
        A fix (bug #5733: Table handler error with self-join multi-table DELETE).
      dc3f3ce6
  15. 16 Sep, 2004 1 commit
    • unknown's avatar
      Fixed Bug #5492 "set @@session.read_rnd_buffer_size=33554432" · d47c79a0
      unknown authored
         crashes server on query
      
      incremented size of allocated buffer in the init_rr_cache(sql/records.cc)
      (
      We are going to read the last three bytes of the buffer via uint3korr
      This macro reads actually 4 bytes (for speed)
      So, we have to allocate one more byte at the end of the buffer 
      to avoid memory assertion fault
      )
      
      
      sql/records.cc:
        incremented size of allocated buffer in the init_rr_cache
        (
        We are going to read the last three bytes of the buffer via uint3korr
        This macro reads actually 4 bytes (for speed)
        So, we have to allocate one more byte at the end of the buffer 
        to avoid memory assertion fault
        )
        Fixed Bug #5492 "set @@session.read_rnd_buffer_size=33554432" 
          crashes server on query
      d47c79a0
  16. 21 Aug, 2004 1 commit
    • unknown's avatar
      Proposed fix for bug #5003 (subselect with MIN() and LIKE crashes server) · ac4c0538
      unknown authored
      We have next problem here:
      active_index is wrong in the subselect's handler on the second val_int() call.
      Optimizer sees that we can use index-read for that kind of condition,
      and matching_cond() (sql/opt_sum.cc) doesn't. I suspect, proper solution is
      to add appropriate code to the matching_cond() but now just added
      missed initialization.
      
      
      mysql-test/r/subselect.result:
        Appropriate test result
      mysql-test/t/subselect.test:
        Test case added
      sql/records.cc:
        index's initialization added
      ac4c0538
  17. 25 Jun, 2004 1 commit
    • unknown's avatar
      Added missing root user to mysql.user on windows. (Bug #4242) · 4e664e3e
      unknown authored
      Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938)
      Don't use default arguments for ha_rnd_init()
      Simple code cleanups since last pull
      
      
      
      scripts/fill_func_tables.sh:
        Change mode to -rw-rw-r--
      scripts/make_win_src_distribution.sh:
        Safer remove of SCCS directories
      scripts/mysql_create_system_tables.sh:
        Added missing root user to mysql.user on windows. (Bug #4242)
      scripts/mysql_install_db.sh:
        Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938)
      sql/filesort.cc:
        Don't use default arguments for ha_rnd_init()
      sql/ha_berkeley.cc:
        Better to use #ifdef than // to disable code
        Removed not needed setting of active_index (It's set in index_end)
      sql/ha_berkeley.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_heap.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_innodb.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_isam.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_isammrg.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_myisam.cc:
        Fixed wrong previous patch (New code used 'and' between two conditions when it should be 'or' as in original code)
      sql/ha_myisam.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_myisammrg.h:
        Don't use default arguments for ha_rnd_init()
      sql/ha_ndbcluster.h:
        Don't use default arguments for ha_rnd_init()
      sql/handler.cc:
        Code cleanup
      sql/handler.h:
        Keep bool variables together (better alignment)
      sql/records.cc:
        Don't use default arguments for ha_rnd_init()
      sql/sql_select.cc:
        Don't use default arguments for ha_rnd_init()
      4e664e3e
  18. 23 Jun, 2004 1 commit
    • unknown's avatar
      handler interface cleanups: · 9a554b47
      unknown authored
        more logical table/index_flags
        return  HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate
        max_keys and other limits renamed to max_supported_keys/etc
        max_keys/etc are now wrappers to max_supported_keys/etc 
        ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
      
      
      include/myisam.h:
        increasing myisam_max_temp_file_length
      include/my_base.h:
        handler interface cleanup
      myisam/mi_static.c:
        warning removed
      mysql-test/Makefile.am:
        followup
      mysql-test/r/fulltext.result:
        fulltext indexes are not ordered
      mysql-test/r/rpl_user_variables.result:
        followup
      sql/field.cc:
        index_flags
      sql/filesort.cc:
        rnd_init -> ha_rnd_init
        rnd_end -> ha_rnd_end
      sql/ha_berkeley.cc:
        cleanup
      sql/ha_berkeley.h:
        table/index_flags revamped
      sql/ha_heap.cc:
        ensure index is accessed only after index_init (esp. important for temp tables)
      sql/ha_heap.h:
        table/index_flags revamped
      sql/ha_innodb.cc:
        don't workaround MySQL sloppiness
      sql/ha_innodb.h:
        table/index_flags revamped
      sql/ha_isam.h:
        table/index_flags revamped
      sql/ha_isammrg.h:
        table/index_flags revamped
      sql/ha_myisam.cc:
        ensure index is accessed only after index_init (esp. important for temp tables)
      sql/ha_myisam.h:
        table/index_flags revamped
      sql/ha_myisammrg.h:
        table/index_flags revamped
      sql/handler.cc:
        handler interface cleanups
      sql/handler.h:
        handler interface cleanups:
          more logical table/index_flags
          return  HA_ERR_WRONG_COMMAND instead of abstract methods
          max_keys and other limits renamed to max_supported_keys/etc
          max_keys/etc are now wrappers to max_supported_keys/etc 
          ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to enforce strict pairing
      sql/item_subselect.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/lex.h:
        renamed to avoid conflicts
      sql/opt_range.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/opt_range.h:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/opt_sum.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/records.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_acl.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_cache.cc:
        cleanup
      sql/sql_delete.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_handler.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_help.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_insert.cc:
        table/index_flags cleanup
      sql/sql_select.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/sql_table.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
        table/index_flags cleanup
      sql/sql_update.cc:
        index_init/index_end/rnd_init/rnd_end strict pairing fixed
      sql/sql_yacc.yy:
        INDEX -> INDEX_SYM
      sql/table.cc:
        table/index_flags cleanup
      9a554b47
  19. 06 Apr, 2004 1 commit
    • unknown's avatar
      ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(),... · c6270543
      unknown authored
      ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
      Field::val_str simplification, comment
      
      
      include/my_base.h:
        typos fixed
      mysql-test/r/myisam.result:
        alter table enable/disable keys
      mysql-test/t/help.test:
        cleanup
      mysql-test/t/myisam.test:
        alter table enable/disable keys
      sql/field.cc:
        Field::val_str() simplification
      sql/field.h:
        Field::val_str() simplification and comment
      sql/field_conv.cc:
        Field::val_str() simplification
      sql/ha_berkeley.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_berkeley.h:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_heap.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_heap.h:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_innodb.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_innodb.h:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_isam.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_isam.h:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_isammrg.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_isammrg.h:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_myisam.cc:
        ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
      sql/ha_myisam.h:
        ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
      sql/ha_myisammrg.cc:
        ::reset(), HA_FAST_KEY_READ
      sql/ha_myisammrg.h:
        ::reset(), HA_FAST_KEY_READ
      sql/handler.h:
        ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
      sql/item.cc:
        Field::val_str() simplification
      sql/item_sum.cc:
        Field::val_str() simplification
      sql/key.cc:
        Field::val_str() simplification
      sql/opt_range.cc:
        Field::val_str() simplification
      sql/protocol.cc:
        Field::val_str() simplification
      sql/records.cc:
        HA_FAST_KEY_READ
      sql/sql_acl.cc:
        Field::val_str() simplification
      sql/sql_base.cc:
        ::reset
      sql/sql_insert.cc:
        ::reset(), start_bulk_insert(), end_bulk_insert()
      sql/sql_load.cc:
        start_bulk_insert(), end_bulk_insert()
      sql/sql_show.cc:
        Field::val_str() simplification
      sql/sql_table.cc:
        disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
      sql/table.cc:
        Field::val_str() simplification
      c6270543
  20. 18 Dec, 2003 1 commit
  21. 12 Dec, 2003 1 commit
    • unknown's avatar
      Fix autoincrement for signed columns (Bug #1366) · 759ea82e
      unknown authored
      Fixed problem with char > 128 in QUOTE() function. (Bug #1868)
      Disable creation of symlinks if my_disable_symlink is set
      Fixed searching of TEXT with end space. (Bug #1651)
      Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711)
      Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998)
      Fixed timestamp.test
      
      
      include/my_base.h:
        Add HA_END_SPACE_KEY to mark keys that has VARCHAR/TEXT fields.
      myisam/mi_check.c:
        Delete not used variable
      myisam/mi_key.c:
        Fix autoincrement for signed columns (Bug #1366). Patch by Holyfoot
      myisam/mi_open.c:
        Bug fix for future (doesn't affect current code)
      myisam/mi_search.c:
        Ignore end space for VARCHAR/TEXT columns
      mysql-test/r/auto_increment.result:
        Test auto_increment with signed numbers
      mysql-test/r/binary.result:
        Update results (old result was wrong)
      mysql-test/r/func_str.result:
        Added test of QUOTE()
      mysql-test/r/func_time.result:
        Add test of unix_timestamp()
      mysql-test/r/have_met_timezone.require:
        Fixed test
      mysql-test/r/innodb.result:
        Add test for InnoDB behaviour with TRUNCATE
      mysql-test/r/multi_update.result:
        Test of multi-update bug
      mysql-test/r/symlink.result:
        Test of ALTER TABLE and symlinks
      mysql-test/r/timezone.result:
        Test of from_unixtime()
      mysql-test/r/truncate.result:
        Test of truncate and auto_increment
      mysql-test/r/type_blob.result:
        Test of key search on TEXT/VARCHAR column with end space
      mysql-test/t/auto_increment.test:
        Test auto_increment with signed numbers
      mysql-test/t/func_str.test:
        Added test of QUOTE()
      mysql-test/t/func_time.test:
        Add test of unix_timestamp()
      mysql-test/t/innodb.test:
        Add test for InnoDB behaviour with TRUNCATE
      mysql-test/t/multi_update.test:
        Test of multi-update bug
      mysql-test/t/symlink.test:
        Test of ALTER TABLE and symlinks
      mysql-test/t/timezone.test:
        Test of from_unixtime()
      mysql-test/t/truncate.test:
        Test of truncate and auto_increment
      mysql-test/t/type_blob.test:
        Test of key search on TEXT/VARCHAR column with end space
      mysys/my_symlink2.c:
        Disable creation of symlinks if my_disable_symlink is set
      sql/field.h:
        Indentation cleanup
      sql/ha_innodb.cc:
        HA_PART_KEY -> HA_PART_KEY_SEG
      sql/item_strfunc.cc:
        Fixed problem with char > 128 in QUOTE() function. (Bug #1868)
      sql/mysql_priv.h:
        Make check_dup() external
      sql/opt_range.cc:
        Fixed searching of TEXT with end space. (Bug #1651)
      sql/records.cc:
        Fixed caching bug in multi-table-update where same table was used twice.
        (Bug #1711)
      sql/sql_acl.cc:
        Reset ip and ip_mask if hostname is NULL
      sql/sql_parse.cc:
        Make check_dup() global
      sql/sql_select.cc:
        Fixed searching of TEXT with end space. (Bug #1651)
      sql/sql_table.cc:
        Fixed searching of TEXT with end space. (Bug #1651)
      sql/sql_update.cc:
        Fixed caching bug in multi-table-update where same table was used twice.
        (Bug #1711)
      sql/table.cc:
        Fixed searching of TEXT with end space. (Bug #1651)
      sql/table.h:
        Fixed caching bug in multi-table-update where same table was used twice.
        (Bug #1711)
      sql/time.cc:
        Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998)
      759ea82e
  22. 09 Dec, 2003 1 commit
  23. 18 Nov, 2003 1 commit
    • unknown's avatar
      index_merge implementation using Unique class, to be merged into 5.0 · a1e9e67e
      unknown authored
      sql/filesort.cc:
        index_merge implementation using Unique class
      sql/opt_ft.cc:
        index_merge implementation using Unique class
      sql/opt_ft.h:
        index_merge implementation using Unique class
      sql/opt_range.cc:
        index_merge implementation using Unique class
      sql/opt_range.h:
        index_merge implementation using Unique class
      sql/records.cc:
        index_merge implementation using Unique class
      sql/sql_class.cc:
        index_merge implementation using Unique class
      sql/sql_list.h:
        index_merge implementation using Unique class
      sql/sql_select.cc:
        index_merge implementation using Unique class
      sql/sql_select.h:
        index_merge implementation using Unique class
      sql/sql_test.cc:
        index_merge implementation using Unique class
      sql/sql_union.cc:
        index_merge implementation using Unique class
      sql/sql_update.cc:
        index_merge implementation using Unique class
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a1e9e67e
  24. 22 Sep, 2003 1 commit
    • unknown's avatar
      - Polished mysql-copyright a bit and added call to remove · a448d769
      unknown authored
         cmd-line-utils/readline from the commercial distribution
       - fixed some copyright headers so mysql-copyright can process them
      
      
      Build-tools/mysql-copyright:
         - remove the cmd-line-utils/readline directory from the commercial
           distribution
         - make use of more builtin Perl functions instead of forking 
           subprocesses
      include/my_pthread.h:
         - fixed copyright header
      sql/filesort.cc:
         - fixed copyright header
      sql/gen_lex_hash.cc:
         - fixed copyright header
      sql/item.h:
         - fixed copyright header
      sql/item_cmpfunc.cc:
         - fixed copyright header
      sql/records.cc:
         - fixed copyright header
      a448d769
  25. 06 Aug, 2003 1 commit
    • unknown's avatar
      fix for bug #958 and tests for it · a8cb3628
      unknown authored
      aligned with Sergey notes.
      
      
      sql/records.cc:
        fix for bug #958 - big select with 
        count distinct and group by
        aligned with Sergey notes.
      a8cb3628
  26. 05 May, 2003 1 commit
    • unknown's avatar
      Removed compiler warnings · b96aaea7
      unknown authored
      Fixed memory leak in new filesort code
      Optimzed sub selects to use keys with outer references.
      Increased max tables in join to 62
      
      
      client/Makefile.am:
        Remve test programs
      myisam/mi_check.c:
        Remove compiler warnings
      myisam/mi_delete.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_open.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_write.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamdef.h:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamlog.c:
        Remove 'rnd' variable to make usage repeatable
      mysql-test/r/subselect.result:
        new test
      mysql-test/t/join.test:
        Updated test
      mysql-test/t/subselect.test:
        new test
      sql/filesort.cc:
        Added function to free buffers allocated by filesort
      sql/item.cc:
        Sub select optimization
      sql/item_cmpfunc.cc:
        Sub select optimization
      sql/item_subselect.cc:
        Sub select optimization
      sql/item_sum.cc:
        Removed compiler warnings
      sql/item_sum.h:
        Simple code cleanup
      sql/log.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Made table_map ulonglong to allow 62 tables in join
      sql/records.cc:
        Moved free of filesort buffers to own function
      sql/sql_select.cc:
        subselect optimization
        Call filesort_free_buffers() to free memory from filesort
      sql/unireg.h:
        Sub select optimization
      b96aaea7
  27. 24 Apr, 2003 1 commit
    • unknown's avatar
      Many files: · a7f8b1cb
      unknown authored
         Added the MAX_LENGTH_FOR_SORT_DATA option
      filesort.cc:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      
      
      sql/filesort.cc:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/mysqld.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/opt_range.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/records.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/set_var.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_base.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_class.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_delete.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_select.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_sort.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_table.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_update.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/structs.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/table.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/uniques.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      a7f8b1cb
  28. 23 Apr, 2003 1 commit
    • unknown's avatar
      Fixes for valgrind · 70324868
      unknown authored
      Added optimzation for clustered index
      Fixed bug in UPDATE ... ORDER BY
      Fixed handling of UPDATE ... LIMIT
      
      
      BitKeeper/deleted/.del-.cvsignore~7e29af89a3559f4c:
        Delete: Images/.cvsignore
      BitKeeper/deleted/.del-README~d5a4e7ca3a2e87a9:
        Delete: repl-tests/README
      BitKeeper/deleted/.del-run-all-tests~4deb6479a13e4568:
        Delete: repl-tests/run-all-tests
      BitKeeper/deleted/.del-run.test~3dc5b9bd1e9feea5:
        Delete: repl-tests/test-repl-alter/run.test
      BitKeeper/deleted/.del-run.test~4020771cff278f14:
        Delete: repl-tests/test-bad-query/run.test
      BitKeeper/deleted/.del-run.test~452f2b66537404a8:
        Delete: repl-tests/test-dump/run.test
      BitKeeper/deleted/.del-run.test~b1f0c1f96554df8:
        Delete: repl-tests/test-auto-inc/run.test
      BitKeeper/deleted/.del-table-dump-check.master~e13afeb8c79264b5:
        Delete: repl-tests/test-dump/table-dump-check.master
      BitKeeper/deleted/.del-table-dump-select.master~744acb955e33f3db:
        Delete: repl-tests/test-dump/table-dump-select.master
      BitKeeper/deleted/.del-x.master~29a93ed7956c8693:
        Delete: repl-tests/test-auto-inc/x.master
      BitKeeper/deleted/.del-x.master~3b248cbac9abda2b:
        Delete: repl-tests/test-bad-query/x.master
      BitKeeper/deleted/.del-foo-dump-master.master~b49ae6bec1e918ee:
        Delete: repl-tests/test-repl/foo-dump-master.master
      BitKeeper/deleted/.del-foo-dump-slave.master~f16ed20457d59be9:
        Delete: repl-tests/test-repl/foo-dump-slave.master
      BitKeeper/deleted/.del-repl-timestamp.master.reject~3492d2b74b413771:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master.reject
      BitKeeper/deleted/.del-repl-timestamp.master~4b7782da5cc13161:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master
      BitKeeper/deleted/.del-run.test~a1e32ea1e4253af4:
        Delete: repl-tests/test-repl/run.test
      BitKeeper/deleted/.del-run.test~ce5e626c91b760ec:
        Delete: repl-tests/test-repl-ts/run.test
      BitKeeper/deleted/.del-sum-wlen-master.master~1a5ea625c79e978:
        Delete: repl-tests/test-repl/sum-wlen-master.master
      BitKeeper/deleted/.del-sum-wlen-slave.master~f016d98833433084:
        Delete: repl-tests/test-repl/sum-wlen-slave.master
      BitKeeper/deleted/.del-test.master~5829e7b3770179db:
        Delete: repl-tests/test-repl-alter/test.master
      BitKeeper/deleted/.del-master-slave.inc~6775f6ae10137c39:
        Delete: repl-tests/include/master-slave.inc
      include/my_global.h:
        Fix for purify/valgrind
      myisam/mi_info.c:
        Updated comment
      mysql-test/r/group_by.result:
        New test results
      mysql-test/r/innodb.result:
        New test results
      mysql-test/r/join_outer.result:
        New test results
      mysql-test/r/multi_update.result:
        New test results
      mysql-test/r/null_key.result:
        New test results
      mysql-test/r/update.result:
        New test results
      mysql-test/t/group_by.test:
        Added extra explain to 'suspicious' test.
      mysql-test/t/innodb.test:
        Added test for UPDATE ... ORDER BY
      mysql-test/t/join_outer.test:
        Changed test to be repeatable
      mysql-test/t/multi_update.test:
        Slight change of test to catch more bugs
      mysql-test/t/update.test:
        Better test for UPDATE ... ORDER BY
      sql/field.cc:
        Simple optimization
      sql/ha_heap.h:
        Added optimzation for clustered index
      sql/ha_innodb.cc:
        Added optimzation for clustered index
      sql/ha_innodb.h:
        Added optimzation for clustered index
      sql/handler.h:
        Added optimzation for clustered index
      sql/item_sum.cc:
        Removed some usage of current_thd
      sql/mysqld.cc:
        Fix bug when compiling for purify/valgrind
      sql/opt_range.cc:
        Added optimzation for clustered index
      sql/records.cc:
        Fixed comment
      sql/sql_list.h:
        Fixed comment
      sql/sql_select.cc:
        Removed some usage of current_thd
      sql/sql_select.h:
        Removed some usage of current_thd
      sql/sql_union.cc:
        Removed some usage of current_thd
      sql/sql_update.cc:
        Fixed bug in UPDATE ... ORDER BY
        Fixed handling of UPDATE ... LIMIT
      support-files/my-huge.cnf.sh:
        Added default size for query cache
      support-files/my-large.cnf.sh:
        Added default size for query cache
      70324868
  29. 08 Apr, 2003 1 commit
    • unknown's avatar
      SCRUM · 131d9000
      unknown authored
      two KILL versions
      code trimming with headquarter's suggestions 
      
      
      myisam/mi_check.c:
        killed_ptr function changed backward
      myisam/myisamchk.c:
        killed_ptr function changed backward
      myisam/myisamdef.h:
        killed_ptr function changed backward
      myisam/sort.c:
        killed_ptr function changed backward
      sql/ha_myisam.cc:
        killed_ptr function changed backward
      sql/lock.cc:
        error sending trimmed
      sql/log_event.cc:
        error sending trimmed
      sql/records.cc:
        error sending trimmed
      sql/slave.cc:
        error sending trimmed
      sql/sql_class.h:
        inline functions to send right message about killing added
      sql/sql_delete.cc:
        error sending trimmed
      sql/sql_load.cc:
        error sending trimmed
      sql/sql_parse.cc:
        error sending trimmed
      sql/sql_prepare.cc:
        error sending trimmed
      sql/sql_select.cc:
        error sending trimmed
      sql/sql_table.cc:
        error sending trimmed
      sql/sql_update.cc:
        error sending trimmed
      131d9000
  30. 31 Mar, 2003 1 commit
    • unknown's avatar
      SCRUM · 3814f2a8
      unknown authored
      two KILL commands implementation (version 2)
      
      
      include/mysqld_error.h:
        Error message about query interruption added
      myisam/mi_check.c:
        killed_ptr now retutns only value - not pointer
      myisam/myisamchk.c:
        killed_ptr returns value now
      myisam/myisamdef.h:
        killed_ptr returns value now
      myisam/sort.c:
        killed_ptr returns value now
      sql/filesort.cc:
        THD::killed now has enum type
      sql/ha_berkeley.cc:
        THD::killed has enum type
      sql/ha_myisam.cc:
        killed_ptr returns value now
      sql/lock.cc:
        two different errors possible here now
      sql/log_event.cc:
        two ways of killing possible here now
      sql/mysqld.cc:
        THD::killed has enum type now
      sql/records.cc:
        two errors are possible here now
      sql/share/czech/errmsg.txt:
        new error message
      sql/share/danish/errmsg.txt:
        new error message
      sql/share/dutch/errmsg.txt:
        new error message
      sql/share/english/errmsg.txt:
        new error message
      sql/share/estonian/errmsg.txt:
        new error message
      sql/share/french/errmsg.txt:
        new error message
      sql/share/german/errmsg.txt:
        new error message
      sql/share/greek/errmsg.txt:
        new error message
      sql/share/hungarian/errmsg.txt:
        new error message
      sql/share/italian/errmsg.txt:
        new error message
      sql/share/japanese/errmsg.txt:
        new error message
      sql/share/korean/errmsg.txt:
        new error message
      sql/share/norwegian-ny/errmsg.txt:
        new error message
      sql/share/norwegian/errmsg.txt:
        new error message
      sql/share/polish/errmsg.txt:
        new error message
      sql/share/portuguese/errmsg.txt:
        new error message
      sql/share/romanian/errmsg.txt:
        new error message
      sql/share/russian/errmsg.txt:
        new error message
      sql/share/serbian/errmsg.txt:
        new error message
      sql/share/slovak/errmsg.txt:
        new error message
      sql/share/spanish/errmsg.txt:
        new error message
      sql/share/swedish/errmsg.txt:
        new error message
      sql/share/ukrainian/errmsg.txt:
        new error message
      sql/slave.cc:
        two errors are possible here now
      sql/sql_base.cc:
        THD::killed has enum type now
      sql/sql_cache.cc:
        THD::killed has enum type now
      sql/sql_class.cc:
        THD::awake implementation changed to handle KILL_QUERY
      sql/sql_class.h:
        class THD changed to handle KILL_QUERY
      sql/sql_delete.cc:
        two errors are possible here now
      sql/sql_insert.cc:
        THD::killed has enum type now
      sql/sql_load.cc:
        two errors are possible here now
      sql/sql_parse.cc:
        kill_one_thread function changed to handle KILL_QUERY
      sql/sql_prepare.cc:
        two errors are possible here now
      sql/sql_repl.cc:
        the parameter to awake is of THD::killed_state type now
      sql/sql_repl.h:
        awake parameter changed
      sql/sql_select.cc:
        two errors are possible here now
      sql/sql_show.cc:
        notification adopted to changes in class THD
      sql/sql_table.cc:
        two errors are possible here now
      sql/sql_update.cc:
        two errors are possible here now
      3814f2a8
  31. 17 Feb, 2003 1 commit
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  32. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · a8caad31
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      a8caad31
  33. 28 Jun, 2002 1 commit
  34. 12 Apr, 2002 1 commit
    • unknown's avatar
      Update for BTREE keys in HEAP tables · 6326ec99
      unknown authored
      Split handler->option_flag() to handler->table_flags() and handler->index_flags()
      
      
      Docs/manual.texi:
        Updated standard binary options
      include/my_base.h:
        Update for BTREE keys in HEAP tables
      libmysql/net.c:
        merge with net_serv.cc
      mysql-test/r/func_misc.result:
        Update for new behaviour of inet_ntoa
      sql/field.cc:
        Update for BTREE keys in HEAP tables
      sql/field.h:
        Update for BTREE keys in HEAP tables
      sql/filesort.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_berkeley.h:
        Update for BTREE keys in HEAP tables
      sql/ha_heap.h:
        Update for BTREE keys in HEAP tables
      sql/ha_innodb.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isammrg.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisammrg.h:
        Update for BTREE keys in HEAP tables
      sql/handler.cc:
        Update for BTREE keys in HEAP tables
      sql/handler.h:
        Update for BTREE keys in HEAP tables
      sql/log.cc:
        Update for BTREE keys in HEAP tables
      sql/net_serv.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_range.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_sum.cc:
        Update for BTREE keys in HEAP tables
      sql/records.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_class.h:
        Update for BTREE keys in HEAP tables
      sql/sql_handler.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_insert.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_select.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_show.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_table.cc:
        Update for BTREE keys in HEAP tables
      sql/structs.h:
        Update for BTREE keys in HEAP tables
      sql/table.cc:
        Update for BTREE keys in HEAP tables
      sql/unireg.cc:
        Update for BTREE keys in HEAP tables
      6326ec99
  35. 16 Jan, 2002 1 commit
    • unknown's avatar
      Move HA_EXTRA_NO_READCHECK to ha_open · 08858203
      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
      08858203
  36. 06 Dec, 2001 1 commit
    • unknown's avatar
      Update copyright · cfab46f5
      unknown authored
      Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
      
      
      client/client_priv.h:
        Update copyright
      client/completion_hash.cc:
        Update copyright
      client/completion_hash.h:
        Update copyright
      client/connect_test.c:
        Update copyright
      client/errmsg.c:
        Update copyright
      client/get_password.c:
        Update copyright
      client/insert_test.c:
        Update copyright
      client/list_test.c:
        Update copyright
      client/my_readline.h:
        Update copyright
      client/mysql.cc:
        Update copyright
      client/mysqladmin.c:
        Update copyright
      client/mysqlbinlog.cc:
        Update copyright
      client/mysqlcheck.c:
        Update copyright
      client/mysqldump.c:
        Update copyright
      client/mysqlimport.c:
        Update copyright
      client/mysqlmanager-pwgen.c:
        Update copyright
      client/mysqlmanagerc.c:
        Update copyright
      client/mysqlshow.c:
        Update copyright
      client/mysqltest.c:
        Update copyright
      client/password.c:
        Update copyright
      client/readline.cc:
        Update copyright
      client/select_test.c:
        Update copyright
      client/showdb_test.c:
        Update copyright
      client/sql_string.cc:
        Update copyright
      client/sql_string.h:
        Update copyright
      client/ssl_test.c:
        Update copyright
      client/thimble.cc:
        Update copyright
      client/thread_test.c:
        Update copyright
      div/deadlock_test.c:
        Update copyright
      extra/comp_err.c:
        Update copyright
      extra/my_print_defaults.c:
        Update copyright
      extra/perror.c:
        Update copyright
      extra/replace.c:
        Update copyright
      extra/resolve_stack_dump.c:
        Update copyright
      extra/resolveip.c:
        Update copyright
      fs/database.c:
        Update copyright
      fs/libmysqlfs.c:
        Update copyright
      fs/mysqlcorbafs.c:
        Update copyright
      fs/mysqlcorbafs.h:
        Update copyright
      fs/mysqlcorbafs_test.c:
        Update copyright
      heap/_check.c:
        Update copyright
      heap/_rectest.c:
        Update copyright
      heap/heapdef.h:
        Update copyright
      heap/hp_block.c:
        Update copyright
      heap/hp_clear.c:
        Update copyright
      heap/hp_close.c:
        Update copyright
      heap/hp_create.c:
        Update copyright
      heap/hp_delete.c:
        Update copyright
      heap/hp_extra.c:
        Update copyright
      heap/hp_hash.c:
        Update copyright
      heap/hp_info.c:
        Update copyright
      heap/hp_open.c:
        Update copyright
      heap/hp_panic.c:
        Update copyright
      heap/hp_rename.c:
        Update copyright
      heap/hp_rfirst.c:
        Update copyright
      heap/hp_rkey.c:
        Update copyright
      heap/hp_rlast.c:
        Update copyright
      heap/hp_rnext.c:
        Update copyright
      heap/hp_rprev.c:
        Update copyright
      heap/hp_rrnd.c:
        Update copyright
      heap/hp_rsame.c:
        Update copyright
      heap/hp_scan.c:
        Update copyright
      heap/hp_static.c:
        Update copyright
      heap/hp_test1.c:
        Update copyright
      heap/hp_test2.c:
        Update copyright
      heap/hp_update.c:
        Update copyright
      heap/hp_write.c:
        Update copyright
      include/config-win.h:
        Update copyright
      include/dbug.h:
        Update copyright
      include/errmsg.h:
        Update copyright
      include/ft_global.h:
        Update copyright
      include/getopt.h:
        Update copyright
      include/hash.h:
        Update copyright
      include/heap.h:
        Update copyright
      include/m_ctype.h:
        Update copyright
      include/m_string.h:
        Update copyright
      include/md5.h:
        Update copyright
      include/merge.h:
        Update copyright
      include/my_alarm.h:
        Update copyright
      include/my_base.h:
        Update copyright
      include/my_bitmap.h:
        Update copyright
      include/my_dir.h:
        Update copyright
      include/my_global.h:
        Update copyright
      include/my_list.h:
        Update copyright
      include/my_net.h:
        Update copyright
      include/my_no_pthread.h:
        Update copyright
      include/my_nosys.h:
        Update copyright
      include/my_pthread.h:
        Update copyright
      include/my_sys.h:
        Update copyright
      include/my_tree.h:
        Update copyright
      include/myisam.h:
        Update copyright
      include/myisammrg.h:
        Update copyright
      include/myisampack.h:
        Update copyright
      include/mysql.h:
        Update copyright
      include/mysql_com.h:
        Update copyright
      include/mysql_embed.h:
        Update copyright
      include/mysqld_error.h:
        Update copyright
      include/mysys_err.h:
        Update copyright
      include/nisam.h:
        Update copyright
      include/queues.h:
        Update copyright
      include/raid.h:
        Update copyright
      include/sslopt-case.h:
        Update copyright
      include/sslopt-longopts.h:
        Update copyright
      include/sslopt-usage.h:
        Update copyright
      include/sslopt-vars.h:
        Update copyright
      include/t_ctype.h:
        Update copyright
      include/thr_alarm.h:
        Update copyright
      include/thr_lock.h:
        Update copyright
      include/violite.h:
        Update copyright
      isam/_cache.c:
        Update copyright
      isam/_dbug.c:
        Update copyright
      isam/_key.c:
        Update copyright
      isam/_locking.c:
        Update copyright
      isam/_packrec.c:
        Update copyright
      isam/_page.c:
        Update copyright
      isam/_search.c:
        Update copyright
      isam/_statrec.c:
        Update copyright
      isam/changed.c:
        Update copyright
      isam/close.c:
        Update copyright
      isam/create.c:
        Update copyright
      isam/delete.c:
        Update copyright
      isam/extra.c:
        Update copyright
      isam/info.c:
        Update copyright
      isam/isamchk.c:
        Update copyright
      isam/isamdef.h:
        Update copyright
      isam/log.c:
        Update copyright
      isam/open.c:
        Update copyright
      isam/panic.c:
        Update copyright
      isam/range.c:
        Update copyright
      isam/rfirst.c:
        Update copyright
      isam/rkey.c:
        Update copyright
      isam/rlast.c:
        Update copyright
      isam/rnext.c:
        Update copyright
      isam/rprev.c:
        Update copyright
      isam/rrnd.c:
        Update copyright
      isam/rsame.c:
        Update copyright
      isam/rsamepos.c:
        Update copyright
      isam/sort.c:
        Update copyright
      isam/static.c:
        Update copyright
      isam/test1.c:
        Update copyright
      isam/test2.c:
        Update copyright
      isam/test3.c:
        Update copyright
      isam/update.c:
        Update copyright
      isam/write.c:
        Update copyright
      libmysql/conf_to_src.c:
        Update copyright
      libmysql/dll.c:
        Update copyright
      libmysql/errmsg.c:
        Update copyright
      libmysql/get_password.c:
        Update copyright
      libmysql/libmysql.c:
        Update copyright
      libmysql/manager.c:
        Update copyright
      libmysql/net.c:
        Update copyright
      libmysql/password.c:
        Update copyright
      libmysqld/lib_sql.cc:
        Update copyright
      libmysqld/lib_vio.c:
        Update copyright
      libmysqld/libmysqld.c:
        Update copyright
      merge/mrg_close.c:
        Update copyright
      merge/mrg_create.c:
        Update copyright
      merge/mrg_def.h:
        Update copyright
      merge/mrg_delete.c:
        Update copyright
      merge/mrg_extra.c:
        Update copyright
      merge/mrg_info.c:
        Update copyright
      merge/mrg_locking.c:
        Update copyright
      merge/mrg_open.c:
        Update copyright
      merge/mrg_panic.c:
        Update copyright
      merge/mrg_rrnd.c:
        Update copyright
      merge/mrg_rsame.c:
        Update copyright
      merge/mrg_static.c:
        Update copyright
      merge/mrg_update.c:
        Update copyright
      myisam/ft_boolean_search.c:
        Update copyright
      myisam/ft_dump.c:
        Update copyright
      myisam/ft_eval.h:
        Update copyright
      myisam/ft_static.c:
        Update copyright
      myisam/ft_stem.c:
        Update copyright
      myisam/ft_stopwords.c:
        Update copyright
      myisam/ft_test1.h:
        Update copyright
      myisam/mi_cache.c:
        Update copyright
      myisam/mi_changed.c:
        Update copyright
      myisam/mi_check.c:
        Update copyright
      myisam/mi_checksum.c:
        Update copyright
      myisam/mi_close.c:
        Update copyright
      myisam/mi_create.c:
        Update copyright
      myisam/mi_dbug.c:
        Update copyright
      myisam/mi_delete.c:
        Update copyright
      myisam/mi_delete_all.c:
        Update copyright
      myisam/mi_delete_table.c:
        Update copyright
      myisam/mi_dynrec.c:
        Update copyright
      myisam/mi_extra.c:
        Update copyright
      myisam/mi_info.c:
        Update copyright
      myisam/mi_key.c:
        Update copyright
      myisam/mi_locking.c:
        Update copyright
      myisam/mi_log.c:
        Update copyright
      myisam/mi_open.c:
        Update copyright
      myisam/mi_packrec.c:
        Update copyright
      myisam/mi_page.c:
        Update copyright
      myisam/mi_panic.c:
        Update copyright
      myisam/mi_range.c:
        Update copyright
      myisam/mi_rename.c:
        Update copyright
      myisam/mi_rfirst.c:
        Update copyright
      myisam/mi_rlast.c:
        Update copyright
      myisam/mi_rnext_same.c:
        Update copyright
      myisam/mi_rrnd.c:
        Update copyright
      myisam/mi_rsame.c:
        Update copyright
      myisam/mi_rsamepos.c:
        Update copyright
      myisam/mi_scan.c:
        Update copyright
      myisam/mi_search.c:
        Update copyright
      myisam/mi_static.c:
        Update copyright
      myisam/mi_statrec.c:
        Update copyright
      myisam/mi_test1.c:
        Update copyright
      myisam/mi_test2.c:
        Update copyright
      myisam/mi_test3.c:
        Update copyright
      myisam/mi_unique.c:
        Update copyright
      myisam/mi_update.c:
        Update copyright
      myisam/mi_write.c:
        Update copyright
      myisam/myisamchk.c:
        Update copyright
      myisam/myisampack.c:
        Update copyright
      myisammrg/myrg_close.c:
        Update copyright
      myisammrg/myrg_create.c:
        Update copyright
      myisammrg/myrg_def.h:
        Update copyright
      myisammrg/myrg_delete.c:
        Update copyright
      myisammrg/myrg_locking.c:
        Update copyright
      myisammrg/myrg_open.c:
        Update copyright
      myisammrg/myrg_panic.c:
        Update copyright
      myisammrg/myrg_rsame.c:
        Update copyright
      myisammrg/myrg_static.c:
        Update copyright
      myisammrg/myrg_update.c:
        Update copyright
      myisammrg/myrg_write.c:
        Update copyright
      mysql-test/r/gcc296.result:
        Update of benchmark results
      mysql-test/r/innodb.result:
        Update of benchmark results
      mysql-test/r/join_outer.result:
        Update of benchmark results
      mysql-test/r/myisam.result:
        Update of benchmark results
      mysys/array.c:
        Update copyright
      mysys/charset.c:
        Fix for restart of character sets
      mysys/checksum.c:
        Update copyright
      mysys/default.c:
        Update copyright
      mysys/errors.c:
        Update copyright
      mysys/getopt.c:
        Cleanup
      mysys/getvar.c:
        Update copyright
      mysys/hash.c:
        Update copyright
      mysys/list.c:
        Update copyright
      mysys/make-conf.c:
        Update copyright
      mysys/md5.c:
        Update copyright
      mysys/mf_brkhant.c:
        Update copyright
      mysys/mf_cache.c:
        Update copyright
      mysys/mf_casecnv.c:
        Update copyright
      mysys/mf_dirname.c:
        Update copyright
      mysys/mf_fn_ext.c:
        Update copyright
      mysys/mf_format.c:
        Update copyright
      mysys/mf_getdate.c:
        Update copyright
      mysys/mf_iocache.c:
        Update copyright
      mysys/mf_iocache2.c:
        Update copyright
      mysys/mf_keycache.c:
        Update copyright
      mysys/mf_loadpath.c:
        Update copyright
      mysys/mf_pack.c:
        Update copyright
      mysys/mf_path.c:
        Update copyright
      mysys/mf_qsort.c:
        Update copyright
      mysys/mf_qsort2.c:
        Update copyright
      mysys/mf_radix.c:
        Update copyright
      mysys/mf_same.c:
        Update copyright
      mysys/mf_sleep.c:
        Update copyright
      mysys/mf_sort.c:
        Update copyright
      mysys/mf_soundex.c:
        Update copyright
      mysys/mf_stripp.c:
        Update copyright
      mysys/mf_tempfile.c:
        Update copyright
      mysys/mf_unixpath.c:
        Update copyright
      mysys/mf_util.c:
        Update copyright
      mysys/mf_wcomp.c:
        Update copyright
      mysys/mf_wfile.c:
        Update copyright
      mysys/mulalloc.c:
        Update copyright
      mysys/my_alarm.c:
        Update copyright
      mysys/my_alloc.c:
        Update copyright
      mysys/my_append.c:
        Update copyright
      mysys/my_bit.c:
        Update copyright
      mysys/my_bitmap.c:
        Update copyright
      mysys/my_chsize.c:
        Update copyright
      mysys/my_clock.c:
        Update copyright
      mysys/my_compress.c:
        Update copyright
      mysys/my_copy.c:
        Update copyright
      mysys/my_create.c:
        Update copyright
      mysys/my_delete.c:
        Update copyright
      mysys/my_div.c:
        Update copyright
      mysys/my_dup.c:
        Update copyright
      mysys/my_error.c:
        Update copyright
      mysys/my_fopen.c:
        Update copyright
      mysys/my_fstream.c:
        Update copyright
      mysys/my_getwd.c:
        Update copyright
      mysys/my_init.c:
        Free 'once_alloc' memory at shutdown.
      mysys/my_lib.c:
        Update copyright
      mysys/my_lock.c:
        Update copyright
      mysys/my_lockmem.c:
        Update copyright
      mysys/my_lread.c:
        Update copyright
      mysys/my_lwrite.c:
        Update copyright
      mysys/my_malloc.c:
        Update copyright
      mysys/my_messnc.c:
        Update copyright
      mysys/my_mkdir.c:
        Update copyright
      mysys/my_net.c:
        Update copyright
      mysys/my_once.c:
        Update copyright
      mysys/my_open.c:
        Update copyright
      mysys/my_pread.c:
        Update copyright
      mysys/my_pthread.c:
        Update copyright
      mysys/my_quick.c:
        Update copyright
      mysys/my_read.c:
        Update copyright
      mysys/my_realloc.c:
        Update copyright
      mysys/my_redel.c:
        Update copyright
      mysys/my_rename.c:
        Update copyright
      mysys/my_seek.c:
        Update copyright
      mysys/my_static.c:
        Update copyright
      mysys/my_static.h:
        Update copyright
      mysys/my_symlink.c:
        Update copyright
      mysys/my_symlink2.c:
        Update copyright
      mysys/my_tempnam.c:
        Update copyright
      mysys/my_thr_init.c:
        Update copyright
      mysys/my_vsnprintf.c:
        Update copyright
      mysys/my_wincond.c:
        Update copyright
      mysys/my_winthread.c:
        Update copyright
      mysys/my_write.c:
        Update copyright
      mysys/mysys_priv.h:
        Update copyright
      mysys/ptr_cmp.c:
        Update copyright
      mysys/queues.c:
        Update copyright
      mysys/raid.cc:
        Update copyright
      mysys/safemalloc.c:
        Update copyright
      mysys/string.c:
        Update copyright
      mysys/test_charset.c:
        Update copyright
      mysys/test_dir.c:
        Update copyright
      mysys/test_fn.c:
        Update copyright
      mysys/testhash.c:
        Update copyright
      mysys/thr_alarm.c:
        Update copyright
      mysys/thr_lock.c:
        Update copyright
      mysys/thr_mutex.c:
        Update copyright
      mysys/thr_rwlock.c:
        Update copyright
      mysys/tree.c:
        Update copyright
      mysys/typelib.c:
        Update copyright
      pstack/debug.c:
        Update copyright
      pstack/debug.h:
        Update copyright
      pstack/demangle.h:
        Update copyright
      pstack/ieee.c:
        Update copyright
      pstack/ieee.h:
        Update copyright
      pstack/pstack.c:
        Update copyright
      readline/bind.c:
        Cleanup empty lines
      readline/complete.c:
        Cleanup empty lines
      readline/display.c:
        Cleanup empty lines
      readline/funmap.c:
        Cleanup empty lines
      readline/histexpand.c:
        Cleanup empty lines
      readline/histfile.c:
        Cleanup empty lines
      readline/history.c:
        Cleanup empty lines
      readline/history.h:
        Cleanup empty lines
      readline/input.c:
        Cleanup empty lines
      readline/kill.c:
        Cleanup empty lines
      readline/readline.c:
        Cleanup empty lines
      readline/readline.h:
        Cleanup empty lines
      readline/vi_mode.c:
        Cleanup empty lines
      sql/cache_manager.cc:
        Update copyright
      sql/cache_manager.h:
        Update copyright
      sql/convert.cc:
        Update copyright
      sql/custom_conf.h:
        Update copyright
      sql/derror.cc:
        Update copyright
      sql/field.cc:
        Update copyright
      sql/field.h:
        Update copyright
      sql/field_conv.cc:
        Update copyright
      sql/filesort.cc:
        Update copyright
      sql/frm_crypt.cc:
        Update copyright
      sql/ha_berkeley.cc:
        Update copyright
      sql/ha_heap.cc:
        Update copyright
      sql/ha_heap.h:
        Update copyright
      sql/ha_innobase.cc:
        Update copyright
      sql/ha_isam.cc:
        Update copyright
      sql/ha_isam.h:
        Update copyright
      sql/ha_isammrg.cc:
        Update copyright
      sql/ha_isammrg.h:
        Update copyright
      sql/ha_myisam.cc:
        Update copyright
      sql/handler.cc:
        Update copyright
      sql/hash_filo.cc:
        Update copyright
      sql/hash_filo.h:
        Update copyright
      sql/hostname.cc:
        Update copyright
      sql/init.cc:
        Update copyright
      sql/item.cc:
        Update copyright
      sql/item.h:
        Update copyright
      sql/item_buff.cc:
        Update copyright
      sql/item_cmpfunc.cc:
        Update copyright
      sql/item_cmpfunc.h:
        Update copyright
      sql/item_create.cc:
        Update copyright
      sql/item_create.h:
        Update copyright
      sql/item_func.cc:
        Update copyright
      sql/item_strfunc.cc:
        Update copyright
      sql/item_sum.cc:
        Update copyright
      sql/item_sum.h:
        Update copyright
      sql/item_timefunc.cc:
        Update copyright
      sql/item_timefunc.h:
        Update copyright
      sql/item_uniq.cc:
        Update copyright
      sql/item_uniq.h:
        Update copyright
      sql/key.cc:
        Update copyright
      sql/lex_symbol.h:
        Update copyright
      sql/lock.cc:
        Update copyright
      sql/log.cc:
        Update copyright
      sql/log_event.cc:
        Update copyright
      sql/log_event.h:
        Update copyright
      sql/matherr.c:
        Update copyright
      sql/mf_iocache.cc:
        Update copyright
      sql/mini_client.cc:
        Update copyright
      sql/mini_client.h:
        Update copyright
      sql/my_lock.c:
        Update copyright
      sql/mysqld.cc:
        Update copyright
      sql/net_pkg.cc:
        Update copyright
      sql/net_serv.cc:
        Update copyright
      sql/opt_sum.cc:
        Update copyright
      sql/password.c:
        Update copyright
      sql/procedure.cc:
        Update copyright
      sql/procedure.h:
        Update copyright
      sql/records.cc:
        Update copyright
      sql/repl_failsafe.cc:
        Update copyright
      sql/slave.cc:
        Update copyright
      sql/slave.h:
        Update copyright
      sql/sql_acl.cc:
        Update copyright
      sql/sql_acl.h:
        Update copyright
      sql/sql_analyse.cc:
        Update copyright
      sql/sql_analyse.h:
        Update copyright
      sql/sql_base.cc:
        Update copyright
      sql/sql_cache.cc:
        Update copyright
      sql/sql_class.cc:
        Update copyright
      sql/sql_class.h:
        Update copyright
      sql/sql_crypt.cc:
        Update copyright
      sql/sql_crypt.h:
        Update copyright
      sql/sql_db.cc:
        Update copyright
      sql/sql_delete.cc:
        Update copyright
      sql/sql_handler.cc:
        Update copyright
      sql/sql_insert.cc:
        Update copyright
      sql/sql_lex.cc:
        Update copyright
      sql/sql_lex.h:
        Update copyright
      sql/sql_list.cc:
        Update copyright
      sql/sql_list.h:
        Update copyright
      sql/sql_load.cc:
        Update copyright
      sql/sql_map.cc:
        Update copyright
      sql/sql_map.h:
        Update copyright
      sql/sql_parse.cc:
        Update copyright
      sql/sql_rename.cc:
        Update copyright
      sql/sql_repl.cc:
        Update copyright
      sql/sql_select.h:
        Update copyright
      sql/sql_string.cc:
        Update copyright
      sql/sql_string.h:
        Update copyright
      sql/sql_table.cc:
        Update copyright
      sql/sql_test.cc:
        Update copyright
      sql/sql_udf.cc:
        Update copyright
      sql/sql_udf.h:
        Update copyright
      sql/stacktrace.c:
        Update copyright
      sql/structs.h:
        Update copyright
      sql/table.cc:
        Update copyright
      sql/table.h:
        Update copyright
      sql/thr_malloc.cc:
        Update copyright
      sql/time.cc:
        Update copyright
      sql/udf_example.cc:
        Update copyright
      sql/uniques.cc:
        Update copyright
      sql/unireg.cc:
        Update copyright
      sql/unireg.h:
        Update copyright
      strings/atof.c:
        Update copyright
      strings/bchange.c:
        Update copyright
      strings/bcmp.c:
        Update copyright
      strings/bcopy-duff.c:
        Update copyright
      strings/bfill.c:
        Update copyright
      strings/bmove.c:
        Update copyright
      strings/bmove512.c:
        Update copyright
      strings/bmove_upp.c:
        Update copyright
      strings/bzero.c:
        Update copyright
      strings/conf_to_src.c:
        Update copyright
      strings/ctype-big5.c:
        Update copyright
      strings/ctype-czech.c:
        Update copyright
      strings/ctype-euc_kr.c:
        Update copyright
      strings/ctype-gb2312.c:
        Update copyright
      strings/ctype-gbk.c:
        Update copyright
      strings/ctype-latin1_de.c:
        Update copyright
      strings/ctype-sjis.c:
        Update copyright
      strings/ctype-tis620.c:
        Update copyright
      strings/ctype-ujis.c:
        Update copyright
      strings/ctype.c:
        Update copyright
      strings/do_ctype.c:
        Update copyright
      strings/int2str.c:
        Update copyright
      strings/is_prefix.c:
        Update copyright
      strings/llstr.c:
        Update copyright
      strings/longlong2str.c:
        Update copyright
      strings/memcmp.c:
        Update copyright
      strings/memcpy.c:
        Update copyright
      strings/memset.c:
        Update copyright
      strings/r_strinstr.c:
        Update copyright
      strings/str2int.c:
        Update copyright
      strings/str_test.c:
        Update copyright
      strings/strappend.c:
        Update copyright
      strings/strcat.c:
        Update copyright
      strings/strcend.c:
        Update copyright
      strings/strchr.c:
        Update copyright
      strings/strcmp.c:
        Update copyright
      strings/strcont.c:
        Update copyright
      strings/strend.c:
        Update copyright
      strings/strfill.c:
        Update copyright
      strings/strings-not-used.h:
        Update copyright
      strings/strinstr.c:
        Update copyright
      strings/strlen.c:
        Update copyright
      strings/strmake.c:
        Update copyright
      strings/strmov.c:
        Update copyright
      strings/strnlen.c:
        Update copyright
      strings/strnmov.c:
        Update copyright
      strings/strrchr.c:
        Update copyright
      strings/strstr.c:
        Update copyright
      strings/strto.c:
        Update copyright
      strings/strtol.c:
        Update copyright
      strings/strtoll.c:
        Update copyright
      strings/strtoul.c:
        Update copyright
      strings/strtoull.c:
        Update copyright
      strings/strxmov.c:
        Update copyright
      strings/strxnmov.c:
        Update copyright
      strings/t_ctype.h:
        Update copyright
      strings/udiv.c:
        Update copyright
      tools/mysqlmanager.c:
        Update copyright
      vio/test-ssl.c:
        Update copyright
      vio/test-sslclient.c:
        Update copyright
      vio/test-sslserver.c:
        Update copyright
      vio/vio.c:
        Update copyright
      vio/viosocket.c:
        Update copyright
      vio/viossl.c:
        Update copyright
      vio/viosslfactories.c:
        Update copyright
      vio/viotest-ssl.c:
        Update copyright
      cfab46f5
  37. 26 Nov, 2001 1 commit
    • unknown's avatar
      Fix race condition in ANALYZE TABLE. · 4615e500
      unknown authored
      Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.
      
      
      Docs/manual.texi:
        Cleanup
      configure.in:
        Version number change
      mysql-test/t/backup.test:
        drop used tables
      mysql-test/t/bdb-crash.test:
        cleanup
      mysys/thr_lock.c:
        cleanup
      sql/mysqld.cc:
        safety fix
      sql/records.cc:
        Fixed bug where one got an empty set instead of a DEADLOCK error when using
        BDB tables.
      sql/sql_table.cc:
        Fix race  condition in ANALYZE TABLE.
      4615e500
  38. 25 Nov, 2001 1 commit
  39. 10 Aug, 2001 1 commit
    • unknown's avatar
      Portability fixes · aa3c4306
      unknown authored
      Added record_rnd_buffer
      Added --safe-user-create
      Fix for ALTER TABLE RENAME on windows
      
      
      Docs/manual.texi:
        Changelog and documentation of new features.
        More information about using threaded client libraries
      include/mysql_com.h:
        Added prototype for my_thread_init()
      include/mysqld_error.h:
        New error for --safe-create-user
      innobase/buf/buf0flu.c:
        Portability fix
      innobase/include/univ.i:
        Portability fix
      mysql-test/t/distinct.test:
        Test for distinct bug
      sql/mysql_priv.h:
        Added record_rnd_buffer
      sql/mysqld.cc:
        Added record_rnd_buffer
      sql/records.cc:
        Added record_rnd_buffer
      sql/share/czech/errmsg.txt:
        New error message for --safe-user-create
      sql/share/danish/errmsg.txt:
        New error message for --safe-user-create
      sql/share/dutch/errmsg.txt:
        New error message for --safe-user-create
      sql/share/english/errmsg.txt:
        New error message for --safe-user-create
      sql/share/estonian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/french/errmsg.txt:
        New error message for --safe-user-create
      sql/share/german/errmsg.txt:
        New error message for --safe-user-create
      sql/share/greek/errmsg.txt:
        New error message for --safe-user-create
      sql/share/hungarian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/italian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/japanese/errmsg.txt:
        New error message for --safe-user-create
      sql/share/korean/errmsg.txt:
        New error message for --safe-user-create
      sql/share/norwegian-ny/errmsg.txt:
        New error message for --safe-user-create
      sql/share/norwegian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/polish/errmsg.txt:
        New error message for --safe-user-create
      sql/share/portuguese/errmsg.txt:
        New error message for --safe-user-create
      sql/share/romanian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/russian/errmsg.txt:
        New error message for --safe-user-create
      sql/share/slovak/errmsg.txt:
        New error message for --safe-user-create
      sql/share/spanish/errmsg.txt:
        New error message for --safe-user-create
      sql/share/swedish/errmsg.txt:
        New error message for --safe-user-create
      sql/sql_acl.cc:
        Checking of privileges for --safe-user-create
      sql/sql_acl.h:
        --safe-user-create
      sql/sql_base.cc:
        --safe-user-create
      sql/sql_parse.cc:
        --safe-user-create
      sql/sql_show.cc:
        --safe-user-create
      sql/sql_table.cc:
        Fix for ALTER TABLE RENAME on windows
      aa3c4306
  40. 11 Apr, 2001 1 commit
    • unknown's avatar
      Fixed bug in REGEXP for Linux Alpha · 9bf58f4f
      unknown authored
      Docs/manual.texi:
        Updated MyODBC section
      libmysql/conf_to_src.c:
        Fixed wrong typecast
      mysql-test/r/func_regexp.result:
        Added test case for REGEXP bug
      mysql-test/t/func_regexp.test:
        Added test case for REGEXP bug
      regex/engine.c:
        Fixed wrong type
      regex/regexec.c:
        Fixed wrong type
      sql/records.cc:
        Fixed test of READ lock
      sql/slave.cc:
        Cleanup
      9bf58f4f