An error occurred fetching the project authors.
  1. 25 Apr, 2005 1 commit
  2. 04 Apr, 2005 1 commit
  3. 01 Apr, 2005 1 commit
    • monty@mysql.com's avatar
      Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) · 201ee3eb
      monty@mysql.com authored
      CAST() now produces warnings when casting a wrong INTEGER or CHAR values. This also applies to implicite string to number casts. (Bug #5912)
      ALTER TABLE now fails in STRICT mode if it generates warnings.
      Inserting a zero date in a DATE, DATETIME or TIMESTAMP column during TRADITIONAL mode now produces an error. (Bug #5933)
      201ee3eb
  4. 30 Mar, 2005 1 commit
  5. 28 Mar, 2005 1 commit
  6. 27 Jan, 2005 1 commit
  7. 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
  8. 24 Jan, 2005 1 commit
  9. 15 Jan, 2005 1 commit
  10. 12 Jan, 2005 1 commit
  11. 30 Dec, 2004 3 commits
  12. 22 Dec, 2004 1 commit
  13. 15 Nov, 2004 1 commit
  14. 09 Nov, 2004 1 commit
  15. 07 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Simpler arena swapping code · b903a129
      monty@mysql.com authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      b903a129
  16. 29 Oct, 2004 1 commit
  17. 25 Oct, 2004 1 commit
  18. 20 Oct, 2004 1 commit
  19. 15 Oct, 2004 1 commit
  20. 01 Oct, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      Support for TIMESTAMP columns holding NULL values. Unlike all other · 2511990c
      dlenev@brandersnatch.localdomain authored
      column types TIMESTAMP is NOT NULL by default, so in order to have 
      TIMESTAMP column holding NULL valaues you have to specify NULL as
      one of its attributes (this needed for backward compatibility).
      
      Main changes:
      Replaced TABLE::timestamp_default_now/on_update_now members with
      TABLE::timestamp_auto_set_type flag which is used everywhere
      for determining if we should auto-set value of TIMESTAMP field 
      during this operation or not. We are also use Field_timestamp::set_time()
      instead of handler::update_timestamp() in handlers.
      2511990c
  21. 28 Sep, 2004 1 commit
    • monty@mishka.local's avatar
      Strict mode & better warnings · f2941380
      monty@mishka.local authored
      Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
      Added checking of date/datetime fields.
      If strict mode, give error if we have not given value to field without a default value (for INSERT)
      f2941380
  22. 07 Sep, 2004 1 commit
  23. 01 Sep, 2004 1 commit
  24. 17 Aug, 2004 1 commit
  25. 10 Aug, 2004 1 commit
  26. 06 Aug, 2004 1 commit
  27. 20 Jul, 2004 1 commit
  28. 16 Jul, 2004 1 commit
  29. 24 Jun, 2004 1 commit
    • konstantin@mysql.com's avatar
      Fix for Bug#4030 "Client side conversion string -> date type doesn't · a30fcdc6
      konstantin@mysql.com authored
      work (prepared statements)" and after-review fixes:
      - str_to_TIME renamed to str_to_datetime to pair with str_to_time
      - functions str_to_time and str_to_TIME moved to sql-common
      - send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
        MYSQL_TIME_DATETIME types of user input buffers.
      - few more comments in the client library
      - a test case added.
      a30fcdc6
  30. 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
  31. 24 May, 2004 1 commit
  32. 06 May, 2004 1 commit
    • monty@mysql.com's avatar
      Portability fixes · 939ea71e
      monty@mysql.com authored
      Change strtoll -> my_strtoll10()
      Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472)
      939ea71e
  33. 05 May, 2004 1 commit
  34. 03 May, 2004 1 commit
  35. 28 Apr, 2004 1 commit
    • monty@mysql.com's avatar
      Fixed http address in some scripts (Bug #3460) · f10d098f
      monty@mysql.com authored
      Output TIMESTAMP in 4.1 format for 4.1 tables (or for TIMESTAMP(19)) (portability fix)
      Fixed that INTERVAL can handle big integers. (Bug #3498)
      Fixed that hostname="" works identical as hostname="%" for table/column grants (Bug #3473)
      f10d098f
  36. 23 Mar, 2004 1 commit
  37. 18 Mar, 2004 1 commit
  38. 15 Mar, 2004 1 commit