An error occurred fetching the project authors.
  1. 08 Feb, 2005 1 commit
  2. 26 Jan, 2005 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      Fix for bug #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function · 80282016
      dlenev@brandersnatch.localdomain authored
      does not work well together". Now using simplier and more correct
      implementation of st_lex::unlink_first_table()/link_first_table_back() 
      (It also nicely handles case when global table list is created because
      of implictly used time zone tables). (2nd attempt)
      
      Fix for bug #7705 "CONVERT_TZ() crashes with subquery/WHERE on index
      column". Implemented new approach for caching objects for constant
      time zone arguments. Now instead of determining whenever these arguments
      are constants and performing time zone lookup at fix_fields() stage, we
      do it on first get_date() invocation.
      
      Cleanup of global @@time_zone variable handling.
      80282016
  3. 30 Dec, 2004 1 commit
  4. 11 Nov, 2004 1 commit
  5. 07 Sep, 2004 1 commit
  6. 10 Aug, 2004 1 commit
  7. 18 Jun, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      WL#1264 "Per-thread time zone support infrastructure". · 09ba29e5
      dlenev@brandersnatch.localdomain 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.
      09ba29e5
  8. 02 Apr, 2004 1 commit
    • dlenev@jabberwock.localdomain's avatar
      WL#1266 "Separate auto-set logic from TIMESTAMP type." · f6bff2e6
      dlenev@jabberwock.localdomain 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.
      f6bff2e6
  9. 18 Mar, 2004 1 commit
  10. 15 Mar, 2004 1 commit
  11. 09 Mar, 2004 1 commit
  12. 08 Dec, 2003 1 commit
    • gluh@gluh.mysql.r18.ru's avatar
      WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions · ec874924
      gluh@gluh.mysql.r18.ru 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)
      ec874924
  13. 17 Nov, 2003 1 commit
  14. 03 Nov, 2003 1 commit
    • monty@narttu.mysql.fi's avatar
      Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error · a444a344
      monty@narttu.mysql.fi 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.
      a444a344
  15. 30 Oct, 2003 1 commit
  16. 20 Oct, 2003 1 commit
  17. 12 Oct, 2003 1 commit
  18. 29 Aug, 2003 1 commit
  19. 21 Aug, 2003 1 commit
  20. 11 Aug, 2003 1 commit
  21. 05 Aug, 2003 1 commit
  22. 08 Jul, 2003 1 commit
  23. 23 Jun, 2003 1 commit
  24. 11 Jun, 2003 1 commit
    • hf@deer.(none)'s avatar
      Bugfix for #614 · 8fea9b45
      hf@deer.(none) authored
      Item_extract needs special implementation for eq().
      Item_func::eq doesn't work correctly because we have to compare 
      Item_extract::int_type parameters also
      
      We need to propagate this to 4.1
      8fea9b45
  25. 27 Mar, 2003 1 commit
  26. 03 Mar, 2003 1 commit
    • bar@bar.mysql.r18.ru's avatar
      Strings which appear without charset context, · 48cdd978
      bar@bar.mysql.r18.ru authored
      like number-to-string-convertion-result, now 
      takes current database character set, instead of
      thread character set. This makes it easy to be
      SQL99 conformant and 4.0 compatible.
      
      Item->thd_charset() is renamed to Item->default_charset()
      as old name doesn't describe its nature anymore.
      48cdd978
  27. 25 Jan, 2003 1 commit
  28. 14 Dec, 2002 1 commit
    • monty@mashka.mysql.fi's avatar
      Fixes for binary protocol (complement to last push) · d49167ba
      monty@mashka.mysql.fi authored
      Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format.
      DATE_ADD() and related functions now returns correct DATE/DATETIME type depending on argument types.
      Now all tests passes, still some work left to remove warnings in log files from mysql-test-run
      d49167ba
  29. 11 Dec, 2002 1 commit
  30. 03 Dec, 2002 1 commit
  31. 25 Nov, 2002 1 commit
  32. 24 Nov, 2002 1 commit
  33. 12 Nov, 2002 2 commits
  34. 06 Nov, 2002 1 commit
  35. 30 Oct, 2002 2 commits
  36. 02 Oct, 2002 1 commit
    • monty@mashka.mysql.fi's avatar
      Fixes and code cleanups after merge with 4.0.3 · d69250a9
      monty@mashka.mysql.fi authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      d69250a9
  37. 24 Aug, 2002 1 commit
  38. 08 Aug, 2002 1 commit