An error occurred fetching the project authors.
  1. 08 Dec, 2003 1 commit
    • unknown's avatar
      WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions · 726adf1d
      unknown authored
      Syntax for TIMESTAMPADD:
      
      TIMESTAMPADD(interval, integer_expression, datetime_expression)
      
      interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
      QUARTER | YEAR
      
      Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
      
      Syntax for TIMESTAMPDIFF:
      
      TIMESTAMPDIFF(interval, datetime_expression1, datetime_expression2)
      
      interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
      QUARTER | YEAR
      
      Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
      
      
      mysql-test/r/func_sapdb.result:
        Additional tests for timediff
      mysql-test/r/func_time.result:
        Tests for timestampadd, timestampdiff functions
      mysql-test/r/keywords.result:
        Test for new keywords
      mysql-test/t/func_sapdb.test:
        Additional tests for timediff
      mysql-test/t/func_time.test:
        Tests for timestampadd, timestampdiff functions
      mysql-test/t/keywords.test:
        Test for new keywords
      sql/item_create.cc:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_create.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_timefunc.cc:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_timefunc.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/lex.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/sql_yacc.yy:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      726adf1d
  2. 18 Nov, 2003 1 commit
    • unknown's avatar
      changed name of bit on more descriptive (after rewie change) · 3ebca5cc
      unknown authored
      sql/item_create.cc:
        changed name of bit on more descriptive
      sql/item_func.cc:
        changed name of bit on more descriptive
      sql/mysql_priv.h:
        changed name of bit on more descriptive
      sql/sql_lex.h:
        changed name of bit on more descriptive
      sql/sql_yacc.yy:
        changed name of bit on more descriptive
      3ebca5cc
  3. 17 Nov, 2003 2 commits
    • unknown's avatar
      fixed using 'uncachable' tag and RAND_TABLE_BIT setting · 5b4fcb8e
      unknown authored
      sql/item_create.cc:
        specify cause of uncachability
      sql/item_func.cc:
        specify cause of uncachability
      sql/item_subselect.cc:
        fixed setting RAND_TABLE_BIT
        specify cause of uncachability
      sql/item_subselect.h:
        used one field for all uncachability causes
      sql/mysql_priv.h:
        causes of uncachability
      sql/sql_lex.cc:
        specify cause of uncachability
      sql/sql_lex.h:
        used one field for all uncachability causes
      sql/sql_select.cc:
        used one field for all uncachability causes
      sql/sql_union.cc:
        used one field for all uncachability causes
      sql/sql_yacc.yy:
        specify cause of uncachability
      5b4fcb8e
    • unknown's avatar
      WL#1253: LAST_DAY · f6f06ef7
      unknown authored
      mysql-test/r/func_time.result:
        Test for WL#1253: LAST_DAY
      mysql-test/t/func_time.test:
        Test for WL#1253: LAST_DAY
      f6f06ef7
  4. 03 Nov, 2003 1 commit
    • unknown's avatar
      Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error · 4563a476
      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
      4563a476
  5. 31 Oct, 2003 1 commit
    • unknown's avatar
      amall fix · bc4ad789
      unknown authored
      mysql-test/r/derived.result:
        fixed results after merge
      mysql-test/r/func_in.result:
        small fix to amke all names uniform
      mysql-test/r/func_math.result:
        forgot to change
      sql/item.cc:
        fix
      sql/item_create.cc:
        small fix to amke all names uniform
      bc4ad789
  6. 30 Oct, 2003 1 commit
    • unknown's avatar
      added code covarage for functions convert(), nullif(), crc32(),... · 630f4a75
      unknown authored
      added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
      added string length for more speed
      made code covarage for print() method of Item
      fixed printability of some items (SCRUM) (WL#1274)
      
      
      mysql-test/r/auto_increment.result:
        print() code coverage
      mysql-test/r/bench_count_distinct.result:
        print() code coverage
      mysql-test/r/case.result:
        print() code coverage
      mysql-test/r/cast.result:
        print() code coverage
      mysql-test/r/ctype_collate.result:
        print() code coverage
      mysql-test/r/ctype_many.result:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/r/ctype_utf8.result:
        char_length code coverage
      mysql-test/r/date_formats.result:
        print() code coverage
      mysql-test/r/fulltext.result:
        print() code coverage
      mysql-test/r/func_compress.result:
        print() code coverage
      mysql-test/r/func_gconcat.result:
        print() code coverage
      mysql-test/r/func_group.result:
        bit_xor() code coverage
        print() code coverage
      mysql-test/r/func_if.result:
        nullif() code coverage
        print() code coverage
      mysql-test/r/func_in.result:
        print() code coverage
      mysql-test/r/func_math.result:
        print() code coverage
      mysql-test/r/func_op.result:
        print() code coverage
      mysql-test/r/func_regexp.result:
        print() code coverage
      mysql-test/r/func_set.result:
        print() code coverage
      mysql-test/r/func_str.result:
        crc32() code coverage
        print() code coverage
      mysql-test/r/func_system.result:
        print() code coverage
      mysql-test/r/func_test.result:
        print() code coverage
      mysql-test/r/func_time.result:
        print() code coverage
      mysql-test/r/group_by.result:
        print() code coverage
      mysql-test/r/having.result:
        print() code coverage
      mysql-test/r/insert_update.result:
        print() code coverage
      mysql-test/r/null.result:
        print() code coverage
      mysql-test/r/olap.result:
        print() code coverage
      mysql-test/r/query_cache.result:
        print() code coverage
      mysql-test/r/row.result:
        print() code coverage
      mysql-test/r/rpl000001.result:
        print() code coverage
      mysql-test/r/rpl_get_lock.result:
        print() code coverage
      mysql-test/r/rpl_master_pos_wait.result:
        print() code coverage
      mysql-test/r/select.result:
        print() code coverage
      mysql-test/r/subselect.result:
        print() code coverage
      mysql-test/r/type_blob.result:
        print() code coverage
      mysql-test/r/varbinary.result:
        print() code coverage
      mysql-test/r/variables.result:
        print() code coverage
      mysql-test/t/auto_increment.test:
        print() code coverage
      mysql-test/t/bench_count_distinct.test:
        print() code coverage
      mysql-test/t/case.test:
        print() code coverage
      mysql-test/t/cast.test:
        print() code coverage
      mysql-test/t/ctype_collate.test:
        print() code coverage
      mysql-test/t/ctype_many.test:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/t/ctype_utf8.test:
        char_length code coverage
      mysql-test/t/date_formats.test:
        print() code coverage
      mysql-test/t/fulltext.test:
        print() code coverage
      mysql-test/t/func_compress.test:
        print() code coverage
      mysql-test/t/func_gconcat.test:
        print() code coverage
      mysql-test/t/func_group.test:
        bit_xor() code coverage
        print() code coverage
      mysql-test/t/func_if.test:
        nullif() code coverage
        print() code coverage
      mysql-test/t/func_in.test:
        print() code coverage
      mysql-test/t/func_math.test:
        print() code coverage
      mysql-test/t/func_op.test:
        print() code coverage
      mysql-test/t/func_regexp.test:
        print() code coverage
      mysql-test/t/func_set.test:
        print() code coverage
      mysql-test/t/func_str.test:
        crc32() code covarage
        print() code coverage
      mysql-test/t/func_system.test:
        print() code coverage
      mysql-test/t/func_test.test:
        print() code coverage
      mysql-test/t/func_time.test:
        print() code coverage
      mysql-test/t/group_by.test:
        print() code coverage
      mysql-test/t/having.test:
        print() code coverage
      mysql-test/t/insert_update.test:
        print() code coverage
      mysql-test/t/null.test:
        print() code coverage
      mysql-test/t/olap.test:
        print() code coverage
      mysql-test/t/query_cache.test:
        print() code coverage
      mysql-test/t/row.test:
        print() code coverage
      mysql-test/t/rpl000001.test:
        print() code coverage
      mysql-test/t/rpl_get_lock.test:
        print() code coverage
      mysql-test/t/rpl_master_pos_wait.test:
        print() code coverage
      mysql-test/t/select.test:
        print() code coverage
      mysql-test/t/type_blob.test:
        print() code coverage
      mysql-test/t/varbinary.test:
        print() code coverage
      mysql-test/t/variables.test:
        print() code coverage
      sql/item.cc:
        added string length for more speed
        layout fix
        fixed string printability
      sql/item.h:
        added string length for more speed
      sql/item_cmpfunc.cc:
        added string length for more speed
      sql/item_cmpfunc.h:
        fixed printability
      sql/item_create.cc:
        fixed printability
      sql/item_func.cc:
        fixed printability
        added string length for more speed
      sql/item_func.h:
        fixed printability
      sql/item_strfunc.cc:
        fixed printability
        added string length for more speed
      sql/item_strfunc.h:
        fixed printability
      sql/item_subselect.cc:
        added string length for more speed
      sql/item_sum.cc:
        added string length for more speed
      sql/item_timefunc.cc:
        added string length for more speed
      sql/item_timefunc.h:
        fixed printability
      sql/item_uniq.h:
        added string length for more speed
      sql/key.cc:
        added string length for more speed
      sql/sql_lex.cc:
        added string length for more speed
      sql/sql_parse.cc:
        after merge fix
      sql/sql_repl.cc:
        string changed with character for more speed
      sql/sql_select.cc:
        added string length for more speed
      sql/sql_show.cc:
        added string length for more speed
      630f4a75
  7. 20 Oct, 2003 1 commit
  8. 21 Aug, 2003 2 commits
    • unknown's avatar
      fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib · aa4baac3
      unknown authored
      moved them all from different places to item_strfunc.{h,cc}
      checksum table command
      Com_xxx status variables updated
      
      
      sql/item_create.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_geofunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/mysql_priv.h:
        checksum table command
      sql/mysqld.cc:
        Com_xxx updated
      sql/sql_lex.h:
        checksum table command
      sql/sql_parse.cc:
        checksum table command
      sql/sql_table.cc:
        checksum table command
      sql/sql_yacc.yy:
        checksum table command
      aa4baac3
    • unknown's avatar
      CAST(expr AS CHAR(10)) is now working · 3f8dc1e8
      unknown authored
      3f8dc1e8
  9. 08 Jul, 2003 1 commit
  10. 06 Jul, 2003 1 commit
  11. 04 Jul, 2003 1 commit
    • unknown's avatar
      Bug fixes for authentication · 42c7698c
      unknown authored
      OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
      
      
      BitKeeper/etc/ignore:
        Added BitKeeper/post-commit BitKeeper/post-commit-manual build_tags.sh tests/connect_test BUILD/compile-pentium-maintainer to the ignore list
      include/mysql_com.h:
        scramble return type changed to void as now it's not used
      libmysql/libmysql.c:
        fixed bug with with failed authentification when scramble contained zero byte
      sql-common/client.c:
        applied patch from Lycos team
        fixed bug with scramble containing zero byte
      sql/item_create.cc:
        removed create_func_old_password, create_func_password as they are not used any more
      sql/item_create.h:
        removed create_func_old_password, create_func_password as they are not used any more
      sql/item_strfunc.cc:
        Added alloc() function to Item_func_password, Item_func_old_password, which is used in sql_yacc.yy
      sql/item_strfunc.h:
        Added alloc() function to Item_func_password, Item_func_old_password, which is used in sql_yacc.yy
      sql/lex.h:
        OLD_PASSWORD now is keyword, to allow statements like
        set password=old_password('abc')
      sql/password.c:
        fixed scramble return value
        trailing zero now is not written
      sql/sql_acl.cc:
        incorporated patch from Lycos team
        41 replaced with constant
        acl_getroot rewritten to support ER_AUTH_... error
      sql/sql_parse.cc:
        authenticate merged with check_user
        check_user return values reversed, support for ER_AUTH in check_user.added
      sql/sql_yacc.yy:
        OLD_PASSWORD now is keyword, to allow statements like
        set password=old_password('abc')
      42c7698c
  12. 24 Jun, 2003 1 commit
  13. 23 Jun, 2003 1 commit
  14. 20 Jun, 2003 2 commits
  15. 03 Jun, 2003 3 commits
  16. 28 May, 2003 2 commits
  17. 22 May, 2003 1 commit
  18. 13 May, 2003 1 commit
    • unknown's avatar
      Proper replication of CONNECTION_ID() and 4.1 PASSWORD() (bugs 177 and 344), · 5d26a94f
      unknown authored
      new test for this.
      
      
      sql/item_create.cc:
        Proper replication of CONNECTION_ID() (bug 177).
        This is just for replication; mysqlbinlog|mysql still does not work
        with CONNECTION_ID(), it will wait for row-level binlogging.
      sql/item_strfunc.cc:
        Proper replication of the new 4.1 PASSWORD() (bug 344)
      5d26a94f
  19. 05 May, 2003 1 commit
  20. 28 Apr, 2003 1 commit
  21. 22 Apr, 2003 1 commit
  22. 10 Apr, 2003 1 commit
    • unknown's avatar
      added compress/uncompress function · f82e15ba
      unknown authored
      sql/mysql_priv.h:
        added have_compress variable
      sql/mysqld.cc:
        added have_compress variable
      sql/set_var.cc:
        added have_compress variable
      f82e15ba
  23. 03 Apr, 2003 1 commit
  24. 19 Mar, 2003 1 commit
  25. 18 Mar, 2003 1 commit
    • unknown's avatar
      SRID support. · f21f78ea
      unknown authored
      GeomertyFromWKB() function.
      SRID() function.
      ::store() methods for Field_geom.
      Code cleanup.
      
      
      myisam/sp_key.c:
        SRID support.
      mysql-test/r/gis.result:
        We should use GeometryFromWKB().
      mysql-test/t/gis.test:
        We should use GeometryFromWKB().
      sql/field.cc:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/field.h:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/item_cmpfunc.cc:
        SRID support.
        Code cleanup.
      sql/item_create.cc:
        Code cleanup.
      sql/item_create.h:
        Code cleanup.
      sql/item_func.cc:
        SRID support.
        Code cleanup.
      sql/item_func.h:
        SRID support.
      sql/item_strfunc.cc:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/item_strfunc.h:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/lex.h:
        GeometryFromWKB() function.
        SRID() function.
      sql/spatial.cc:
        Code cleanup.
      sql/spatial.h:
        Code cleanup.
      sql/sql_yacc.yy:
        Fix for xxxFromText() functions.
        GeometryFromWKB() function.
      f21f78ea
  26. 14 Mar, 2003 1 commit
    • unknown's avatar
      SCRUM · bc96bb2e
      unknown authored
      IS_USED_LOCK('lock') implementation
      
      
      sql/item_create.cc:
        create_func_is_used_lock implementation
      sql/item_create.h:
        create_func_is_used_lock declaration
      sql/item_func.cc:
        thread_id member added to the ULL class
      sql/item_func.h:
        class Item_func_is_used_lock added
      sql/lex.h:
        IS_USED_LOCK function added to the SQL
      bc96bb2e
  27. 28 Feb, 2003 1 commit
    • unknown's avatar
      Many files: · 3467b168
      unknown authored
         Coercibility, initial stage
      item_func.h:
        Coercibility, initial stage
      
      
      sql/item_func.h:
        Coercibility, initial stage
      sql/item.cc:
         Coercibility, initial stage
      sql/item_create.cc:
         Coercibility, initial stage
      sql/item_create.h:
         Coercibility, initial stage
      sql/item.h:
         Coercibility, initial stage
      sql/item_func.cc:
         Coercibility, initial stage
      sql/lex.h:
         Coercibility, initial stage
      sql/sql_yacc.yy:
         Coercibility, initial stage
      3467b168
  28. 27 Feb, 2003 1 commit
    • unknown's avatar
      Portability fixes · e16918ff
      unknown authored
      Don't define crc32 if we are not linking with gzip
      
      
      cmd-line-utils/libedit/libedit_term.h:
        Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h
      BitKeeper/etc/ignore:
        added scripts/make_win_src_distribution
      client/connect_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/insert_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/select_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      cmd-line-utils/libedit/Makefile.am:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/el.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/key.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/makelist:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/read.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline/readline.h:
        Systems that has sys/cdefs may not have __BEGIN_DECLS
      cmd-line-utils/libedit/sig.c:
        sig_t is not portable
      cmd-line-utils/libedit/sig.h:
        sig_t is not portable
      cmd-line-utils/libedit/term.c:
        Portablity fixes
        Fixed core dump when using a terminal without arrow key definitions
      heap/_check.c:
        Portability fix
      heap/hp_hash.c:
        Portability fix
      heap/hp_rkey.c:
        Portability fix
      include/my_global.h:
        Portability fixes for HPUX11
      libmysql/libmysql.c:
        Removed wrong cast
      mysql-test/r/union.result:
        New union tests
      mysql-test/t/union.test:
        New union tests
      sql/gen_lex_hash.cc:
        Fixed portability bug.
      sql/gstream.h:
        Portablity fix
      sql/item_create.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_create.h:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.h:
        Don't define crc32 if we are not linking with gzip
      sql/lex.h:
        Don't define crc32 if we are not linking with gzip
      sql/sql_show.cc:
        Name can't be NULL
      e16918ff
  29. 07 Feb, 2003 1 commit
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 419976bd
      unknown authored
      Don't make OLD_PASSWORD() a reserved word
      
      
      mysql-test/r/explain.result:
        Test select count(*)
      mysql-test/r/func_crypt.result:
        Test old_password()
      mysql-test/t/explain.test:
        Test select count(*)
      mysql-test/t/func_crypt.test:
        Test old_password()
      sql/item_create.cc:
        Don't make OLD_PASSWORD() a reserved word
      sql/item_create.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/lex.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/opt_range.cc:
        Remove blank space
      sql/opt_sum.cc:
        Fix problem in MIN/MAX optimisation
      419976bd
  30. 28 Jan, 2003 1 commit
    • unknown's avatar
      fixed bugs in temporary tables in subselect implementation (SCRUM) · 90502d2b
      unknown authored
      merging with switching on static tables optimization (SCRUM)
      fixed subselects with uncacheable results
      added test for fixed bugs from bugreports
      
      
      mysql-test/r/subselect.result:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      mysql-test/t/subselect.test:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      sql/item_create.cc:
        fixed subselects with uncacheable results
      sql/item_func.cc:
        fixed subselects with uncacheable results
      sql/item_subselect.cc:
        fixed subselects with uncacheable results
        clean up
      sql/item_subselect.h:
        fixed subselects with uncacheable results
      sql/sql_lex.cc:
        fixed subselects with uncacheable results
      sql/sql_lex.h:
        fixed subselects with uncacheable results
      sql/sql_select.cc:
        fixed bugs in temporary tables in subselect implementation
        fixed subselects with uncacheable results
      sql/sql_union.cc:
        fixed subselects with uncacheable results
      sql/sql_yacc.yy:
        fixed subselects with uncacheable results
      90502d2b
  31. 27 Jan, 2003 1 commit
  32. 25 Jan, 2003 1 commit
    • unknown's avatar
      Added timeout for wait_for_master_pos · 6337190c
      unknown authored
      Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      
      
      mysql-test/r/rpl000009.result:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      mysql-test/t/rpl000009.test:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      sql/item_create.cc:
        Added timeout for wait_for_master_pos
      sql/item_create.h:
        Added timeout for wait_for_master_pos
      sql/item_func.cc:
        Added timeout for wait_for_master_pos
      sql/item_func.h:
        Added timeout for wait_for_master_pos
      sql/lex.h:
        Added timeout for wait_for_master_pos
      sql/slave.h:
        Added timeout for wait_for_master_pos
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_parse.cc:
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_repl.cc:
        Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      6337190c
  33. 04 Jan, 2003 1 commit
    • unknown's avatar
      Added support for DROP TEMPORARY TABLE · 30c11344
      unknown authored
      Removed mysql_warnings() API function.
      Post merge fixes.
      
      
      client/mysqltest.c:
        Don't use mysql_warnings().
      include/mysql.h:
        Removed mysql_warnings() API function
      libmysql/libmysql.c:
        Removed mysql_warnings() API function
      mysql-test/r/rpl_log_pos.result:
        Updated results
      mysql-test/t/connect.test:
        Removed empty lines
      mysql-test/t/rpl_log_pos.test:
        Update to new syntax
      sql/item.h:
        Fix after merge
      sql/item_create.cc:
        Fix after merge
      sql/mysql_priv.h:
        Added support for DROP TEMPORARY TABLE
      sql/sql_db.cc:
        Added support for DROP TEMPORARY TABLE
      sql/sql_parse.cc:
        SHOW WARNINGS now shows notes, warnings and errors.
        Support for DROP TEMPORARY TABLE
        Post merge fixes
      sql/sql_repl.cc:
        Post merge fixes
      sql/sql_table.cc:
        Added support for DROP TEMPORARY TABLE
      30c11344
  34. 26 Dec, 2002 1 commit
    • unknown's avatar
      Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns · bfd3f4ef
      unknown authored
      Changed long packat handling to check for packets of length 0xffffff.
      This does however break packet handling for older clients.
      If you are using packets >= 16M then you need to upgrade client and server
      after this patch.
      
      
      Docs/internals.texi:
        Updated documentation for 4.1 protocol
      sql/ha_innodb.cc:
        Optimization of checking command
      sql/item.h:
        Removed automatic set of length for Item_string
      sql/item_create.cc:
        Optimized create of create_func_current_user()
      sql/net_serv.cc:
        Fixed wrong max packet length
      sql/sql_acl.cc:
        Safety fix.
      sql/sql_parse.cc:
        Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
      bfd3f4ef