An error occurred fetching the project authors.
  1. 28 Apr, 2005 1 commit
    • unknown's avatar
      BUG#5964 - 4.1 MERGE tables regression from 4.0 · d9533bf6
      unknown authored
      Changed the creation of the .MRG file so that only the table  name
      is written when the MyISAM table is in the same database as the
      MERGE table, a relative path is used in other cases in mysqld,
      and possibly an absolute path is used in an embedded server.
      No test case is added as the external behaviour is unchanged.
      Only the file names within the .MRG file are changed.
      
      
      include/my_sys.h:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Added declaration for a new function.
      myisammrg/myrg_open.c:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Changed check for absolute path to check for any path.
      mysys/my_getwd.c:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Added a new functions which checks for absolute _or_
        relative paths.
      sql/ha_myisammrg.cc:
        BUG#5964 - 4.1 MERGE tables regression from 4.0
        Changed the creation of the .MRG file so that only the table  name
        is written when the MyISAM table is in the same database as the
        MERGE table, a relative path is used in other cases in mysqld,
        and possibly an absolute path is used in an embedded server.
      d9533bf6
  2. 27 Dec, 2004 1 commit
    • unknown's avatar
      Fix for BUG#7377. This fix adds the same implementation for... · 719802da
      unknown authored
      Fix for BUG#7377. This fix adds the same implementation for ha_myisammgr::index_type as in version 5.0.
      
      
      mysql-test/r/merge.result:
        Added test result for BUG#7377.
      mysql-test/t/merge.test:
        Added test for BUG#7377.
      sql/ha_myisammrg.cc:
        Added implementation for handler::index_type.
      sql/ha_myisammrg.h:
        Added implementation for handler::index_type.
      719802da
  3. 01 Oct, 2004 1 commit
    • unknown's avatar
      Support for TIMESTAMP columns holding NULL values. Unlike all other · c2a25521
      unknown authored
      column types TIMESTAMP is NOT NULL by default, so in order to have 
      TIMESTAMP column holding NULL valaues you have to specify NULL as
      one of its attributes (this needed for backward compatibility).
      
      Main changes:
      Replaced TABLE::timestamp_default_now/on_update_now members with
      TABLE::timestamp_auto_set_type flag which is used everywhere
      for determining if we should auto-set value of TIMESTAMP field 
      during this operation or not. We are also use Field_timestamp::set_time()
      instead of handler::update_timestamp() in handlers.
      
      
      mysql-test/r/type_timestamp.result:
        Added test for TIMESTAMP columns which are able to store NULL values.
      mysql-test/t/type_timestamp.test:
        Added test for TIMESTAMP columns which are able to store NULL values.
      sql/field.cc:
        Added support for TIMESTAMP fields holding NULL values.
        We don't need Field_timestamp::set_timestamp_offsets() anymore.
        Instead we need Field_timestamp::get_auto_set_type() function
        which will convert TIMESTAMP auto-set type stored in Field in 
        unireg_check to value from timestamp_auto_set_type_enum.
        (We can't replace this function with additional Field_timestamp member
        and some code in constructor because then we will have troubles
        with Field::new_field() method).
        We should also set field to not null in Field_timestamp::set_time() now.
      sql/field.h:
        Added support for TIMESTAMP fields holding NULL values.
        We don't need Field_timestamp::set_timestamp_offsets() anymore.
        Instead we need Field_timestamp::get_auto_set_type() function,
        which will convert TIMESTAMP auto-set type stored in Field in 
        unireg_check to value from timestamp_auto_set_type_enum.
        We also have to support NULL values in Field_timestamp::get_timestamp()
        function.
      sql/field_conv.cc:
        Added comment clarifying behavior in case of TIMESTAMP fields which are
        able to store NULL values.
      sql/ha_berkeley.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_heap.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_innodb.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_isam.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_isammrg.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_myisam.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_myisammrg.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_ndbcluster.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/handler.cc:
        handler::update_timestamp() is no longer needed since now we use
        Field_timestamp::set_time() instead.
        (we can't use handler::update_timestamp() anyway since field position
        only is not enough for TIMESTAMP fields which are able to store NULLs)
      sql/handler.h:
        handler::update_timestamp() is no longer needed since now we use
        Field_timestamp::set_time() instead.
      sql/item_timefunc.cc:
        Since now TIMESTAMP fields can hold NULL values we should take this into
        account.
      sql/sql_base.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now. 
        (Here we use Field_timestamp::get_auto_set_type() to setup its value
         before further statement execution).
      sql/sql_insert.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_load.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_parse.cc:
        Added support for TIMESTAMP fields holding NULL values.
        We should distinguish NULL default values and non-specified default
        values for such fields (because latter could mean DEFAULT NOW()
        ON UPDATE NOW() in some cases).
      sql/sql_show.cc:
        Added support for TIMESTAMP fields holding NULL values.
        Unlike all other fields these are NOT NULL by default
        so we have to specify NULL attribute explicitly for them.
      sql/sql_table.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_update.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_yacc.yy:
        Added support for TIMESTAMP fields holding NULL values.
        Unlike all other fields these are NOT NULL by default
        (so we have to set NOT_NULL_FLAG properly for them).
      sql/table.h:
        Added timestamp_auto_set_type enum which values are used for indicating
        during which operations we should automatically set TIMESTAPM field
        value to current timestamp.
        TABLE: Replaced timestamp_default_now/on_update_now members with
        timestamp_auto_set_type flag (Now when TIMESTAMP field are able to 
        store NULL values, single position of field in record is not enough 
        for updating this field anyway).
      c2a25521
  4. 16 May, 2004 1 commit
    • unknown's avatar
      key_cmp -> key_cmp_if_same · 79ad5506
      unknown authored
      New records_in_range() interface (similar to read_range())
      Macros for faster bitmap handling
      Simplify read_range() code (#WL1786)
      New general key_cmp() function to compare keys
      
      
      
      
      heap/hp_hash.c:
        New records_in_range() interface
      include/heap.h:
        New records_in_range() interface
      include/my_base.h:
        Moved 'key_range' here so that all table handlers can use it
      include/my_bitmap.h:
        Make some bitmap functions inline for faster usage in one thread
      include/myisam.h:
        New records_in_range() interface
      include/myisammrg.h:
        New records_in_range() interface
      myisam/mi_range.c:
        New records_in_range() interface
      myisam/mi_test2.c:
        New records_in_range() interface
      myisam/rt_test.c:
        New records_in_range() interface
        Indentation fixes
      myisam/sp_test.c:
        New records_in_range() interface
        Indentation fixes
      myisammrg/myrg_range.c:
        New records_in_range() interface
      mysys/my_bitmap.c:
        Make some bitmap functions inline for faster usage in one thread
      sql/examples/ha_example.cc:
        New records_in_range() interface
      sql/field.cc:
        Fixed indentation
      sql/ha_berkeley.cc:
        New records_in_range() interface
      sql/ha_berkeley.h:
        New records_in_range() interface
      sql/ha_heap.cc:
        New records_in_range() interface
      sql/ha_heap.h:
        New records_in_range() interface
      sql/ha_innodb.cc:
        New records_in_range() interface
      sql/ha_innodb.h:
        New records_in_range() interface
      sql/ha_isam.cc:
        New records_in_range() interface
      sql/ha_isam.h:
        New records_in_range() interface
      sql/ha_myisam.cc:
        New records_in_range() interface
      sql/ha_myisam.h:
        New records_in_range() interface
      sql/ha_myisammrg.cc:
        New records_in_range() interface
      sql/ha_myisammrg.h:
        New records_in_range() interface
      sql/ha_ndbcluster.cc:
        New records_in_range() interface
      sql/ha_ndbcluster.h:
        New records_in_range() interface
      sql/handler.cc:
        Simplify read_range() interface:
        - Add 'eq_range' to read_range_first
        - Remove 'eq_range' parameer from read_range_next()
        - Trust values from index_next_same()
        - Simplfy compare_key() by moving key_comparision to key.cc (as this code can be reused from other places)
      sql/handler.h:
        Move key_range to my_base.h to be used by external table handlers
        Simplify read_range() interface
        New records_in_range() interface
      sql/key.cc:
        Rename key_cmp() to key_cmp_if_same() to make it more descriptive
        Add new key_cmp() function usable from range and handler code.
      sql/mysql_priv.h:
        Prototypes for new functions
      sql/opt_range.cc:
        New records_in_range() interface
        Simplify cmp_prev()
        (We can in 5.0 simplify cmp_next() the same way)
      sql/opt_range.h:
        Added key_part_info to QUICK_SELECT to be able to use key_cmp() in get_next()
      sql/opt_sum.cc:
        key_cmp -> key_cmp_if_same
      sql/sql_acl.cc:
        key_cmp -> key_cmp_if_same
      sql/sql_select.cc:
        key_cmp -> key_cmp_if_same
      79ad5506
  5. 06 Apr, 2004 1 commit
    • unknown's avatar
      ::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(),... · 6ca2c764
      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
      6ca2c764
  6. 02 Apr, 2004 1 commit
    • unknown's avatar
      WL#1266 "Separate auto-set logic from TIMESTAMP type." · 4ada2ea9
      unknown authored
      Final version of patch.
      
      Adds support for specifying of DEFAULT NOW() and/or ON UPDATE NOW()
      clauses for TIMESTAMP field definition.
      Current implementation allows only one such field per table and
      uses several unireg types for storing info about this properties of
      field. It should be replaced with better implementation when new
      .frm format is introduced.
      
      
      include/mysqld_error.h:
        Added error codes for case when we have more than one column with NOW()
        in DEFAULT or ON UPDATE clauses and for case when we are using ON UPDATE
        clause with wrong type.
      mysql-test/r/create.result:
        Added tests for using of DEFAULT NOW() and ON UPDATE NOW() with
        non-TIMESTAMP fields.
      mysql-test/r/show_check.result:
        Updated test results to reflect new default look of TIMESTAMP fields
        in SHOW CREATE TABLE.
      mysql-test/r/system_mysql_db.result:
        Updated test results to reflect new default look of TIMESTAMP fields
        in SHOW CREATE TABLE.
      mysql-test/r/type_ranges.result:
        Updated test results to reflect new default look of TIMESTAMP fields
        in SHOW COLUMNS.
      mysql-test/r/type_timestamp.result:
        Added tests for various DEFAULT and ON UPDATE clauses for TIMESTAMP
        fields definitions.
      mysql-test/t/create.test:
        Added tests for using of DEFAULT NOW() and ON UPDATE NOW() with
        non-TIMESTAMP fields.
      mysql-test/t/type_timestamp.test:
        Added tests for various DEFAULT and ON UPDATE clauses for TIMESTAMP
        fields definitions.
      sql/field.cc:
        Added support for various combinations of DEFAULT and ON UPDATE clauses
        for TIMESTAMP field. 
        
        Setting TABLE::timestamp* members for TIMESTAMP fields with auto-set 
        option taking into account their unireg type (which corresponds to 
        various DEFAULT/ON UPDATE values combinations). Replaced 
        TABLE::time_stamp with TABLE::timestamp_default_now/on_update_now
        couple moved their setup to separate method set_timestamp_offsets(),
        which now is called from  open_table instead of Field_timestamp cons.
      sql/field.h:
        Added more unireg types for handling of DEFAULT NOW() and ON UPDATE
        NOW() for TIMESTAMP fields.
        Fixed value corresponding to DEFAULT item for TIMESTAMP field.
      sql/ha_berkeley.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_heap.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_innodb.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_isam.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_isammrg.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_myisam.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/ha_myisammrg.cc:
        Now TIMESTAMP column with auto-set property could be updated during
        INSERT or/and UPDATE independently.
      sql/item_func.h:
        We need to distinguish NOW() from other function for using in 
        DEFAULT and in ON UPDATE clauses.
      sql/item_timefunc.h:
        We need to distinguish NOW() from other function for using in 
        DEFAULT and in ON UPDATE clauses.
      sql/mysql_priv.h:
        Added parameter for ON UPDATE value to add_field_to_list() function.
      sql/share/czech/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/danish/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/dutch/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/english/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/estonian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/french/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/german/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/greek/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/hungarian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/italian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/japanese/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/korean/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/norwegian-ny/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/norwegian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/polish/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/portuguese/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/romanian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/russian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/serbian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/slovak/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/spanish/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/swedish/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/share/ukrainian/errmsg.txt:
        Added error messages for case when we have more than one column with
        NOW() (CURRENT_TIMESTAMP is just more standard alias) in DEFAULT or 
        ON UPDATE clauses and for case when we are using ON UPDATE clause with
        wrong type.
      sql/sql_base.cc:
        Added setup of TABLE::timestamp_default_now/on_update_now pair
        for each statement to open_table().
      sql/sql_insert.cc:
        Using TABLE::timestamp_default_now/on_update_now pair instead of
        old TABLE::time_stamp. Added check for case then REPLACE could not
        be converted to UPDATE because of different DEFAULT/ON UPDATE values
        for TIMESTAMP field.
      sql/sql_lex.h:
        Added member for value used in ON UPDATE clause to st_lex.
      sql/sql_load.cc:
        Using TABLE::timestamp_default_now/on_update_now pair instead of
        old TABLE::time_stamp. We don't need to restore these members
        since they are set up for each statement in open_table().
      sql/sql_parse.cc:
        Added handling of DEFAULT NOW() and ON UPDATE NOW() clauses for
        TIMESTAMP fields to add_field_to_list() function.
      sql/sql_show.cc:
        Added support for DEFAULT CURRENT_TIMESTAMP (aka NOW() ) and 
        ON UPDATE CURRENT_TIMESTAMP to SHOW CREATE TABLE and SHOW COLUMNS.
      sql/sql_table.cc:
        mysql_create_table() function - added check for number of TIMESTAMP 
          fields with auto-set values and replacing of old style TIMESTAMPs
          with their newer analogs.
        mysql_alter_table(): Using TABLE::timestamp_default_now/on_update_now 
          pair instead of old TABLE::time_stamp. We don't need to restore these
          members since they are set up for each statement in open_table().
      sql/sql_update.cc:
        Left only setting of TABLE::timestamp_default_now/on_update_now
        to 0 since they should be already set up in open_table().
      sql/sql_yacc.yy:
        Added support for DEFAULT NOW() and ON UPDATE NOW() in field
        definitions.
      sql/table.h:
        Replaced TABLE::time_stamp withTABLE::timestamp_default_now/timestamp_on_update_now
        pair which allows to distinguish TIMESTAMP's with various DEFAULT/ON UPDATE
        clauses and optimize checks if TIMESTAMP field should be set to NOW()
        in handlers.
      sql/unireg.cc:
        Now we are marking only TIMESTAMP fields with NOW() as default or
        as on update value as special field for unireg.
      4ada2ea9
  7. 30 Dec, 2003 1 commit
    • unknown's avatar
      Some small portability fixes. · 249910ab
      unknown authored
      Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
      This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
      
      
      client/mysqltest.c:
        Indentation cleanup
      include/myisam.h:
        Made some pointers 'const'
      mysql-test/mysql-test-run.sh:
        Portability fix for OSX
      sql/filesort.cc:
        Safety fix (not needed for current code but needed for 5.0)
      sql/ha_berkeley.cc:
        More debugging
        Changed 'create' to return error number
      sql/ha_berkeley.h:
        Added HA_FILE_BASED
      sql/ha_innodb.cc:
        Added missing DBUG_RETURN
      sql/ha_isam.cc:
        Changed create to return error number
      sql/ha_isam.h:
        Added HA_FILE_BASED
      sql/ha_isammrg.h:
        Added HA_FILE_BASED
      sql/ha_myisam.cc:
        Changed create to return error number
      sql/ha_myisam.h:
        Added HA_FILE_BASED
      sql/ha_myisammrg.cc:
        Changed create to return error number
      sql/ha_myisammrg.h:
        Added HA_FILE_BASED
      sql/handler.cc:
        Ensure that table engines gets table names in lower case even if we are using lower_case_table_names
        Removed test for DB_TYPE_INNODB by ensuring that create method returns error number.
      sql/handler.h:
        Added HA_FILE_BASED
        Made some struct entries 'const'
        Added 'alias' for create to be able to create tables in mixed case on case insensitive file systems
      sql/mysql_priv.h:
        Support for lower_case_table_names=2
      sql/mysqld.cc:
        Support for lower_case_table_names=2
        Moved test of case insenstive file system after all mutex are created
      sql/set_var.cc:
        Support for lower_case_table_names=2
      sql/sql_class.h:
        Indentation change
      sql/sql_db.cc:
        Support for lower_case_table_names=2
      sql/sql_insert.cc:
        Indentation change
      sql/sql_parse.cc:
        Support for lower_case_table_names=2
      sql/sql_rename.cc:
        Support for lower_case_table_names=2
        Added missing 'unpack_filename' to RENAME which may fix a bug in RENAME TABLE on windows
      sql/sql_show.cc:
        If lower_case_table_name=2 is given, show original case in SHOW CREATE TABLE
      sql/sql_table.cc:
        Support for lower_case_table_names=2 for DROP TABLE, RENAME TABLE, ALTER TABLE and CREATE TABLE
      249910ab
  8. 20 Nov, 2003 1 commit
    • unknown's avatar
      Merge key cache structures to one · 4286e203
      unknown authored
      Fixed compiler warnings (IRIX C compiler and VC++)
      
      
      VC++Files/client/mysqlclient.dsp:
        Add missing file to project
      VC++Files/libmysql/libmysql.dsp:
        Add missing file to project
      VC++Files/myisam/myisam.dsp:
        Add missing file to project
      VC++Files/mysys/mysys.dsp:
        Add missing file to project
      heap/hp_test1.c:
        Fixed wrong call to heap_rkey()
      heap/hp_test2.c:
        Fixed wrong call to heap_rkey()
      include/hash.h:
        Move not used (internal) struct to hash.c
      include/my_pthread.h:
        Made some structs 'const char*' to avoid warnings
      include/my_sys.h:
        Moved key cache structs and functions to keycache.h
      include/myisam.h:
        Merge key cache structures to one
      include/mysql.h:
        Remove STDCALL from internal functions
      include/sql_common.h:
        Remove STDCALL from internal functions
      include/violite.h:
        Fixed compiler warning
      isam/_locking.c:
        Merge key cache structures to one
      isam/_page.c:
        Merge key cache structures to one
      isam/close.c:
        Merge key cache structures to one
      isam/extra.c:
        Merge key cache structures to one
      isam/isamchk.c:
        Merge key cache structures to one
      isam/isamdef.h:
        Merge key cache structures to one
      isam/isamlog.c:
        Merge key cache structures to one
      isam/panic.c:
        Merge key cache structures to one
      isam/test2.c:
        Merge key cache structures to one
      isam/test3.c:
        Merge key cache structures to one
      libmysql/client_settings.h:
        Remove STDCALL from internal functions
      libmysql/libmysql.c:
        Remove STDCALL from internal functions
      myisam/ft_boolean_search.c:
        Fixed compiler warning
      myisam/ft_dump.c:
        Fixed compiler warnings (%qx is not portable)
      myisam/ft_update.c:
        Fixed compiler warnings
      myisam/mi_check.c:
        Merge key cache structures to one
      myisam/mi_close.c:
        Merge key cache structures to one
      myisam/mi_delete_all.c:
        Merge key cache structures to one
      myisam/mi_extra.c:
        Merge key cache structures to one
      myisam/mi_keycache.c:
        Merge key cache structures to one
      myisam/mi_locking.c:
        Merge key cache structures to one
      myisam/mi_page.c:
        Merge key cache structures to one
      myisam/mi_panic.c:
        Merge key cache structures to one
      myisam/mi_preload.c:
        Merge key cache structures to one
      myisam/mi_test1.c:
        Merge key cache structures to one
      myisam/mi_test2.c:
        Merge key cache structures to one
      myisam/mi_test3.c:
        Merge key cache structures to one
      myisam/myisamchk.c:
        Merge key cache structures to one
      myisam/myisamdef.h:
        Merge key cache structures to one
      myisam/myisamlog.c:
        Merge key cache structures to one
        Removed not used option
      myisam/sort.c:
        Fixed compiler warnings
      myisam/sp_test.c:
        Fixed compiler warnings
      mysql-test/r/case.result:
        Updated results after fix of correct NULL detection in WHEN
      mysql-test/r/date_formats.result:
        Updated results after fixing date handling
      mysql-test/r/symlink.result:
        Updated results after adding DEFAULT CHARSET
      mysql-test/t/case.test:
        New test
      mysql-test/t/symlink.test:
        Updated error numbers
      mysys/hash.c:
        Made HASH_LINK struct local
      mysys/mf_keycache.c:
        Merge key cache structures to one
        Fixed key_cache_read() and key_cache_write() to be resize-safe.
      mysys/mf_keycaches.c:
        Merge key cache structures to one
      mysys/thr_mutex.c:
        Added test if mutex is initalized
      sql-common/client.c:
        Remove STDCALL from internal functions
      sql/derror.cc:
        Added comment
      sql/field.cc:
        Removed not used variables
      sql/ha_innodb.cc:
        Fixed compiler warnings (removed not used variables)
      sql/ha_myisam.cc:
        Merge key cache structures to one
      sql/ha_myisammrg.cc:
        Removed not used variables
      sql/handler.cc:
        Merge key cache structures to one
      sql/handler.h:
        Merge key cache structures to one
      sql/item.cc:
        Fixed compiler warning
      sql/item_cmpfunc.cc:
        Remove not used variables
      sql/item_func.cc:
        Remove not used variables
      sql/item_strfunc.cc:
        Removed not used variables
      sql/item_sum.cc:
        Removed not used variables
        Moved setting of item_thd to fix_fields()
      sql/item_timefunc.cc:
        Removed not used variables
      sql/mysql_priv.h:
        Merge key cache structures to one
      sql/mysqld.cc:
        Merge key cache structures to one
        init_thread_environment() is not called before mysql_init_variables(). This fixes a case where a mutex was not initialized before it was used
      sql/opt_sum.cc:
        Remove not used variables
      sql/protocol.cc:
        Don't send errors after ok has been sent
      sql/protocol_cursor.cc:
        Remove not used variable
        Simple optimization
      sql/repl_failsafe.cc:
        Remove not used variables
      sql/set_var.cc:
        Merge key cache structures to one
      sql/set_var.h:
        Merge key cache structures to one
      sql/sql_acl.cc:
        Remove not used variables
      sql/sql_base.cc:
        Remove not used function
      sql/sql_db.cc:
        Remove not used variables
      sql/sql_handler.cc:
        Remove not used variables
      sql/sql_insert.cc:
        More DBUG statements
        Simple code cleanup
      sql/sql_lex.cc:
        Remove not used variables
      sql/sql_parse.cc:
        Remove not used variables
      sql/sql_prepare.cc:
        Remove not used variables
      sql/sql_repl.cc:
        Remove not used variables
      sql/sql_select.cc:
        Remove not used variables
      sql/sql_show.cc:
        Remove not used variables
      sql/sql_table.cc:
        Merge key cache structures to one
        Removed not used variables
      sql/sql_test.cc:
        Merge key cache structures to one
      sql/strfunc.cc:
        Fixed that find_type() returns correct value for partly matched words.
        (This fixed the error found by date_formats.test)
      sql/time.cc:
        Remove not used variables
      strings/my_strtoll10.c:
        Fixed compiler warnings
      4286e203
  9. 18 Nov, 2003 1 commit
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · 1b739e39
      unknown authored
      New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
      ALTER TABLE table_name ... CHARACTER SET  ... now changes all char/varchar/text columns to the given character set
      (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
      Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
      New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
      Removed compiler warnings
      Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
      
      
      BUILD/compile-pentium-valgrind-max:
        Add test of isam
      client/mysql.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      include/my_base.h:
        Remove HA_EXTRA_SET_KEY_CACHE
      include/my_no_pthread.h:
        Add defines to ignore rw-locks when running without threads
      include/my_sys.h:
        Added function for multi-key-caches
      include/myisam.h:
        Added function to handle multi-key-caches
      include/mysql.h:
        Added mysql_set_server_option
      include/mysql_com.h:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Added enum_mysql_set_option
      include/mysqld_error.h:
        Added error message for unknown key cache
      innobase/srv/srv0start.c:
        Removed warning that is confused for MySQL users
      libmysql/libmysql.c:
        Added mysql_set_server_option()
      libmysql/libmysql.def:
        Added mysql_set_server_option()
      myisam/ft_nlq_search.c:
        Removed compiler warning
      myisam/ft_static.c:
        Removed compiler warning and fixed wrong return value
      myisam/mi_check.c:
        Clean up multi-key-cache usage
      myisam/mi_checksum.c:
        Removed not used variable
      myisam/mi_close.c:
        keycache -> key_cache
      myisam/mi_delete_all.c:
        keycache -> key_cache
      myisam/mi_extra.c:
        keycache -> key_cache
        Removed HA_EXTRA_SET_KEY_CACHE
      myisam/mi_keycache.c:
        Changed logic so that it's MyISAM that is responsible for assign tables to different key caches instead of the upper level
      myisam/mi_locking.c:
        Don't change key cache on unlock (must be done before)
      myisam/mi_open.c:
        Fetch key cache to use from multi_key_cache_search()
      myisam/mi_page.c:
        keycache -> key_cache
      myisam/mi_panic.c:
        keycache -> key_cache
      myisam/mi_preload.c:
        keycache -> key_cache
      myisam/mi_test1.c:
        Use KEY_CACHE_BLOCK_SIZE
      myisam/mi_test2.c:
        Always test resize_key_cache()
      myisam/mi_test3.c:
        Use KEY_CACHE_BLOCK_SIZE instead of 512
      myisam/myisamchk.c:
        update for multiple key caches
      myisam/myisamdef.h:
        Remove reg_keycache
        Add unique_name_length for storing length of unique_file_name
      myisam/myisamlog.c:
        Change how end_key_cache() is called
      mysql-test/mysql-test-run.sh:
        Fixed web link
        Added name of failed test to abort row.
      mysql-test/r/alter_table.result:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/r/case.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/cast.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/create.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_collate.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_latin1_de.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_many.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_mb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_recoding.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_ucs.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/derived.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/r/fulltext.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_str.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_system.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/gis-rtree.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/innodb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/key_cache.result:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/r/merge.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/preload.result:
        New syntax
      mysql-test/r/show_check.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/sql_mode.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/subselect.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_blob.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_enum.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_nchar.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_set.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/union.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/alter_table.test:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/t/ctype_many.test:
        Update result for DEFAULT CHARSET...
      mysql-test/t/derived.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/isam.test:
        Use disable warnings for test loop
      mysql-test/t/join.test:
        Update test now when we only support 61 tables in join
      mysql-test/t/key_cache.test:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/t/preload.test:
        Update for new syntax
      mysql-test/t/union.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysys/Makefile.am:
        Added mf_keycaches.c
      mysys/hash.c:
        TRUE -> 1
      mysys/mf_keycache.c:
        Removed compiler warnings
        Striped end space
        Fixed indentation and improved function comments
        TRUE -> 1
        Changed parameters to end_key_cache() to make it easer to use
        Fixed bug when using key blocks size > 1024 bytes (First part of index file could be overwritten with wrong data)
        Split function flush_key_blocks into two functions to not get mutex used twice when called from flush_all_key_blocks()
      mysys/my_bitmap.c:
        More debugging
        Safe bitmap_free()
        Fixed indentation
      mysys/my_getopt.c:
        Ensure that we initialize option->value, option->max_value and value from GET_ASK_ADDR
      mysys/my_thr_init.c:
        Remove not used mutex THR_LOCK_keycache
      mysys/typelib.c:
        Fixed function comments
      sql-common/client.c:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Fixed the multi_result flag is set also on SELECT;s
      sql/ha_myisam.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/ha_myisammrg.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/handler.cc:
        New multi key cache handling
      sql/handler.h:
        New multi key cache handling
        Added support for default character set
      sql/item.h:
        Added function cleanup() (Needed for prepared statements / cursors)
      sql/item_cmpfunc.h:
        Added cleanup function
      sql/item_func.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        New multi-key-cache functions
        Removed LOCK_assign
      sql/mysqld.cc:
        New multi-key-cache handling
        Fixed that variable have_compress is set correctly
      sql/protocol.cc:
        SELECT didn't work reliable in multi-statements
      sql/set_var.cc:
        Support for new key cache variables
      sql/set_var.h:
        Support for new key cache variables
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/serbian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed all key_cache handling (this is now done on MyISAM level)
        Change table_charset -> default_table_charset
      sql/sql_db.cc:
        table_charset -> default_table_charset
      sql/sql_delete.cc:
        table_charset -> default_table_charset
      sql/sql_lex.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      sql/sql_lex.h:
        New option to store a name and length
      sql/sql_parse.cc:
        Support for mysql_set_server_option()
        Reset "default" keycache status variables in 'FLUSH STATUS' (Need to be improved later)
      sql/sql_show.cc:
        Add DEFAULT before CHARSET (for table character sets)
        Fetch key cache variables from 'sql_key_cache'
      sql/sql_table.cc:
        table_charset -> default_table_charset
        New multi-key-cache handling
      sql/sql_test.cc:
        Write information from all key caches
      sql/sql_yacc.yy:
        Changed syntax for CACHE INDEX ...
        Force user to use DEFAULT before database/table level character sets
      sql/structs.h:
        Added SHOW_KEY_CACHE_LONG (to get values from sql_key_cache)
      sql/table.cc:
        table_charset -> default_table_charset
      sql/table.h:
        New key cache handling (this is now done in mysys/mf_keycaches.c)
      sql/unireg.h:
        A
      1b739e39
  10. 11 Oct, 2003 1 commit
    • unknown's avatar
      key_map with more that 64 bits width · 373f3516
      unknown authored
      sql/field.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.h:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item_func.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/opt_sum.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_delete.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_show.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_test.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_update.cc:
        typedef Bitmap<64> key_map
        all tests pass
      include/my_bitmap.h:
        more bitmap methods
      mysys/my_bitmap.c:
        more bitmap methods
      sql/field.h:
        init bitmaps
      sql/ha_innodb.h:
        optimization
      sql/ha_isam.cc:
        optimization
      sql/ha_myisam.cc:
        optimization
      sql/ha_myisammrg.cc:
        optimization
      sql/handler.h:
        optimization
      sql/mysqld.cc:
        bitmap_init() interface changed
      sql/opt_range.cc:
        optimization
      sql/opt_range.h:
        optimization
      sql/slave.cc:
        bitmap_init() interface changed
      sql/sql_base.cc:
        optimization
      sql/sql_select.cc:
        init bitmaps
        using const for bitmaps whenever possible
      sql/sql_select.h:
        cleanup
      sql/table.cc:
        always init bitmaps
      BitKeeper/etc/ignore:
        Added sql/udf_example.so to the ignore list
      sql/mysql_priv.h:
        use Bitmap over ulonglong by default
      373f3516
  11. 02 Aug, 2003 1 commit
    • unknown's avatar
      Many files: · 6ef96ae3
      unknown authored
        Added key cache assignment
      mi_locking.c:
        Added key cache assignment: correction
      my_sys.h:
        Added key cache variable structure
      
      
      include/my_sys.h:
        Added key cache variable structure
      include/my_base.h:
        Added key cache assignment
      include/myisam.h:
        Added key cache assignment
      include/my_global.h:
        Added key cache assignment
      isam/_page.c:
        Added key cache assignment
      isam/close.c:
        Added key cache assignment
      isam/isamchk.c:
        Added key cache assignment
      isam/isamlog.c:
        Added key cache assignment
      isam/panic.c:
        Added key cache assignment
      isam/_locking.c:
        Added key cache assignment
      isam/test2.c:
        Added key cache assignment
      isam/test3.c:
        Added key cache assignment
      myisam/myisamdef.h:
        Added key cache assignment
      myisam/mi_check.c:
        Added key cache assignment
      myisam/mi_close.c:
        Added key cache assignment
      myisam/mi_extra.c:
        Added key cache assignment
      myisam/mi_page.c:
        Added key cache assignment
      myisam/mi_panic.c:
        Added key cache assignment
      myisam/mi_preload.c:
        Added key cache assignment
      myisam/mi_test1.c:
        Added key cache assignment
      myisam/mi_test2.c:
        Added key cache assignment
      myisam/mi_test3.c:
        Added key cache assignment
      myisam/myisamchk.c:
        Added key cache assignment
      myisam/myisamlog.c:
        Added key cache assignment
      myisam/mi_delete_all.c:
        Added key cache assignment
      myisam/mi_locking.c:
        Added key cache assignment: correction
      myisam/mi_keycache.c:
        Added key cache assignment
      sql/handler.h:
        Added key cache assignment
      sql/mysql_priv.h:
        Added key cache assignment
      sql/set_var.h:
        Added key cache assignment
      sql/table.h:
        Added key cache assignment
      sql/ha_myisam.cc:
        Added key cache assignment
      sql/ha_myisammrg.cc:
        Added key cache assignment
      sql/handler.cc:
        Added key cache assignment
      sql/mysqld.cc:
        Added key cache assignment
      sql/set_var.cc:
        Added key cache assignment
      sql/sql_base.cc:
        Added key cache assignment
      sql/sql_table.cc:
        Added key cache assignment
      sql/sql_test.cc:
        Added key cache assignment
      sql/sql_yacc.yy:
        Added key cache assignment
      mysys/mf_keycache.c:
        Added key cache assignment
      mysql-test/t/key_cache.test:
        Added key cache assignment
      mysql-test/r/key_cache.result:
        Added key cache assignment
      6ef96ae3
  12. 27 Jun, 2003 1 commit
    • unknown's avatar
      Allow one to use MERGE tables with tables from different databases · 351120e3
      unknown authored
      Added command 'replace_column' to mysqltest
      
      
      client/mysqltest.c:
        Added user command replace_column
      mysql-test/r/merge.result:
        Update of tests
      mysql-test/t/innodb.test:
        User replace_column to make tests repeatable
      mysql-test/t/merge.test:
        New tests for testing MERGE tables with multiple databases
      scripts/mysql_create_system_tables.sh:
        Fixed syntax error
      sql/ha_myisammrg.cc:
        Allow one to use MERGE tables with tables from different databases
      sql/mysql_priv.h:
        Added function
      sql/sql_parse.cc:
        Allow one to use MERGE tables with tables from different databases
      sql/sql_show.cc:
        Extended append_identifier()
      351120e3
  13. 28 Jan, 2003 1 commit
    • unknown's avatar
      low-level error messages cleanup · 88c4961f
      unknown authored
      extra/perror.c:
        error messages fixups
      include/my_base.h:
        error codes fixups
      myisam/mi_open.c:
        correct error reported
      myisam/myisamchk.c:
        correct error reported
      myisammrg/myrg_open.c:
        correct error reported
      sql/ha_innodb.cc:
        correct error reported
      sql/ha_isam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisammrg.cc:
        correct error reported
      sql/handler.cc:
        correct error reported
      88c4961f
  14. 16 Jan, 2003 1 commit
  15. 12 Dec, 2002 1 commit
    • unknown's avatar
      Removed compiler warnings · 982e3eed
      unknown authored
      Fixed wrong variable name for Windows
      
      
      VC++Files/innobase/innobase.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/myisammrg/myisammrg.dsp:
        Add missing files
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Fixed included paths
      VC++Files/mysqldemb/mysqldemb.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/mysqlserver/mysqlserver.dsp:
        Don't use precompiled headers (doesn't work with samba)
      VC++Files/sql/mysqld.dsp:
        Fixed paths
      innobase/include/univ.i:
        Removed compiler warning
      myisammrg/myrg_open.c:
        Removed compiler warning
      sql/ha_myisam.cc:
        Removed compiler warning
        Fixed wrong (but not dangerous) if statement
      sql/ha_myisammrg.cc:
        Removed compiler warning
      sql/mysqld.cc:
        Fixed wrong variable name for Windows
      sql/sql_update.cc:
        Removed not used label
      982e3eed
  16. 09 Dec, 2002 1 commit
  17. 07 Dec, 2002 1 commit
    • unknown's avatar
      bulk insert code optimized · f7604940
      unknown authored
      mysql-test/r/distinct.result:
        updated
      mysql-test/r/fulltext.result:
        updated
      mysql-test/r/select.result:
        updated
      mysql-test/r/show_check.result:
        updated
      mysql-test/t/insert.test:
        updated
      f7604940
  18. 25 Nov, 2002 1 commit
  19. 17 Nov, 2002 1 commit
  20. 11 Nov, 2002 1 commit
  21. 07 Nov, 2002 1 commit
    • unknown's avatar
      Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. · 099974b5
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      configure.in:
        Added use of ASFLAGS (For Solaris with Forte 5.0)
      include/my_global.h:
        Portability fix
      include/myisam.h:
        Portability fix
      include/queues.h:
        Portability fix
      innobase/include/ut0ut.h:
        Portability fix
      innobase/log/log0log.c:
        Portability fix
      innobase/rem/rem0cmp.c:
        Portability fix
      innobase/trx/trx0sys.c:
        Portability fix
      isam/pack_isam.c:
        Portability fix
      myisam/ft_boolean_search.c:
        Portability fix
      myisam/mi_dynrec.c:
        Code change to go around bug in Forte 5.0
      myisam/sort.c:
        Portability fix
      mysys/my_aes.c:
        Portability fix
      scripts/Makefile.am:
        Support for ASFLAGS
      scripts/mysqlbug.sh:
        Support for ASFLAGS
      sql/field.cc:
        Portability fix
      sql/filesort.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/ha_innodb.cc:
        Portability fix
        Changed SHOW INNODB STATUS to return error instead of writing message to log file.
      sql/ha_isammrg.cc:
        Portability fix
      sql/ha_myisam.cc:
        Portability fix
      sql/ha_myisammrg.cc:
        Portability fix
      sql/hash_filo.h:
        Portability fix
      sql/hostname.cc:
        Portability fix
      sql/item_cmpfunc.h:
        Indentation change
      sql/item_func.cc:
        Portability fix
      sql/item_func.h:
        Portability fix
      sql/log.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/mysql_priv.h:
        Portability fix
      sql/mysqld.cc:
        Portability fix
        Fixed bug with rpl_recovery_rank command line option on 64 bit systems
      sql/opt_range.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/slave.cc:
        Portability fix
      sql/slave.h:
        Portability fix
      sql/sql_acl.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_cache.cc:
        Portability fix
      sql/sql_cache.h:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_manager.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      BUILD/compile-solaris-sparc-forte:
        C
      sql/sql_udf.cc:
        Portability fix
      sql/sql_update.cc:
        Portability fix
      strings/Makefile.am:
        Portability fix
      strings/bmove_upp-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/str_test.c:
        Cleanup
      strings/strappend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmake-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strnmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strstr-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strxmov-sparc.s:
        Fixes to make this more portable, but it's still not usable on 64 bit systems :(
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      099974b5
  22. 05 Nov, 2002 1 commit
  23. 04 Nov, 2002 1 commit
  24. 30 Sep, 2002 1 commit
  25. 26 Sep, 2002 1 commit
  26. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · 728cc2e2
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      728cc2e2
  27. 21 Jul, 2002 1 commit
    • unknown's avatar
      AUTO_INCREMENT support for MERGE · ea4b46e5
      unknown authored
      HA_AUTO_PART_KEY support for handler parent class
      
      
      Docs/manual.texi:
        AUTO_INCREMENT support for MERGE
      mysql-test/r/merge.result:
        AUTO_INCREMENT support for MERGE
      sql/ha_myisammrg.cc:
        AUTO_INCREMENT support for MERGE
      sql/ha_myisammrg.h:
        AUTO_INCREMENT support for MERGE
      sql/handler.cc:
        default handler::update_auto_increment now supports HA_AUTO_PART_KEY
      ea4b46e5
  28. 22 Mar, 2002 1 commit
    • unknown's avatar
      added building without query cache · 0b4b38b6
      unknown authored
      configure.in:
        new configure parameter (now only for embeded server)
      include/my_global.h:
        now query cache always included in server, because of problrms with test suit
      mysql-test/r/flush.result:
        removed double testing
      mysql-test/t/flush.test:
        removed double testing
      mysql-test/t/grant_cache.test:
        now it is only memo about query cache
      mysql-test/t/query_cache.test:
        now it is only memo about query cache
      0b4b38b6
  29. 12 Mar, 2002 1 commit
    • unknown's avatar
      Added help for --local-infile · 06e26b19
      unknown authored
      Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
      Allow SET PASSWORD for anonymous user
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Added help for --local-infile
      client/mysqlimport.c:
        Merge with 4.0.
        Patch for LOCAL INFILE handling
      configure.in:
        cleanup
      include/global.h:
        Fix for bug on intel where (int32) 1 << 32 == 1
      mysql-test/r/create.result:
        Test of CREATE TABLE with 32 keys
      mysql-test/t/create.test:
        Test of CREATE TABLE with 32 keys
      scripts/mysqlhotcopy.sh:
        Patch for databasenames with space.
      sql/ha_isam.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/ha_myisam.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/ha_myisammrg.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      sql/mysqld.cc:
        Added help for --local-infile
      sql/sql_acl.cc:
        Allow SET PASSWORD of anonymous user
      sql/table.cc:
        Fix for bug on intel where (int32) 1 << 32 == 1
      06e26b19
  30. 12 Jan, 2002 1 commit
    • unknown's avatar
      Added support of null keys in HEAP tables · 2c2d3185
      unknown authored
      Added ORDER BY optimization
      
      
      Docs/manual.texi:
        Added ORDER BY optimisation section
      heap/_check.c:
        Cleanup
      heap/heapdef.h:
        Added support of null keys in HEAP tables
      heap/hp_hash.c:
        Added support of null keys in HEAP tables
      heap/hp_open.c:
        Added support of null keys in HEAP tables
      heap/hp_test2.c:
        Added support of null keys in HEAP tables
      heap/hp_write.c:
        Added support of null keys in HEAP tables
      include/heap.h:
        Added support of null keys in HEAP tables
      include/my_base.h:
        Support for hash algoritm
      isam/static.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      sql/Makefile.am:
        Rename innobase -> innodb
      sql/ha_berkeley.cc:
        Added ORDER BY optimization
      sql/ha_berkeley.h:
        Added ORDER BY optimization
      sql/ha_heap.cc:
        Added support for NULL keys
      sql/ha_heap.h:
        Added support for NULL keys
      sql/ha_isam.cc:
        Added ORDER BY optimization
      sql/ha_isam.h:
        Added ORDER BY optimization
      sql/ha_isammrg.h:
        Added ORDER BY optimization
      sql/ha_myisam.cc:
        Added ORDER BY optimization
      sql/ha_myisam.h:
        Added ORDER BY optimization
      sql/ha_myisammrg.cc:
        Added ORDER BY optimization
      sql/ha_myisammrg.h:
        Added ORDER BY optimization
      sql/handler.cc:
        Rename innobase -> innodb
      sql/handler.h:
        Rename innobase -> innodb
      sql/ha_innodb.cc:
        Rename innobase -> innodb
      sql/ha_innodb.h:
        Rename innobase -> innodb
      sql/mysqld.cc:
        Rename innobase -> innodb
      sql/sql_delete.cc:
        Rename innobase -> innodb
      sql/sql_select.cc:
        Added ORDER BY optimization
      sql/sql_select.h:
        Added ORDER BY optimization
      2c2d3185
  31. 02 Dec, 2001 1 commit
    • unknown's avatar
      Query cache. · ebd29d50
      unknown authored
      Remove some warnings
      
      
      Docs/manual.texi:
        Solaris and gcc
      include/ft_global.h:
        Remove warnings
      include/myisam.h:
        Query cache
      include/myisammrg.h:
        Query cache
      include/mysql_com.h:
        Query cache
      libmysqld/lib_sql.cc:
        Query cache
      myisam/ft_boolean_search.c:
        Remove warnings
      myisam/ft_dump.c:
        Remove warnings
      myisam/ft_parser.c:
        Remove warnings
      myisam/ft_static.c:
        Remove warnings
      myisam/ft_update.c:
        Remove warnings
      myisam/ftdefs.h:
        Remove warnings
      myisam/mi_delete.c:
        Query cache
      myisam/mi_locking.c:
        Query cache
      myisam/mi_update.c:
        Query cache
      myisam/myisamdef.h:
        Optimize for Ia64
      myisammrg/myrg_extra.c:
        Query cache
      mysys/mf_keycache.c:
        DBUG statements
      regex/cclass.h:
        Remove warnings
      regex/cname.h:
        Remove warnings
      regex/main.c:
        Remove warnings
      regex/regcomp.c:
        Remove warnings
      regex/regcomp.ih:
        Remove warnings
      regex/regerror.c:
        Remove warnings
      regex/reginit.c:
        Remove warnings
      regex/split.c:
        Remove warnings
      sql-bench/test-connect.sh:
        Make tests query-cache safe.
      sql-bench/test-transactions.sh:
        Fix for old perl versions
      sql/convert.cc:
        Query cache
      sql/ha_myisammrg.cc:
        Query cache
      sql/ha_myisammrg.h:
        Query cache
      sql/handler.cc:
        Query cache
      sql/item_create.cc:
        Query cache
      sql/item_func.cc:
        Remove warnings
      sql/item_func.h:
        Remove warnings
      sql/lex.h:
        Query cache
      sql/mysql_priv.h:
        Query cache
      sql/mysqld.cc:
        Query cache
      sql/net_serv.cc:
        Query cache
      sql/sql_cache.cc:
        Query cache
      sql/sql_class.cc:
        Query cache
      sql/sql_class.h:
        Query cache
      sql/sql_db.cc:
        Query cache
      sql/sql_delete.cc:
        Query cache
      sql/sql_insert.cc:
        Query cache
      sql/sql_parse.cc:
        Query cache
      sql/sql_select.cc:
        Query cache
      sql/sql_table.cc:
        Query cache
      sql/sql_update.cc:
        Query cache
      sql/sql_yacc.yy:
        Query cache
      ebd29d50
  32. 03 Nov, 2001 1 commit
    • unknown's avatar
      Fix that mysqladmin shutdown can be interrupted with ^C · d47add59
      unknown authored
      Fixed bug with BLOB keys in BDB tables
      Fixed problem with MERGE tables on OS with 32 bit files
      Fixed that TIME_TO_SEC() works with negative times
      
      
      Docs/manual.texi:
        Changelog
      client/mysqladmin.c:
        Fix that mysqladmin shutdown can be interrupted with ^C
      include/mysqld_error.h:
        Fixed typo
      mysql-test/r/func_time.result:
        Added test case for negative times
      mysql-test/t/func_time.test:
        Added test case for negative times
      mysql-test/t/rpl000015-slave.sh:
        Removed warnings
      mysql-test/t/rpl000016-slave.sh:
        Removed warnings
      sql/field.cc:
        Fixed bug with BLOB keys in BDB tables
      sql/field.h:
        Fixed bug with BLOB keys in BDB tables
      sql/ha_berkeley.cc:
        Fixed bug with BLOB keys in BDB tables
      sql/ha_myisammrg.cc:
        Fixed problem with MERGE tables on OS with 32 bit files
      sql/item_timefunc.cc:
        Fixed that TIME_TO_SEC() works with negative times.
      sql/share/swedish/errmsg.txt:
        Merge with 4.0
      sql/sql_acl.cc:
        Fixed typo
      d47add59
  33. 08 Oct, 2001 1 commit
    • unknown's avatar
      Updated manual about embedded version. · 6a8bf9ae
      unknown authored
      Speed up column-completion in 'mysql'
      Don't use ISAM if HAVE_ISAM is not defined
      A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
      Changed arguments to convert_dirname() to make it more general.
      Renamed files in the 'merge' directory to all use a common prefix.
      Don't compile both assembler and C functions on x86
      
      
      BitKeeper/deleted/.del-mf_pack2.c~f07795bbcf57be7:
        Delete: mysys/mf_pack2.c
      Docs/manual.texi:
        Updated chapter about embedded version
      acinclude.m4:
        Fix for using BDB and InnoDB with embedded
      client/completion_hash.cc:
        Speed up memory allocation
      client/completion_hash.h:
        Speed up memory allocation
      client/mysql.cc:
        Speed up memory allocation
      client/mysqldump.c:
        Fix to use now convert_dirname
      client/mysqltest.c:
        Fixed memory allocation bugs.
        Added --basedir=#, --compress=#, --server-arg, --server-file.
        Fixes for embedded version
        Changed silent mode to -s instead of -q
      include/my_global.h:
        Update to use HAVE_ISAM
      include/my_sys.h:
        Cleanup of fn_format()
      include/mysql.h:
        Prepare FIELD struct for 4.1
      include/mysql_embed.h:
        Don't use ISAM in embedded version
      innobase/include/srv0srv.h:
        Make InnoDB startup/shutdown silent in embedded version
      innobase/log/log0log.c:
        Make InnoDB startup/shutdown silent in embedded version
      innobase/srv/srv0srv.c:
        Make InnoDB startup/shutdown silent in embedded version
      innobase/srv/srv0start.c:
        Make InnoDB startup/shutdown silent in embedded version
      isam/isamlog.c:
        new convert_dirname
      libmysql/libmysql.c:
        Prepare for 4.1
      libmysqld/Makefile.am:
        Changed to create one libmysqld.a file that includes all other libraries.
      libmysqld/examples/Makefile.am:
        Changed to use new libmysqld.a
      libmysqld/examples/test-run:
        Lot's of fixes to get new mysqltest with embedded MySQL to work.
      libmysqld/lib_sql.cc:
        Changed type of arguments for mysql_server_init() to make code more portable.
      libmysqld/libmysqld.c:
        Cleanup
      merge/Makefile.am:
        Rename to use common prefix.
      merge/mrg_close.c:
        Rename to use common prefix.
      merge/mrg_create.c:
        Rename to use common prefix.
      merge/mrg_def.h:
        Rename to use common prefix.
      merge/mrg_delete.c:
        Rename to use common prefix.
      merge/mrg_extra.c:
        Rename to use common prefix.
      merge/mrg_info.c:
        Rename to use common prefix.
      merge/mrg_locking.c:
        Rename to use common prefix.
      merge/mrg_open.c:
        Rename to use common prefix.
      merge/mrg_panic.c:
        Rename to use common prefix.
      merge/mrg_rrnd.c:
        Rename to use common prefix.
      merge/mrg_rsame.c:
        Rename to use common prefix.
      merge/mrg_static.c:
        Rename to use common prefix.
      merge/mrg_update.c:
        Rename to use common prefix.
      myisam/myisamlog.c:
        Use new convert_dirname
      myisammrg/Makefile.am:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_close.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_create.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_def.h:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_delete.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_extra.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_info.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_locking.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_open.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_panic.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_queue.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rfirst.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rkey.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rlast.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rnext.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rprev.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rrnd.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_rsame.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_static.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_update.c:
        Renamed mymrgdef.h -> myrg_def.h
      myisammrg/myrg_write.c:
        Renamed mymrgdef.h -> myrg_def.h
      mysql-test/include/master-slave.inc:
        Use short filenames for sockets (portability problem on Mac OS X)
      mysql-test/mysql-test-run.sh:
        cleanup
      mysql-test/r/auto_increment.result:
        Cleanup of tests for embedded version
      mysql-test/r/func_system.result:
        Cleanup of tests for embedded version
      mysql-test/r/isam.result:
        Cleanup of tests for embedded version
      mysql-test/r/lock.result:
        Cleanup of tests for embedded version
      mysql-test/r/show_check.result:
        Cleanup of tests for embedded version
      mysql-test/t/auto_increment.test:
        Cleanup of tests for embedded version
      mysql-test/t/backup.test:
        Cleanup of tests for embedded version
      mysql-test/t/count_distinct2-master.opt:
        Cleanup of tests for embedded version
      mysql-test/t/count_distinct2.test:
        Cleanup of tests for embedded version
      mysql-test/t/create.test:
        Cleanup of tests for embedded version
      mysql-test/t/flush.test:
        Cleanup of tests for embedded version
      mysql-test/t/func_system.test:
        Cleanup of tests for embedded version
      mysql-test/t/isam.test:
        Cleanup of tests for embedded version
      mysql-test/t/kill.test:
        Cleanup of tests for embedded version
      mysql-test/t/lock.test:
        Cleanup of tests for embedded version
      mysql-test/t/order_fill_sortbuf-master.opt:
        Cleanup of tests for embedded version
      mysql-test/t/rpl000015.test:
        Use short filenames for sockets (portability problem on Mac OS X)
      mysql-test/t/rpl000016.test:
        Use short filenames for sockets (portability problem on Mac OS X)
      mysql-test/t/rpl000017.test:
        Use short filenames for sockets (portability problem on Mac OS X)
      mysql-test/t/rpl000018.test:
        Use short filenames for sockets (portability problem on Mac OS X)
      mysql-test/t/show_check.test:
        Move ISAM specific tests to isam.test
      mysql-test/t/status.test:
        Cleanup of tests for embedded version
      mysql-test/t/tablelock.test:
        Cleanup
      mysys/Makefile.am:
        Removed not used mf_pack2.c
      mysys/charset.c:
        new convert_dirname
      mysys/default.c:
        new convert_dirname
      mysys/mf_dirname.c:
        Changed convert_dirname() to be more general
      mysys/mf_format.c:
        Changed bit flags to fn_format() to defines.
        Added handling of relative filenames
      BitKeeper/etc/ignore:
        Added libmysqld/examples/test-gdbinit scripts/mysql_explain_log to the ignore list
      mysys/mf_pack.c:
        new convert_dirname
      mysys/mf_tempfile.c:
        new convert_dirname
      scripts/Makefile.am:
        Adde mysql_explain_log
      scripts/mysql_config.sh:
        Added support of --libmysqld-libs
      sql/Makefile.am:
        Fix to use 'innodb_system_libs'
      sql/ha_innobase.cc:
        Make InnoDB startup/shutdown silent in embedded version
      sql/ha_isam.cc:
        Added handling of HAVE_ISAM
      sql/ha_isammrg.cc:
        Added handling of HAVE_ISAM
      sql/ha_myisam.cc:
        Handle relative paths;  Needed to support BACKUP TABLE in embedded version
      sql/ha_myisammrg.cc:
        Rename of filenames
      sql/handler.cc:
        Added handling of HAVE_ISAM
      sql/item_func.cc:
        Fix for ecc (Intel Compiler)
      sql/mysql_priv.h:
        Added global variable 'mysql_embedded'
      sql/mysqld.cc:
        Use HAVE_ISAM
      sql/sql_parse.cc:
        Use new convert_dirname
      sql/sql_select.cc:
        Fix for ecc (Intel Compiler)
      sql/sql_table.cc:
        Added handling of relative filenames
      strings/Makefile.am:
        Don't compile both assembler and C functions on x86
      strings/bchange.c:
        cleanup
      6a8bf9ae
  34. 27 Sep, 2001 1 commit
    • unknown's avatar
      Final fixes for INSERT into MERGE tables. · d3bc2e0c
      unknown authored
      Move MAX_BLOB_WIDTH to be global
      Added full support for unsigned BIGINT
      Fixed spelling errors
      
      
      BUILD/compile-pentium-debug-max:
        Don't use openssl by default
      Docs/manual.texi:
        Cleanup of MERGE tables, Access usage and UDF functions
      acinclude.m4:
        Cleanup ssl usage
      configure.in:
        Added message when using --with-tools
      include/mysql_com.h:
        Move MAX_BLOB_WIDTH to be global
      myisammrg/myrg_create.c:
        Fix problem with MERGE TABLES and INSERT
      myisammrg/myrg_static.c:
        Fix problem with MERGE TABLES and INSERT
      mysql-test/r/bigint.result:
        Added test of unsigned BIGINT
      mysql-test/r/merge.result:
        Tests for INSERT
      mysql-test/r/type_ranges.result:
        Fixed tests for unsigned bigint
      mysql-test/t/bigint.test:
        Added test of unsigned BIGINT
      mysql-test/t/merge.test:
        Tests for INSERT
      mysys/typelib.c:
        Cleanup
      sql/field.h:
        Fixed unsigned BIGINT
      sql/ha_berkeley.cc:
        Cleanup
      sql/ha_gemini.cc:
        Cleanup
      sql/ha_myisam.cc:
        Cleanup
      sql/ha_myisammrg.cc:
        Fixed INSERT into MERGE tables
      sql/item.cc:
        Fixed unsigned BIGINT
      sql/item.h:
        Fixed unsigned BIGINT
      sql/item_func.cc:
        Fixed unsigned BIGINT
      sql/item_strfunc.cc:
        Fixed spelling errors
      sql/item_sum.cc:
        Fixed unsigned BIGINT
      sql/item_sum.h:
        Fixed unsigned BIGINT
      sql/mf_iocache.cc:
        Fixed spelling errors
      sql/mysql_priv.h:
        Moved MAX_BLOB_WIDTH to be global
      sql/mysqld.cc:
        Fixed spelling errors
      sql/opt_range.cc:
        Fixed spelling errors
      sql/sql_base.cc:
        Fixed bug in SHOW OPEN TABLES
      sql/sql_insert.cc:
        Fixed spelling errors
      sql/sql_lex.h:
        Fixed spelling errors
      sql/sql_parse.cc:
        Fixed spelling errors
      sql/sql_select.cc:
        Fix for unsigned BIGINT
      sql/structs.h:
        Fixed spelling errors
      sql/time.cc:
        Fixed spelling errors
      sql/unireg.cc:
        Fixed spelling errors
      d3bc2e0c
  35. 22 Sep, 2001 1 commit
    • unknown's avatar
      Added support of INSERT to MERGE tables · 7ed9c12e
      unknown authored
      Fixes for embedded libary and openssl
      
      
      BUILD/compile-pentium-debug-max:
        Added --with-openssl
      acinclude.m4:
        Cleanup
      client/client_priv.h:
        Include mysql_embed.h to remove not used functions in embedded server
      client/mysql.cc:
        Don't use openssl with embedded server
      include/Makefile.am:
        Move mysql_embed.h to 'include' directory
      include/myisammrg.h:
        Added support of INSERT to MERGE tables
      include/mysql.h:
        Fixes for embedded libary and openssl
      include/mysql_com.h:
        Fixes for embedded libary and openssl
      include/mysql_embed.h:
        Fixes for embedded libary and openssl
      include/violite.h:
        Cleanup
      libmysql/libmysql.c:
        Safety
      libmysqld/examples/Makefile.am:
        Fixes for embedded libary and openssl
      libmysqld/lib_sql.cc:
        Fixes for embedded libary and openssl
      libmysqld/lib_vio.c:
        Fixes for embedded libary and openssl
      libmysqld/libmysqld.c:
        Fixes for embedded libary and openssl
      myisammrg/Makefile.am:
        Added support of INSERT to MERGE tables
      myisammrg/myrg_create.c:
        Added support of INSERT to MERGE tables
      myisammrg/myrg_open.c:
        Added support of INSERT to MERGE tables
      myisammrg/myrg_static.c:
        Added support of INSERT to MERGE tables
      mysql-test/t/union.test:
        Portability fix
      sql/Makefile.am:
        Fixes for embedded libary and openssl
      sql/gen_lex_hash.cc:
        Added support of INSERT to MERGE tables
      sql/ha_myisammrg.cc:
        Added support of INSERT to MERGE tables
      sql/handler.h:
        Added support of INSERT to MERGE tables
      sql/mini_client.cc:
        Fixes for embedded libary and openssl
      sql/net_serv.cc:
        Fixes for embedded libary and openssl
      sql/sql_show.cc:
        Cleanup
      Build-tools/Do-all-build-steps:
        Don't build openssl (Need to add proper configure test when to build ssl)
      sql/lex.h:
        Added support of INSERT to MERGE tables
      sql/sql_yacc.yy:
        Fixes for embedded libary and openssl
      7ed9c12e
  36. 29 Aug, 2001 1 commit
    • unknown's avatar
      Test that all MERGE tables comes from the same database · d86adb87
      unknown authored
      Docs/manual.texi:
        Changelog and more documentation about ALTER TABLE
      include/mysqld_error.h:
        New error message
      mysql-test/t/merge.test:
        Test of error conditions
      sql/gen_lex_hash.cc:
        Smaller array
      sql/ha_myisammrg.cc:
        Cleanup
      sql/share/czech/errmsg.txt:
        New message
      sql/share/danish/errmsg.txt:
        New message
      sql/share/dutch/errmsg.txt:
        New message
      sql/share/english/errmsg.txt:
        New message
      sql/share/estonian/errmsg.txt:
        New message
      sql/share/french/errmsg.txt:
        New message
      sql/share/german/errmsg.txt:
        New message
      sql/share/greek/errmsg.txt:
        New message
      sql/share/hungarian/errmsg.txt:
        New message
      sql/share/italian/errmsg.txt:
        New message
      sql/share/japanese/errmsg.txt:
        New message
      sql/share/korean/errmsg.txt:
        New message
      sql/share/norwegian-ny/errmsg.txt:
        New message
      sql/share/norwegian/errmsg.txt:
        New message
      sql/share/polish/errmsg.txt:
        New message
      sql/share/portuguese/errmsg.txt:
        New message
      sql/share/romanian/errmsg.txt:
        New message
      sql/share/russian/errmsg.txt:
        New message
      sql/share/slovak/errmsg.txt:
        New message
      sql/share/spanish/errmsg.txt:
        New message
      sql/share/swedish/errmsg.txt:
        New message
      d86adb87
  37. 10 Aug, 2001 1 commit
    • unknown's avatar
      Fixed bug in ALTER TABLE for MERGE tables · 8700c563
      unknown authored
      Portability fixes
      Fixed problem when giving wrong arguments to myisam_recover
      Fix to remove warnings when using purify
      
      
      BUILD/compile-solaris-sparc-purify:
        Added innodb and berkeleydb to test
      mysql-test/install_test_db.sh:
        Portability fix.
      sql/ha_myisam.cc:
        Fixed problem when giving wrong arguments to myisam_recover
      sql/ha_myisammrg.cc:
        Fixed bug in ALTER TABLE for MERGE tables
      sql/sql_list.h:
        Fix to remove warnings when using purify
      sql/sql_select.cc:
        Fix to remove warnings from purify
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      8700c563
  38. 01 Jun, 2001 1 commit
    • unknown's avatar
      Added support for symlinked tables. · ad6435d2
      unknown authored
      myisamchk: Don't force a repair if the only problem was that the
      open count wasn't correct.
      Added missing error messages.
      
      
      include/my_sys.h:
        Cleanup comments
      libmysql/Makefile.shared:
        Added symlink library.
      myisam/mi_check.c:
        Added support for symlinked tables
      myisam/mi_delete_table.c:
        Added support for symlinked tables
      myisam/mi_open.c:
        Added support for symlinked tables
      myisam/mi_rename.c:
        Added support for symlinked tables
      myisam/myisamchk.c:
        Added support for symlinked tables.
        Don't force a repair if the only problem was that the open count
        wasn't correct.
      pstack/bucomm.c:
        use mkstemp() instead of mytemp()
      sql/ha_myisam.cc:
        Added support for symlinked tables
      sql/ha_myisam.h:
        Added support for symlinked tables
      sql/ha_myisammrg.cc:
        Added support for symlinked tables
      sql/handler.cc:
        Added support for symlinked tables
      sql/handler.h:
        Added support for symlinked tables
      sql/lex.h:
        Added support for symlinked tables
      sql/share/czech/errmsg.txt:
        Added missing error messages
      sql/share/danish/errmsg.txt:
        Added missing error messages
      sql/share/dutch/errmsg.txt:
        Added missing error messages
      sql/share/estonian/errmsg.txt:
        Added missing error messages
      sql/share/french/errmsg.txt:
        Added missing error messages
      sql/share/german/errmsg.txt:
        Added missing error messages
      sql/share/greek/errmsg.txt:
        Added missing error messages
      sql/share/hungarian/errmsg.txt:
        Added missing error messages
      sql/share/italian/errmsg.txt:
        Added missing error messages
      sql/share/japanese/errmsg.txt:
        Added missing error messages
      sql/share/korean/errmsg.txt:
        Added missing error messages
      sql/share/norwegian-ny/errmsg.txt:
        Added missing error messages
      sql/share/norwegian/errmsg.txt:
        Added missing error messages
      sql/share/polish/errmsg.txt:
        Added missing error messages
      sql/share/portuguese/errmsg.txt:
        Added missing error messages
      sql/share/romanian/errmsg.txt:
        Added missing error messages
      sql/share/russian/errmsg.txt:
        Added missing error messages
      sql/share/slovak/errmsg.txt:
        Added missing error messages
      sql/share/spanish/errmsg.txt:
        Added missing error messages
      sql/share/swedish/errmsg.OLD:
        Added missing error messages
      sql/share/swedish/errmsg.txt:
        Added missing error messages
      sql/sql_db.cc:
        Added support for symlinked tables
      sql/sql_parse.cc:
        Added support for symlinked tables
      sql/sql_table.cc:
        Added support for symlinked tables with ALTER TABLE
      sql/sql_yacc.yy:
        Added option to create symlinked tables.
      ad6435d2
  39. 06 Mar, 2001 1 commit
    • unknown's avatar
      Merged some functions and removed some unused client functions. · af297c50
      unknown authored
      Remember UNION for ALTER TABLE
      Added test for if we are supporting transactions.
      Don't allow REPLACE to replace a row when we have generated an auto_increment key
      Fixed bug when using BLOB keys
      Fixed bug in SET @variable=user.
      
      
      Docs/manual.texi:
        Added some examples and moved the Error access denied section to the
        error section.
      client/mysqltest.c:
        Changed to use the new mysql_send_query()
      include/mysql.h:
        Changed mysql_reap_query() to mysql_send_query().
      libmysql/libmysql.c:
        Changed mysql_reap_query() to mysql_send_query()
        Merged some functions and removed some unused functions.
      mysql-test/r/bdb.result:
        New test case
      mysql-test/r/distinct.result:
        New test case
      mysql-test/r/key.result:
        New test case
      mysql-test/r/merge.result:
        New test case
      mysql-test/r/replace.result:
        New test case
      mysql-test/t/bdb.test:
        New test case
      mysql-test/t/key.test:
        New test case
      mysql-test/t/merge.test:
        New test case
      mysql-test/t/replace.test:
        New test case
      mysys/my_lock.c:
        Moved global lock variable to static
      sql-bench/test-insert.sh:
        Added test case for index-read only
      sql/field.h:
        Fixed that one can optimize ORDER BY with ISAM and GEMINI
      sql/ha_berkeley.cc:
        Added type casts needed for Windows
      sql/ha_innobase.cc:
        Removed reference to manual from comment.
      sql/ha_myisammrg.cc:
        Remember UNION for ALTER TABLE
      sql/ha_myisammrg.h:
        Remember UNION for ALTER TABLE
      sql/handler.cc:
        Added test for if we are supporting transactions.
        Don't allow REPLACE to replace a row when we have generated an auto_increment key.
      sql/handler.h:
        Remember UNION for ALTER TABLE
      sql/key.cc:
        Fixed bug when using BLOB keys
      sql/mysql_priv.h:
        Added new variables
      sql/mysqld.cc:
        Added new variables
      sql/opt_range.cc:
        Fixed problem with BLOB keys
      sql/opt_sum.cc:
        Fix for BLOB keys
      sql/sql_class.cc:
        Added test if we need to init/clean transaction variables
      sql/sql_insert.cc:
        Fix for REPLACE and auto_increment keys
      sql/sql_parse.cc:
        Fixed bug in max_user_connections
      sql/sql_select.cc:
        Fixed problem with key on BLOB
      sql/sql_yacc.yy:
        Fixed bug in SET @variable=user.
      sql/table.cc:
        Fixed problem with keys on BLOB
      af297c50
  40. 17 Feb, 2001 1 commit
    • unknown's avatar
      Write UNION() for MERGE tables · a33af54d
      unknown authored
      Docs/manual.texi:
        Clearify when logging is done
      myisam/myisamchk.c:
        Better error message
      mysql-test/r/merge.result:
        Added test for SHOW CREATE on MERGE table
      scripts/safe_mysqld.sh:
        Search by default in database directory
      sql/ha_myisammrg.h:
        Add UNION() to SHOW CREATE TABLE
      sql/sql_update.cc:
        removed compiler warning
      a33af54d