An error occurred fetching the project authors.
  1. 27 Aug, 2004 1 commit
  2. 23 Aug, 2004 1 commit
    • unknown's avatar
      Fixed uninitialized variable · 7d4ad390
      unknown authored
      Fixed error messages
      
      
      sql/share/czech/errmsg.txt:
        Fixed error message to us long
      sql/share/danish/errmsg.txt:
        Fixed error message to us long
      sql/share/dutch/errmsg.txt:
        Fixed error message to us long
      sql/share/english/errmsg.txt:
        Fixed error message to us long
      sql/share/estonian/errmsg.txt:
        Fixed error message to us long
      sql/share/french/errmsg.txt:
        Fixed error message to us long
      sql/share/german/errmsg.txt:
        Fixed error message to us long
      sql/share/greek/errmsg.txt:
        Fixed error message to us long
      sql/share/hungarian/errmsg.txt:
        Fixed error message to us long
      sql/share/italian/errmsg.txt:
        Fixed error message to us long
      sql/share/japanese/errmsg.txt:
        Fixed error message to us long
      sql/share/korean/errmsg.txt:
        Fixed error message to us long
      sql/share/norwegian-ny/errmsg.txt:
        Fixed error message to us long
      sql/share/norwegian/errmsg.txt:
        Fixed error message to us long
      sql/share/polish/errmsg.txt:
        Fixed error message to us long
      sql/share/portuguese/errmsg.txt:
        Fixed error message to us long
      sql/share/romanian/errmsg.txt:
        Fixed error message to us long
      sql/share/russian/errmsg.txt:
        Fixed error message to us long
      sql/share/serbian/errmsg.txt:
        Fixed error message to us long
      sql/share/slovak/errmsg.txt:
        Fixed error message to us long
      sql/share/spanish/errmsg.txt:
        Fixed error message to us long
      sql/share/swedish/errmsg.txt:
        Fixed error message to us long
      sql/share/ukrainian/errmsg.txt:
        Fixed error message to us long
      sql/sql_table.cc:
        Fixed uninitialized variable
      7d4ad390
  3. 04 Aug, 2004 1 commit
    • unknown's avatar
      Print MYSQL_COMPILATION_COMMENT after ER_READY on server startup · 03daa16a
      unknown authored
      sql/share/czech/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/danish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/dutch/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/english/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/estonian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/french/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/german/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/greek/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/hungarian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/japanese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/korean/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian-ny/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/polish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/portuguese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/romanian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/russian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/slovak/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/spanish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/swedish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/ukrainian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      03daa16a
  4. 21 Jul, 2004 1 commit
    • unknown's avatar
      Final patch for WL#1600(warn if max_allowed_packet used) · 8df1bf6b
      unknown authored
      mysql-test/r/func_str.result:
        test fixed
      mysql-test/r/packet.result:
        test fixed
      sql/item_geofunc.cc:
        error message fixed
      sql/item_strfunc.cc:
        error message fixed
      sql/share/czech/errmsg.txt:
        error message fixed
      sql/share/danish/errmsg.txt:
        error message fixed
      sql/share/dutch/errmsg.txt:
        error message fixed
      sql/share/english/errmsg.txt:
        error message fixed
      sql/share/estonian/errmsg.txt:
        error message fixed
      sql/share/french/errmsg.txt:
        error message fixed
      sql/share/german/errmsg.txt:
        error message fixed
      sql/share/greek/errmsg.txt:
        error message fixed
      sql/share/hungarian/errmsg.txt:
        error message fixed
      sql/share/italian/errmsg.txt:
        error message fixed
      sql/share/japanese/errmsg.txt:
        error message fixed
      sql/share/korean/errmsg.txt:
        error message fixed
      sql/share/norwegian-ny/errmsg.txt:
        error message fixed
      sql/share/norwegian/errmsg.txt:
        error message fixed
      sql/share/polish/errmsg.txt:
        error message fixed
      sql/share/portuguese/errmsg.txt:
        error message fixed
      sql/share/romanian/errmsg.txt:
        error message fixed
      sql/share/russian/errmsg.txt:
        error message fixed
      sql/share/serbian/errmsg.txt:
        error message fixed
      sql/share/slovak/errmsg.txt:
        error message fixed
      sql/share/spanish/errmsg.txt:
        error message fixed
      sql/share/swedish/errmsg.txt:
        error message fixed
      sql/share/ukrainian/errmsg.txt:
        error message fixed
      8df1bf6b
  5. 07 Jul, 2004 1 commit
  6. 29 Jun, 2004 1 commit
    • unknown's avatar
      WL#1600 (Warn if result is truncatet due to max_allowed_packet) · 58bdba57
      unknown authored
      include/mysqld_error.h:
        Warning added
      mysql-test/r/func_str.result:
        test result fixed
      mysql-test/r/packet.result:
        test resut fixed
      sql/item_geofunc.cc:
        warning issued
      sql/item_strfunc.cc:
        warning issued
      sql/share/czech/errmsg.txt:
        Warning added
      sql/share/danish/errmsg.txt:
        Warning added
      sql/share/dutch/errmsg.txt:
        Warning added
      sql/share/english/errmsg.txt:
        Warning added
      sql/share/estonian/errmsg.txt:
        Warning added
      sql/share/french/errmsg.txt:
        Warning added
      sql/share/german/errmsg.txt:
        Warning added
      sql/share/greek/errmsg.txt:
        Warning added
      sql/share/hungarian/errmsg.txt:
        Warning added
      sql/share/italian/errmsg.txt:
        Warning added
      sql/share/japanese/errmsg.txt:
        Warning added
      sql/share/korean/errmsg.txt:
        Warning added
      sql/share/norwegian-ny/errmsg.txt:
        Warning added
      sql/share/norwegian/errmsg.txt:
        Warning added
      sql/share/polish/errmsg.txt:
        Warning added
      sql/share/portuguese/errmsg.txt:
        Warning added
      sql/share/romanian/errmsg.txt:
        Warning added
      sql/share/russian/errmsg.txt:
        Warning added
      sql/share/serbian/errmsg.txt:
        Warning added
      sql/share/slovak/errmsg.txt:
        Warning added
      sql/share/spanish/errmsg.txt:
        Warning added
      sql/share/swedish/errmsg.txt:
        Warning added
      sql/share/ukrainian/errmsg.txt:
        Warning added
      58bdba57
  7. 18 Jun, 2004 1 commit
    • unknown's avatar
      WL#1264 "Per-thread time zone support infrastructure". · 6aaccbcb
      unknown authored
      Added basic per-thread time zone functionality (based on public
      domain elsie-code). Now user can select current time zone
      (from the list of time zones described in system tables).
      All NOW-like functions honor this time zone, values of TIMESTAMP
      type are interpreted as values in this time zone, so now
      our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
      LOCAL TIME ZONE (or proper PostgresSQL type).
        
      WL#1266 "CONVERT_TZ() - basic time with time zone conversion 
      function".
        
      Fixed problems described in Bug #2336 (Different number of warnings 
      when inserting bad datetime as string or as number). This required
      reworking of datetime realted warning hadling (they now generated 
      at Field object level not in conversion functions).
        
      Optimization: Now Field class descendants use table->in_use member
      instead of current_thd macro.
      
      
      include/my_global.h:
        Added macro for reading of 32-bit ints stored in network order from
        unaligned memory location.
      include/mysqld_error.h:
        Added error-code for invalid timestamp warning and error-code
        for wrong or unknown time zone specification.
      libmysqld/Makefile.am:
        Added main per-thread time zone support file to libmysqld
      libmysqld/lib_sql.cc:
        Added initialization of time zones infrastructure to embedded server.
      mysql-test/r/connect.result:
        Updated test result since now mysql database contains more
        system tables.
      mysql-test/r/date_formats.result:
        Now when truncation occurs during conversion to datetime value we are producing Warnings 
        instead of Notes. Also we are giving more clear warnings about this in some cases.
      mysql-test/r/func_sapdb.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/func_time.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/select.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling. Also tweaked test a bit to made it less ambigious for reader.
      mysql-test/r/system_mysql_db.result:
        Updated test result because new system tables holding time zone descriptions were 
        added.
      mysql-test/r/timezone.result:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/r/type_datetime.result:
        Separated and extended test of values and warnings produced for bad values stored in 
        DATETTIME fields.
      mysql-test/r/type_time.result:
        Now we are producing more consistent warning when we are truncating datetime value while
        storing it in TIME field.
      mysql-test/r/type_timestamp.result:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      mysql-test/t/select.test:
        Updated test to make it less ambigous for reader.
      mysql-test/t/timezone.test:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/t/type_datetime.test:
        Separated and extended test of values and warnings produced for bad
        values stored in DATETTIME fields.
      mysql-test/t/type_timestamp.test:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      scripts/mysql_create_system_tables.sh:
        Added creation of tables with time zone descriptions.
        Also added descriptions of time zones used in tests.
      scripts/mysql_fix_privilege_tables.sql:
        Added mysql.time_zone* tables family.
      sql/Makefile.am:
        Added files implementing time zone support to server, also added
        rules for building of mysql_tzinfo_to_sql converter and test_time
        test.
      sql/field.cc:
        Now we are using per-thread time zone for TIMESTAMP <-> whatever conversion.
        Fixed generation of warnings for datetime types (DATETIME/TIMESTAMP/DATE/...) and
        any other Field to datetime conversion (now we are generating warnings no in lower
        level functions like in str_to_TIME() but in Field methods. This allows generate
        better and more consistent warnings and to reuse code of str_to_TIME() outside of
        server).
        
        Added 3rd parameter to set_warning() method to be able to not increment cut fields
        but still produce a warning. Also added set_datetime_warning() family of auxiliary 
        methods which allow easier generate datetime related warnings.
        Also replaced occurences of current_thd with table->in_use member, added
        asserts for catching all places there we need to set table->in_use
        accordingly. Renamed fix_datetime() function to number_to_TIME() and
        moved it to sql/time.cc there it fits better.
      sql/field.h:
        Added comment about places where we can use table->in_use member
        instead of current_thd.
        Added 3rd parameter to Field::set_warning() method and set_datetime_warning()
        family of methods.
      sql/field_conv.cc:
        Field::set_warning() method with 2 arguments was replaced with more 
        generic set_warning() method with 3 arguments.
      sql/ha_berkeley.cc:
        Now we set table->in_use for temporary tables so we have to use
        table->tmp_table for checking if table is temporary.
      sql/item.cc:
        Replaced calls to str_to_time() and str_to_TIME() funcs with their warning
        generating analogs.
      sql/item_create.cc:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_create.h:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_timefunc.cc:
        Added support of per-thread time zone to NOW-like and FROM_UNIXTIME,
        UNIX_TIMESTAMP functions. 
        Added support for CONVERT_TZ function.
        Removed call to str_to_timestamp function which caused non-optimal
        behavior in certain cases. Replaced calls to str_to_time() function 
        with its warning generating analog.
      sql/item_timefunc.h:
        Added support of per-thread time zone to NOW-like and
        FROM_UNIXTIME, UNIX_TIMESTAMP functions.
        Added support of CONVERT_TZ function.
      sql/lex.h:
        Added support of CONVERT_TZ function.
      sql/log.cc:
        Added support for replication of statements depending on time zone.
      sql/mysql_priv.h:
        Now including headers with per-thread time zone support functions
        and classes. Added portable replacement of time_t - my_time_t type. 
        Added time zone as one of query distinguishing parameters for
        query cache. 
        Fixed declarations of str_to_TIME, str_to_time and 
        my_system_gmt_sec (former my_gmt_sec) since now they have one more
        out parameter which informs about wrong datetime value or data 
        truncation during conversion.
        Added warning generating version of str_to_TIME() and str_to_time()
        functions.
        Thrown away str_to_datetime/timestamp functions since they are not
        needed any longer. Added number_to_TIME function.
      sql/mysqld.cc:
        Added per-thread time zone support initialization.
        Added new startup parameter --default-time-zone.
      sql/set_var.cc:
        Added support for per-thread time_zone variable.
        Renamed old timezone variable to system_time_zone.
      sql/set_var.h:
        Added support for per-thread time_zone variable.
      sql/share/czech/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/danish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/dutch/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/english/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/estonian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/french/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/german/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/greek/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/hungarian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/italian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/japanese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/korean/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian-ny/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/polish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/portuguese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/romanian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/russian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/serbian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/slovak/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/spanish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/swedish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/ukrainian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/slave.cc:
        In order to support replication of statements using time zones in 4.1 we should 
        ensure that both master and slave have same default time zone.
      sql/sql_base.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_cache.cc:
        Added time zone as one more query distinguishing parameter
        for query cache.
      sql/sql_class.cc:
        Added THD::time_zone_used variable indicating that this query
        uses per thread time zone.
      sql/sql_class.h:
        Added per-thread time zone variable. Added THD::time_zone_used
        variable indicating that this query uses per thread time zone
        so if this is updating query the time zone should be logged to 
        binlog.
      sql/sql_insert.cc:
        We should set TABLE::in_use member pointing to thread which is called
        INSERT DELAYED and not to worker thread.
      sql/sql_load.cc:
        Field::set_warning() now has one more argument now.
      sql/sql_parse.cc:
        Resetting THD::time_zone_used variable in the end of query
        processing.
      sql/sql_select.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_show.cc:
        Now using per thread time zone for extended show tables.
      sql/time.cc:
        Added support for per-thread time zones for TIMESTAMP type and
        reworked generation of warnings for TIMESTAMP and DATETIME types.
        (Introduced new TIME_to_timestamp() function. Removed hours 
        normalisation from former my_gmt_sec() since it was not working 
        and not used anywhere now, but breaks parameter constness, added
        to this function generation of warning if we are falling in spring 
        time-gap. Removed str_to_timestamp and str_to_datetime functions 
        which are no longer used. Moved fix_datetime function from
        sql/field.cc to this file as number_to_TIME() function. Added
        out parameter for str_to_TIME and str_to_time functions which
        indicates if value was truncated during conversion, removed direct 
        generation of warnings from this functions.)
      sql/unireg.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
          calls to Field::store or val_ methods).
      BitKeeper/etc/ignore:
        Added sql/test_time sql/mysql_tzinfo_to_sql libmysqld/tztime.cc to the ignore list
      6aaccbcb
  8. 16 Jun, 2004 2 commits
  9. 15 Jun, 2004 1 commit
  10. 21 May, 2004 1 commit
    • unknown's avatar
      WL#1622 "SQL Syntax for Prepared Statements": Post-review fixes (1 of 2) · e7710af7
      unknown authored
      mysql-test/r/ps.result:
        Added tests for PREPARE stmt1 FROM @var syntax
      mysql-test/t/ps.test:
        Added tests for PREPARE stmt1 FROM @var syntax
      mysys/my_error.c:
        Added support for "%.*s" format
      sql/item.cc:
        Removed one redundant Item_param::set_value function
      sql/item.h:
        Removed one redundant Item_param::set_value function
      sql/mysqld.cc:
        Reformmated the code
      sql/share/czech/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/dutch/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/english/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/estonian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/french/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/german/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/greek/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/hungarian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/italian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/japanese/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/korean/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/norwegian-ny/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/norwegian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/polish/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/portuguese/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/romanian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/russian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/slovak/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/spanish/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/swedish/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/share/ukrainian/errmsg.txt:
        Changed ER_UNKNOWN_STMT_HANDLER format string
      sql/sql_class.h:
        SQL Prepared statements now can't be used by binary protocol commands
      sql/sql_lex.h:
        Added support for PREPARE stmt1 FROM @var syntax.
      sql/sql_parse.cc:
        Added support for PREPARE stmt1 FROM @var syntax.
      sql/sql_prepare.cc:
        Code cleanup
      sql/sql_yacc.yy:
        Added support for PREPARE stmt1 FROM @var syntax.
      e7710af7
  11. 13 May, 2004 1 commit
    • unknown's avatar
      WL #1729 Handler: error text for NDB errors · d4399619
      unknown authored
      - New solution after discussions with Sergei, no handler specific code or error messages should be in sql layer.
      next_result, only check for error if check is -1
      Improved index_read 
      
      
      include/mysqld_error.h:
        New error codes ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG, update number to 298.
        Removed prevoius ER_NDB_ERROR, handler specific error should not be here.
      sql/ha_ndbcluster.cc:
        Removed print_error from ha_ndbcluster, added code to handler::print_error to ask  handler::get_error_message for message for an error.
        Fix bug in next_result, only check for error if -1 is returned.
        Make index_read easier, special case where pk_read or unique_index_read is detected and as default do ordered_index_scan
      sql/ha_ndbcluster.h:
        Remplace print_error with get_error_message
      sql/handler.cc:
        Add new function get_error_message usedc to ask handler for a message for an error.
        Call get_error_message from print_error if error code is not known.
      sql/handler.h:
        Add new function get_error_message
      sql/share/czech/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/danish/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/dutch/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/english/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/estonian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/french/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/german/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/greek/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/hungarian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/italian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/korean/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/norwegian-ny/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/norwegian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/polish/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/portuguese/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/romanian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/russian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/serbian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/slovak/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/spanish/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/swedish/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      sql/share/ukrainian/errmsg.txt:
        Error message for ER_GET_ERRMSG and ER_GET_TEMPORARY_ERRMSG
      d4399619
  12. 11 May, 2004 1 commit
    • unknown's avatar
      WL# 1729 Handler: error text for NDB errors · f84be2fd
      unknown authored
      - Close an open scan if index_read is called without closing the previous one.
      - Removed some errors that occured during previous merge
      
      
      include/mysqld_error.h:
        Added two new error messages for NDB
      sql/ha_ndbcluster.cc:
        Added more error code mappings, from NDB code to MySQL 
        Added function to print out the error message when an NDB error occurs.
        Added two new error codes, which will represent either a permanent or temporary NDB error.
        Modev get_ndb_lock_type from class to local function
        Removed some merge errors
        New function close_scan, to close an open scan.
      sql/ha_ndbcluster.h:
        Added print_error function, overrides handler::print_error
        Added close_scan
        Moved get_ndb_lock_type from class to local function
      sql/share/czech/errmsg.txt:
        Added two new error messages for NDB
      sql/share/danish/errmsg.txt:
        Added two new error messages for NDB
      sql/share/dutch/errmsg.txt:
        Added two new error messages for NDB
      sql/share/english/errmsg.txt:
        Added two new error messages for NDB
      sql/share/estonian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/french/errmsg.txt:
        Added two new error messages for NDB
      sql/share/german/errmsg.txt:
        Added two new error messages for NDB
      sql/share/greek/errmsg.txt:
        Added two new error messages for NDB
      sql/share/hungarian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/italian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/japanese/errmsg.txt:
        Added two new error messages for NDB
      sql/share/korean/errmsg.txt:
        Added two new error messages for NDB
      sql/share/norwegian-ny/errmsg.txt:
        Added two new error messages for NDB
      sql/share/norwegian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/polish/errmsg.txt:
        Added two new error messages for NDB
      sql/share/portuguese/errmsg.txt:
        Added two new error messages for NDB
      sql/share/romanian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/russian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/serbian/errmsg.txt:
        Added two new error messages for NDB
      sql/share/slovak/errmsg.txt:
        Added two new error messages for NDB
      sql/share/spanish/errmsg.txt:
        Added two new error messages for NDB
      sql/share/swedish/errmsg.txt:
        Added two new error messages for NDB
      sql/share/ukrainian/errmsg.txt:
        Added two new error messages for NDB
      f84be2fd
  13. 07 Apr, 2004 1 commit
    • unknown's avatar
      new error for unsupported command in PS · c9d856c8
      unknown authored
      fixed IN subselect with basic constant left expression
      SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
      fixed multiupdate privelege check (BUG#3408)
      fixed multiupdate tables check (BUG#3411)
      unchecked commands now is rejected by PS protocol to avoid serever crash
      fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
      
      
      include/mysqld_error.h:
        new error for unsupported command in PS
      mysql-test/r/multi_update.result:
        test sutes (BUG#3408, BUG#3411)
      mysql-test/t/multi_update.test:
        test sutes (BUG#3408, BUG#3411)
      sql/item_cmpfunc.cc:
        fixed IN subselect with basic constant left expression
      sql/mysql_priv.h:
        some function frop sql_parse.h become public
      sql/set_var.cc:
        check for SET command via PS
      sql/set_var.h:
        check for SET command via PS
      sql/share/czech/errmsg.txt:
        new error for unsupported command in PS
      sql/share/danish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/dutch/errmsg.txt:
        new error for unsupported command in PS
      sql/share/english/errmsg.txt:
        new error for unsupported command in PS
      sql/share/estonian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/french/errmsg.txt:
        new error for unsupported command in PS
      sql/share/german/errmsg.txt:
        new error for unsupported command in PS
      sql/share/greek/errmsg.txt:
        new error for unsupported command in PS
      sql/share/hungarian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/italian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/japanese/errmsg.txt:
        new error for unsupported command in PS
      sql/share/korean/errmsg.txt:
        new error for unsupported command in PS
      sql/share/norwegian-ny/errmsg.txt:
        new error for unsupported command in PS
      sql/share/norwegian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/polish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/portuguese/errmsg.txt:
        new error for unsupported command in PS
      sql/share/romanian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/russian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/serbian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/slovak/errmsg.txt:
        new error for unsupported command in PS
      sql/share/spanish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/swedish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/ukrainian/errmsg.txt:
        new error for unsupported command in PS
      sql/sql_lex.cc:
        first table unlincking procedures for CREATE command
      sql/sql_lex.h:
        first table unlincking procedures for CREATE command
      sql/sql_parse.cc:
        used function to exclude first table from list
        SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
        fixed multiupdate privelege check (BUG#3408)
        fixed multiupdate tables check (BUG#3411)
      sql/sql_prepare.cc:
        fixed a lot of commands to be compatible with PS
        unchecked commands now is rejected to avoid serever crash
      sql/sql_select.cc:
        allow empty result for PS preparing
      sql/sql_union.cc:
        fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
      sql/sql_update.cc:
        fixed update to use correct tables lists (BUG#3408)
      sql/table.h:
        flag to support multi update tables check (BUG#3408)
      tests/client_test.c:
        removed unsupported tables
        fixed show table test
        added new tests
      c9d856c8
  14. 03 Apr, 2004 1 commit
  15. 02 Apr, 2004 1 commit
    • unknown's avatar
      WL#1266 "Separate auto-set logic from TIMESTAMP type." · 32b28f92
      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.
      32b28f92
  16. 15 Mar, 2004 1 commit
    • unknown's avatar
      Task #835: additional changes fot str_to_date · afedd9f8
      unknown authored
      include/mysqld_error.h:
        Task #835: additional changes fot str_to_date
        New error message
      mysql-test/r/date_formats.result:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/r/func_sapdb.result:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/r/func_time.result:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/r/type_time.result:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/t/date_formats.test:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/t/func_sapdb.test:
        Task #835: additional changes fot str_to_date
        tests
      mysql-test/t/func_time.test:
        Task #835: additional changes fot str_to_date
        tests
      sql/share/czech/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/danish/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/dutch/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/english/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/estonian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/french/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/german/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/greek/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/hungarian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/italian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/japanese/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/korean/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/norwegian-ny/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/norwegian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/polish/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/portuguese/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/romanian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/russian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/serbian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/slovak/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/spanish/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/swedish/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      sql/share/ukrainian/errmsg.txt:
        Task #835: additional changes fot str_to_date
        New error message
      afedd9f8
  17. 13 Mar, 2004 1 commit
    • unknown's avatar
      fixed bug #1427 "enum allows duplicate values in the list" · 5a67c11c
      unknown authored
      include/mysqld_error.h:
        added ER_DUPLICATED_VALUE_IN_TYPE
      mysql-test/r/create.result:
        added test for bug #1427 "enum allows duplicate values in the list"
      mysql-test/t/create.test:
        added test for bug #1427 "enum allows duplicate values in the list"
      sql/share/czech/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/danish/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/dutch/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/english/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/estonian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/french/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/german/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/greek/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/hungarian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/italian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/japanese/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/korean/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/norwegian-ny/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/norwegian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/polish/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/portuguese/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/romanian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/russian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/serbian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/slovak/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/spanish/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/swedish/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/share/ukrainian/errmsg.txt:
        added message for ER_DUPLICATED_VALUE_IN_TYPE
      sql/sql_table.cc:
        added function check_duplicates_in_interval and 
        calling it from mysql_create_table for enum and set
      5a67c11c
  18. 07 Mar, 2004 1 commit
  19. 02 Mar, 2004 1 commit
  20. 29 Feb, 2004 1 commit
  21. 28 Feb, 2004 1 commit
    • unknown's avatar
      small after-merge fixes (error messages). · 45f39ff1
      unknown authored
      include/mysqld_error.h:
        more generic error code
      mysql-test/r/func_compress.result:
        update after message change
      mysql-test/r/loaddata.result:
        update after message change
      mysql-test/r/warnings.result:
        update after message change
      sql/share/czech/errmsg.txt:
        message change
      sql/share/danish/errmsg.txt:
        message change
      sql/share/dutch/errmsg.txt:
        message change
      sql/share/english/errmsg.txt:
        message change
      sql/share/estonian/errmsg.txt:
        message change
      sql/share/french/errmsg.txt:
        message change
      sql/share/german/errmsg.txt:
        message change
      sql/share/greek/errmsg.txt:
        message change
      sql/share/hungarian/errmsg.txt:
        message change
      sql/share/italian/errmsg.txt:
        message change
      sql/share/japanese/errmsg.txt:
        message change
      sql/share/korean/errmsg.txt:
        message change
      sql/share/norwegian-ny/errmsg.txt:
        message change
      sql/share/norwegian/errmsg.txt:
        message change
      sql/share/polish/errmsg.txt:
        message change
      sql/share/portuguese/errmsg.txt:
        message change
      sql/share/romanian/errmsg.txt:
        message change
      sql/share/russian/errmsg.txt:
        message change
      sql/share/slovak/errmsg.txt:
        message change
      sql/share/spanish/errmsg.txt:
        message change
      sql/share/swedish/errmsg.txt:
        message change
      sql/share/ukrainian/errmsg.txt:
        message change
      45f39ff1
  22. 21 Feb, 2004 1 commit
    • unknown's avatar
      Fix for BUG#2757 · d68c56a4
      unknown authored
      "--read-only gives weird error on update".
      It is not fixable in 4.0 because it requires modifying
      the sql/share/*/errmsg.txt files. So it is fixed in 4.1 like this:
      the ER_SKIP_GRANT_TABLES is replaced by a more generic
      ER_OPTION_PREVENTS_STATEMENT which can be used both for
      "can't do this because of --skip-grant-tables" and
      "can't do this because of --read-only" (for this we don't use
      ER_CANT_UPDATE_WITH_READLOCK anymore).
      So now the message for --read-only is:
      "The MySQL server is running with the --read-only option so
      cannot execute this statement".
      
      
      include/mysqld_error.h:
        more general naming as more general message
      sql/share/czech/errmsg.txt:
        message change
      sql/share/danish/errmsg.txt:
        message change
      sql/share/dutch/errmsg.txt:
        message change
      sql/share/english/errmsg.txt:
        message change
      sql/share/estonian/errmsg.txt:
        message change
      sql/share/french/errmsg.txt:
        message change
      sql/share/german/errmsg.txt:
        message change
      sql/share/greek/errmsg.txt:
        message change
      sql/share/hungarian/errmsg.txt:
        message change
      sql/share/italian/errmsg.txt:
        message change
      sql/share/japanese/errmsg.txt:
        message change
      sql/share/korean/errmsg.txt:
        message change
      sql/share/norwegian-ny/errmsg.txt:
        message change
      sql/share/norwegian/errmsg.txt:
        message change
      sql/share/polish/errmsg.txt:
        message change
      sql/share/portuguese/errmsg.txt:
        message change
      sql/share/romanian/errmsg.txt:
        message change
      sql/share/russian/errmsg.txt:
        message change
      sql/share/serbian/errmsg.txt:
        message change
      sql/share/slovak/errmsg.txt:
        message change
      sql/share/spanish/errmsg.txt:
        message change
      sql/share/swedish/errmsg.txt:
        message change
      sql/share/ukrainian/errmsg.txt:
        message change
      sql/sql_acl.cc:
        Changes to use the more generic ER_OPTION_PREVENTS_STATEMENT
        instead of ER_SKIP_GRANT_TABLES:
        * use of net_printf() instead of send_error() (because send_error()
        does not support printf-like format).
        * in some places we now just do my_error() and return -1
        (only caller is mysql_execute_command() which does send_error()
        if result is -1).
        * Replaced my_printf_error() by simpler my_error() (except in 2 locations
        where there was a "we must use my_printf_error()" comment).
      sql/sql_parse.cc:
        new error code (more generic).
      d68c56a4
  23. 15 Feb, 2004 1 commit
    • unknown's avatar
      no dots in the error messages! · f7f02b48
      unknown authored
      --disable-warning in union.test
      
      
      mysql-test/t/union.test:
        cleanup
      sql/share/czech/errmsg.txt:
        no dots in the error messages!
      sql/share/danish/errmsg.txt:
        no dots in the error messages!
      sql/share/dutch/errmsg.txt:
        no dots in the error messages!
      sql/share/english/errmsg.txt:
        no dots in the error messages!
      sql/share/estonian/errmsg.txt:
        no dots in the error messages!
      sql/share/french/errmsg.txt:
        no dots in the error messages!
      sql/share/german/errmsg.txt:
        no dots in the error messages!
      sql/share/greek/errmsg.txt:
        no dots in the error messages!
      sql/share/hungarian/errmsg.txt:
        no dots in the error messages!
      sql/share/italian/errmsg.txt:
        no dots in the error messages!
      sql/share/japanese/errmsg.txt:
        no dots in the error messages!
      sql/share/korean/errmsg.txt:
        no dots in the error messages!
      sql/share/norwegian-ny/errmsg.txt:
        no dots in the error messages!
      sql/share/norwegian/errmsg.txt:
        no dots in the error messages!
      sql/share/polish/errmsg.txt:
        no dots in the error messages!
      sql/share/portuguese/errmsg.txt:
        no dots in the error messages!
      sql/share/romanian/errmsg.txt:
        no dots in the error messages!
      sql/share/russian/errmsg.txt:
        no dots in the error messages!
      sql/share/serbian/errmsg.txt:
        no dots in the error messages!
      sql/share/slovak/errmsg.txt:
        no dots in the error messages!
      sql/share/spanish/errmsg.txt:
        no dots in the error messages!
      sql/share/swedish/errmsg.txt:
        no dots in the error messages!
      sql/share/ukrainian/errmsg.txt:
        no dots in the error messages!
      f7f02b48
  24. 26 Jan, 2004 1 commit
  25. 23 Jan, 2004 1 commit
  26. 06 Jan, 2004 1 commit
    • unknown's avatar
      Completion of fix for BUG#2121 "Inadequate message "check permissions on master.info"": · a5edde88
      unknown authored
      I had not corrected these languages.
      As it has been discussed with the docs team, the new messages will be merged
      to 4.1, and then will be translated in 4.1 (they will remain in English
      in 4.0).
      
      
      sql/share/danish/errmsg.txt:
        better error message
      sql/share/dutch/errmsg.txt:
        better error message
      sql/share/german/errmsg.txt:
        better error message
      sql/share/italian/errmsg.txt:
        better error message
      sql/share/portuguese/errmsg.txt:
        better error message
      sql/share/russian/errmsg.txt:
        better error message
      sql/share/spanish/errmsg.txt:
        better error message
      sql/share/swedish/errmsg.txt:
        better error message
      sql/share/ukrainian/errmsg.txt:
        better error message
      a5edde88
  27. 04 Jan, 2004 1 commit
    • unknown's avatar
      allow UPDATE and DELETE stetements with tables derived from subquery if they... · fbf563e8
      unknown authored
      allow UPDATE and DELETE stetements with tables derived from subquery if they are not updated (BUG#2117)
      allow delete table by alias in multi-delete statement
      
      
      
      include/mysqld_error.h:
        new error message about non-updateable table
      mysql-test/r/derived.result:
        test of multi-update and multi-delete
      mysql-test/t/derived.test:
        test of multi-update and multi-delete
      sql/share/czech/errmsg.txt:
        new error message about non-updateable table
      sql/share/danish/errmsg.txt:
        new error message about non-updateable table
      sql/share/dutch/errmsg.txt:
        new error message about non-updateable table
      sql/share/english/errmsg.txt:
        new error message about non-updateable table
      sql/share/estonian/errmsg.txt:
        new error message about non-updateable table
      sql/share/french/errmsg.txt:
        new error message about non-updateable table
      sql/share/german/errmsg.txt:
        new error message about non-updateable table
      sql/share/greek/errmsg.txt:
        new error message about non-updateable table
      sql/share/hungarian/errmsg.txt:
        new error message about non-updateable table
      sql/share/italian/errmsg.txt:
        new error message about non-updateable table
      sql/share/japanese/errmsg.txt:
        new error message about non-updateable table
      sql/share/korean/errmsg.txt:
        new error message about non-updateable table
      sql/share/norwegian-ny/errmsg.txt:
        new error message about non-updateable table
      sql/share/norwegian/errmsg.txt:
        new error message about non-updateable table
      sql/share/polish/errmsg.txt:
        new error message about non-updateable table
      sql/share/portuguese/errmsg.txt:
        new error message about non-updateable table
      sql/share/romanian/errmsg.txt:
        new error message about non-updateable table
      sql/share/russian/errmsg.txt:
        new error message about non-updateable table
      sql/share/serbian/errmsg.txt:
        new error message about non-updateable table
      sql/share/slovak/errmsg.txt:
        new error message about non-updateable table
      sql/share/spanish/errmsg.txt:
        new error message about non-updateable table
      sql/share/swedish/errmsg.txt:
        new error message about non-updateable table
      sql/share/ukrainian/errmsg.txt:
        new error message about non-updateable table
      sql/sql_parse.cc:
        allow delete table by alias
        separate error message for try to delete derived table
      sql/sql_update.cc:
        test "is updated table derived?"
      sql/sql_yacc.yy:
        error message in case of try to update derived table
      fbf563e8
  28. 23 Dec, 2003 1 commit
  29. 17 Dec, 2003 1 commit
    • unknown's avatar
      added error message for receiving variable with wrong GLOBAL|LOCAL type · d6be93aa
      unknown authored
      (bug #2086)
      
      
      include/mysqld_error.h:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      mysql-test/r/variables.result:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      mysql-test/t/variables.test:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/set_var.cc:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/czech/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/danish/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/dutch/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/english/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/estonian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/french/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/german/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/greek/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/hungarian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/italian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/japanese/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/korean/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/norwegian-ny/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/norwegian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/polish/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/portuguese/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/romanian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/russian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/slovak/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/spanish/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/swedish/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      sql/share/ukrainian/errmsg.txt:
        added error message for receiving variable with wrong GLOBAL|LOCAL type
      d6be93aa
  30. 13 Dec, 2003 1 commit
  31. 10 Dec, 2003 1 commit
    • unknown's avatar
      WorkLog#1323 · 80ec8079
      unknown authored
      Deprecate the use of TYPE=... Preferred syntax is ENGINE=
      
      
      include/mysqld_error.h:
        New warning for deprecated syntax
      sql/lex.h:
        Introduce ENGINE keyword
        Sort order of symbols
      sql/share/czech/errmsg.txt:
        New warning for deprecated syntax
      sql/share/danish/errmsg.txt:
        New warning for deprecated syntax
      sql/share/dutch/errmsg.txt:
        New warning for deprecated syntax
      sql/share/english/errmsg.txt:
        New warning for deprecated syntax
      sql/share/estonian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/french/errmsg.txt:
        New warning for deprecated syntax
      sql/share/german/errmsg.txt:
        New warning for deprecated syntax
      sql/share/greek/errmsg.txt:
        New warning for deprecated syntax
      sql/share/hungarian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/italian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/japanese/errmsg.txt:
        New warning for deprecated syntax
      sql/share/korean/errmsg.txt:
        New warning for deprecated syntax
      sql/share/norwegian-ny/errmsg.txt:
        New warning for deprecated syntax
      sql/share/norwegian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/polish/errmsg.txt:
        New warning for deprecated syntax
      sql/share/portuguese/errmsg.txt:
        New warning for deprecated syntax
      sql/share/romanian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/russian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/serbian/errmsg.txt:
        New warning for deprecated syntax
      sql/share/slovak/errmsg.txt:
        New warning for deprecated syntax
      sql/share/spanish/errmsg.txt:
        New warning for deprecated syntax
      sql/share/swedish/errmsg.txt:
        New warning for deprecated syntax
      sql/share/ukrainian/errmsg.txt:
        New warning for deprecated syntax
      sql/sql_show.cc:
        Change TYPE= with ENGINE=
      sql/sql_yacc.yy:
        Introduce ENGINE keyword,
        Deprecate TYPE= syntax,
        Introduce SHOW ENGINE syntax,
        Deprecate SHOW INNODB/BDB syntax.
      mysql-test/r/alias.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/alter_table.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/auto_increment.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/bdb-alter-table-1.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/bdb-crash.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/bdb-deadlock.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/bdb.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/bdb_cache.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/case.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/cast.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/constraints.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/create.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_collate.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_latin1_de.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_many.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_mb.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_recoding.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/ctype_ucs.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/delete.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/distinct.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/fulltext.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/fulltext2.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/fulltext_distinct.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/fulltext_left_join.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_compress.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_date_add.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_group.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_if.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_str.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_system.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_test.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/func_time.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/gis-rtree.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/group_by.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/handler.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/heap.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/heap_auto_increment.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/heap_btree.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/heap_hash.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/help.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/innodb-deadlock.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/innodb.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/innodb_cache.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/innodb_handler.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/insert_select.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/isam.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/join.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/join_crash.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/join_outer.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/key.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/lock.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/lock_tables_lost_commit.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/merge.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/multi_update.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/myisam.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/null.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/null_key.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/order_by.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/query_cache.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/range.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/repair_part1.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/replace.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/rollback.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/rpl000006.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/rpl_flush_tables.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/rpl_insert_id.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/rpl_relayrotate.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/select.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/select_found.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/show_check.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/sql_mode.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/status.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/subselect.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/subselect2.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/subselect_innodb.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/symlink.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/temp_table.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/type_blob.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/type_datetime.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/type_enum.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/type_nchar.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/type_set.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/union.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/update.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/r/warnings.result:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/alias.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/alter_table.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/auto_increment.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/bdb-alter-table-1.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/bdb-crash.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/bdb-deadlock.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/bdb.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/bdb_cache.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/create.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/ctype_ucs.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/delete.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/distinct.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/fulltext.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/fulltext2.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/fulltext_distinct.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/fulltext_left_join.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_compress.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_date_add.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_group.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_if.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_str.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_test.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/func_time.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/gis-rtree.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/group_by.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/handler.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/heap.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/heap_auto_increment.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/heap_btree.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/heap_hash.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/help.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/innodb-deadlock.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/innodb.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/innodb_cache.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/innodb_handler.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/insert_select.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/isam.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/join.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/join_crash.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/join_outer.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/key.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/lock.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/lock_tables_lost_commit.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/merge.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/multi_update.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/myisam.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/null.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/null_key.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/order_by.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/outfile.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/query_cache.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/query_cache_merge.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/range.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/repair_part1.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/replace.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/rollback.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/rpl000006.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/rpl_flush_tables.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/rpl_insert_id.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/rpl_relayrotate.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/select.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/select_found.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/show_check.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/sql_mode.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/status.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/subselect.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/subselect2.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/subselect_innodb.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/symlink.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/temp_table.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/type_datetime.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/type_set.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/union.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/update.test:
        Change occurances of TYPE= to ENGINE=
      mysql-test/t/warnings.test:
        Change occurances of TYPE= to ENGINE=
        New test for deprecated syntax
      80ec8079
  32. 08 Dec, 2003 1 commit
    • unknown's avatar
      Portability fixes for Windows · e505696f
      unknown authored
      VC++Files/client/mysqlclient.dsp:
        Update for windows
      VC++Files/libmysql/libmysql.dsp:
        Update for windows
      VC++Files/strings/strings.dsp:
        Update for windows
      libmysqld/lib_sql.cc:
        Update for windows
      scripts/make_win_src_distribution.sh:
        Update for windows
      scripts/mysql_install_db.sh:
        Update for windows
      sql/mysqld.cc:
        Remove not used variable
      sql/set_var.cc:
        Indentation cleanups
      sql/share/czech/errmsg.txt:
        Fixed wrong delimiters
      sql/share/danish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/dutch/errmsg.txt:
        Fixed wrong delimiters
      sql/share/english/errmsg.txt:
        Fixed wrong delimiters
      sql/share/estonian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/french/errmsg.txt:
        Fixed wrong delimiters
      sql/share/greek/errmsg.txt:
        Fixed wrong delimiters
      sql/share/hungarian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/italian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/japanese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/korean/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian-ny/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/polish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/portuguese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/romanian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/russian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/serbian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/slovak/errmsg.txt:
        Fixed wrong delimiters
      sql/share/spanish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/swedish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/ukrainian/errmsg.txt:
        Fixed wrong delimiters
      sql/sql_acl.cc:
        Removed compiler warnings
      strings/ctype-big5.c:
        Removed compiler warnings (VC++)
      strings/ctype-euc_kr.c:
        Removed compiler warnings (VC++)
      strings/ctype-gb2312.c:
        Removed compiler warnings (VC++)
      strings/ctype-gbk.c:
        Removed compiler warnings (VC++)
      strings/ctype-sjis.c:
        Removed compiler warnings (VC++)
      strings/ctype-ucs2.c:
        Removed compiler warnings (VC++)
      strings/ctype-ujis.c:
        Removed compiler warnings (VC++)
      e505696f
  33. 02 Dec, 2003 1 commit
    • unknown's avatar
      WorkLog#1280 - Remove fixed table handler from lex/yacc · c74c90ee
      unknown authored
      include/mysqld_error.h:
        New error message: unknown table engine
      mysql-test/r/create.result:
        New error message: unknown table engine
      mysql-test/t/create.test:
        New error message: unknown table engine
      sql/lex.h:
        Remove some keywords: HEAP, ISAM, MERGE, MEMORY, MRG_MYISAM, MYISAM
      sql/mysql_priv.h:
        Remove unused symbol
      sql/set_var.h:
        New system variable type: sys_var_thd_table_type
      sql/sql_yacc.yy:
        Remove tokens and make table_types resolve at run time
      sql/sql_show.cc:
        Tidy up
      sql/sql_table.cc:
        Tidy up
      include/sql_state.h:
        Fix indent
      sql/mysqld.cc:
        optimize
      mysql-test/r/rpl_change_master.result:
        It wouldn't pass the tests
      mysql-test/r/variables.result:
        Fix for changes
      mysql-test/r/warnings.result:
        Fix for changes
      mysql-test/t/variables.test:
        Fix for changes
      sql/handler.h:
        parameter is a const
      sql/set_var.cc:
        Code clean up for sys_var_thd_table_type::check()
      sql/handler.cc:
        More tidyup
      sql/share/czech/errmsg.txt:
        Fixups during review
      sql/share/danish/errmsg.txt:
        Fixups during review
      sql/share/dutch/errmsg.txt:
        Fixups during review
      sql/share/english/errmsg.txt:
        Fixups during review
      sql/share/estonian/errmsg.txt:
        Fixups during review
      sql/share/french/errmsg.txt:
        Fixups during review
      sql/share/german/errmsg.txt:
        Fixups during review
      sql/share/greek/errmsg.txt:
        Fixups during review
      sql/share/hungarian/errmsg.txt:
        Fixups during review
      sql/share/italian/errmsg.txt:
        Fixups during review
      sql/share/japanese/errmsg.txt:
        Fixups during review
      sql/share/korean/errmsg.txt:
        Fixups during review
      sql/share/norwegian-ny/errmsg.txt:
        Fixups during review
      sql/share/norwegian/errmsg.txt:
        Fixups during review
      sql/share/polish/errmsg.txt:
        Fixups during review
      sql/share/portuguese/errmsg.txt:
        Fixups during review
      sql/share/romanian/errmsg.txt:
        Fixups during review
      sql/share/russian/errmsg.txt:
        Fixups during review
      sql/share/serbian/errmsg.txt:
        Fixups during review
      sql/share/slovak/errmsg.txt:
        Fixups during review
      sql/share/spanish/errmsg.txt:
        Fixups during review
      sql/share/swedish/errmsg.txt:
        Fixups during review
      sql/share/ukrainian/errmsg.txt:
        Fixups during review
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c74c90ee
  34. 26 Nov, 2003 1 commit
    • unknown's avatar
      SCRUM · 6943b323
      unknown authored
      WL#1284 (warnings about --skip-name-resolve)
      Messages corrected
      
      
      sql/share/czech/errmsg.txt:
        Message corrected
      sql/share/danish/errmsg.txt:
        Message corrected
      sql/share/dutch/errmsg.txt:
        Message corrected
      sql/share/english/errmsg.txt:
        Message corrected
      sql/share/estonian/errmsg.txt:
        Message corrected
      sql/share/french/errmsg.txt:
        Message corrected
      sql/share/german/errmsg.txt:
        Message corrected
      sql/share/greek/errmsg.txt:
        Message corrected
      sql/share/hungarian/errmsg.txt:
        Message corrected
      sql/share/italian/errmsg.txt:
        Message corrected
      sql/share/japanese/errmsg.txt:
        Message corrected
      sql/share/korean/errmsg.txt:
        Message corrected
      sql/share/norwegian-ny/errmsg.txt:
        Message corrected
      sql/share/norwegian/errmsg.txt:
        Message corrected
      sql/share/polish/errmsg.txt:
        Message corrected
      sql/share/portuguese/errmsg.txt:
        Message corrected
      sql/share/romanian/errmsg.txt:
        Message corrected
      sql/share/russian/errmsg.txt:
        Message corrected
      sql/share/serbian/errmsg.txt:
        Message corrected
      sql/share/slovak/errmsg.txt:
        Message corrected
      sql/share/spanish/errmsg.txt:
        Message corrected
      sql/share/swedish/errmsg.txt:
        Message corrected
      sql/share/ukrainian/errmsg.txt:
        Message corrected
      sql/sql_acl.cc:
        Messages corrected
      6943b323
  35. 20 Nov, 2003 1 commit
    • unknown's avatar
      SCRUM · 0aa62bc3
      unknown authored
      WL#1284 (warnings about --skip-name-resolve)
      Now MySQL will issue warnings during startup about entries in
      grant tables with hostnames that require resolve, and after
      GRANT commands with that kind of hostnames.
      
      
      include/mysqld_error.h:
        errno added
      sql/share/czech/errmsg.txt:
        error message added
      sql/share/danish/errmsg.txt:
        error message added
      sql/share/dutch/errmsg.txt:
        error message added
      sql/share/english/errmsg.txt:
        error message added
      sql/share/estonian/errmsg.txt:
        error message added
      sql/share/french/errmsg.txt:
        error message added
      sql/share/german/errmsg.txt:
        error message added
      sql/share/greek/errmsg.txt:
        error message added
      sql/share/hungarian/errmsg.txt:
        error message added
      sql/share/italian/errmsg.txt:
        error message added
      sql/share/japanese/errmsg.txt:
        error message added
      sql/share/korean/errmsg.txt:
        error message added
      sql/share/norwegian-ny/errmsg.txt:
        error message added
      sql/share/norwegian/errmsg.txt:
        error message added
      sql/share/polish/errmsg.txt:
        error message added
      sql/share/portuguese/errmsg.txt:
        error message added
      sql/share/romanian/errmsg.txt:
        error message added
      sql/share/russian/errmsg.txt:
        error message added
      sql/share/serbian/errmsg.txt:
        error message added
      sql/share/slovak/errmsg.txt:
        error message added
      sql/share/spanish/errmsg.txt:
        error message added
      sql/share/swedish/errmsg.txt:
        error message added
      sql/share/ukrainian/errmsg.txt:
        error message added
      sql/sql_acl.cc:
        Checks added to detect entries with symbolic hostnames in grant tables
      sql/sql_acl.h:
        interface added
      sql/sql_parse.cc:
        Check added to the GRANT command to warn about 
        symbolic hostname & --skip-name-resolve
      0aa62bc3
  36. 18 Nov, 2003 3 commits
    • unknown's avatar
      Delete duplicate error message names · c0541317
      unknown authored
      include/mysqld_error.h:
        Delete duplicate error names
      include/sql_state.h:
        Delete duplicate error names
      myisam/ft_dump.c:
        Delete wrong patch
      myisam/myisamchk.c:
        Delete wrong patch
      mysql-test/r/query_cache.result:
        Fix after deleting duplicated error messages
      mysql-test/t/create.test:
        Fix after deleting duplicated error messages
      mysql-test/t/fulltext.test:
        Fix after deleting duplicated error messages
      mysql-test/t/key_cache.test:
        Fix after deleting duplicated error messages
      sql/share/czech/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/danish/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/dutch/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/english/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/estonian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/french/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/german/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/greek/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/hungarian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/italian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/japanese/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/korean/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/norwegian-ny/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/norwegian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/polish/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/portuguese/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/romanian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/russian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/serbian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/slovak/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/spanish/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/swedish/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/share/ukrainian/errmsg.txt:
        Fix after deleting duplicated error messages
      sql/sql_db.cc:
        Fix after deleting duplicated error messages
      sql/sql_parse.cc:
        Fix after deleting duplicated error messages
      sql/sql_table.cc:
        Fix after deleting duplicated error messages
      tests/client_test.c:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      c0541317
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · e72124c4
      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
      e72124c4
    • unknown's avatar
  37. 03 Nov, 2003 1 commit
    • unknown's avatar
      Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error · bee5d9d4
      unknown authored
      Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
      This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
      Changed flag argument to str_to_TIME() and get_date() from bool to uint
      Removed THD from str_to_xxxx functions and Item class.
      Fixed core dump when doing --print-defaults
      Move some common string functions to strfunc.cc
      Dates as strings are now of type my_charset_bin instead of default_charset()
      Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
      Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
      Renamed some TIMESTAMP_xxx enums to more appropriate names
      Use defines instead of integers for date/time/datetime string lengths
      Added to build system and use the new my_strtoll10() function.
      
      
      
      BUILD/compile-pentium-valgrind-max:
        Remove double printing of warning
      VC++Files/libmysqld/libmysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqldmax.dsp:
        Added strfunc.cc
      VC++Files/strings/strings.dsp:
        added my_strtoll10.c
      include/m_ctype.h:
        Removed MY_LEX_FOUND_IDENT (not used)
      include/m_string.h:
        Added my_strtoll10()
      include/mysqld_error.h:
        simplified 'wrong xxx name' error messages
      include/sql_state.h:
        simplified 'wrong xxx name' error messages
      libmysqld/Makefile.am:
        Added strfunc.cc
      mysql-test/mysql-test-run.sh:
        Simplified some options
        changed $@ to "$@" in an attempt to handle options with space (Didn't succeed;  Problem will disappear when mysql-test-run is rewritten in C)
      mysql-test/r/ctype_latin1_de.result:
        Added new tests
      mysql-test/r/ctype_recoding.result:
        Extended tests
      mysql-test/r/date_formats.result:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/r/func_compress.result:
        New error message
      mysql-test/r/rpl_temporary.result:
        Added new test
      mysql-test/t/create.test:
        Changed error numbers
      mysql-test/t/ctype_latin1_de.test:
        New tests
      mysql-test/t/ctype_recoding.test:
        Extended tests
      mysql-test/t/date_formats-master.opt:
        Removed datetime_format as we can't handle options with space in mysql-test-run
      mysql-test/t/date_formats.test:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/t/rpl_temporary.test:
        Added testing of open temporary table on slave shutdown
      mysql-test/t/symlink.test:
        Fixed error numbers
      mysys/default.c:
        Fixed core dump when doing --print-defaults
      sql/Makefile.am:
        Added strfunc.cc
      sql/derror.cc:
        Fixed compiler warning
      sql/field.cc:
        Changed argument to str_to_TIME() from bool to uint
        Removed THD argument from str_to_TIME()
        Moved find_enum() and find_set() to strfunc.cc
      sql/field.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/init.cc:
        Remove not used variable dayord
      sql/item.cc:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* element from item.
        Don't use make_date_time() to generate date/time/datetimes
      sql/item.h:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* from Item
      sql/item_create.cc:
        Indentation cleanup
      sql/item_func.cc:
        Use new find_type()
      sql/item_func.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/item_strfunc.h:
        space change
      sql/item_timefunc.cc:
        Changed month_names[] to be easier to use
        Moved check_names[] to strfunc.cc
        Added back old make_datetime() function
        Optimized extract_date_time()
        Use my_strtoll10() insetad of my_strntoll()
        Optimized make_date_time()
        Replaced short variable names with long ones.
        Use new functions make_time(), make_date() and make_datetime()
        Dates as strings are now of type my_charset_bin instead of default_charset()
        Changed Item_func_str_to_date() to by default return a date.
      sql/item_timefunc.h:
        Changed charset for date string from default_charset() to my_charset_bin
        Changed type of last argument to get_date() to be able to handle more options
        Use defines instead of integers for date/time/datetime string lengths
      sql/mysql_priv.h:
        Fixed/added new prototypes
      sql/mysqld.cc:
        Removed opt_datetime_format_names
        Cleaned up handling of date_time format handling. (Fixed core dump when mysqld had error on startup)
        Removed some unnecessary double init of collation variables
      sql/protocol.cc:
        Changed back protocol functions to always return dates in ISO format
      sql/set_var.cc:
        Added variables time_format, date_format and datetime_format
        This had to be recoded becasue checking was done in 'update' method and not in 'check' method.
      sql/set_var.h:
        Removed class sys_var_datetime_format() as this defined a variable (which doesn't work) instead of updating a variable
      sql/share/czech/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/danish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/dutch/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/english/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/estonian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/french/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/german/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/greek/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/hungarian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/italian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/japanese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/korean/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian-ny/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/polish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/portuguese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/romanian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/russian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/serbian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/slovak/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/spanish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/swedish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/ukrainian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/sql_base.cc:
        Use new find_type()
      sql/sql_class.cc:
        Allocate/free date_time format variables
      sql/sql_class.h:
        Define datetime_format variables
      sql/sql_db.cc:
        Use new ER_WRONG_NAME error
      sql/sql_lex.cc:
        Change lex to generate IDENT_QUOTED for quoted identifiers or identifers that are using characters > 128.
        This enabled us to not have to copy and convert the identifier to utf8 for simpe identifiers
      sql/sql_parse.cc:
        Use new ER_WRONG_NAME error
        Use new find_type() function
      sql/sql_prepare.cc:
        Use new defines
      sql/sql_table.cc:
        Use new ER_WRONG_NAME error
      sql/sql_yacc.yy:
        Don't copy and convert simple identifiers to utf8.
        Replace __FORMAT_TYPE defines with TIMESTAMP... defines
      sql/structs.h:
        Renamed DATETIME_FORMAT to DATE_TIME format to indicate that it's for date/time/datetime formats
        Renamed WRONT_TIMESTAMP_FULL to TIMESTAMP_DATETIME_ERROR and TIMESTAMP_FULL to TIMESTAMP_DATETIME
        Added KNOWN_DATE_TIME_FORMAT struct for Item_func_get_format
      sql/time.cc:
        Prepare str_to_TIME and str_to_time() for general date/time handling
        Removed THD from str_to... functions
        Renamed date/time/datetime functions to use 'date_time' instead of 'datetime'
        Added functions to make and copy DATE_TIME_FORMAT's
        Added trivial functions 'make_time()', 'make_date()' and 'make_datetime()'
      strings/Makefile.am:
        Added my_strtoll10()
      strings/ctype-bin.c:
        Cleared upper part of binary state map to be able to easily identify simple identifiers
      strings/my_vsnprintf.c:
        F
      bee5d9d4