An error occurred fetching the project authors.
  1. 12 Oct, 2006 1 commit
  2. 05 Sep, 2006 1 commit
  3. 03 Aug, 2006 1 commit
  4. 21 Jul, 2006 2 commits
    • evgen@moonbone.local's avatar
      Fixed bug#12185: Data type aggregation may produce wrong result · c875b8eb
      evgen@moonbone.local authored
      The Item::tmp_table_field_from_field_type() function creates Field_datetime
      object instead of Field_timestamp object for timestamp field thus always
      changing data type is a tmp table is used.
      
      The Field_blob object constructor which is used in the 
      Item::tmp_table_field_from_field_type() is always setting packlength field of
      newly created blob to 4. This leads to changing fields data type for example
      from the blob to the longblob if a temporary table is used.
      
      The Item::make_string_field() function always converts Field_string objects 
      to Field_varstring objects. This leads to changing data type from the 
      char/binary to varchar/varbinary.
      
      Added appropriate Field_timestamp object constructor for using in the 
      Item::tmp_table_field_from_field_type() function.
      
      Added Field_blob object constructor which sets pack length according to
      max_length argument.
      
      The Item::tmp_table_field_from_field_type() function now creates
      Field_timestamp object for a timestamp field.
      
      The Item_type_holder::display_length() now returns correct NULL length NULL
      length. 
      
      The Item::make_string_field() function now doesn't change Field_string to
      Field_varstring in the case of Item_type_holder. 
      
      The Item::tmp_table_field_from_field_type() function now uses the Field_blob
      constructor which sets packlength according to max_length.
      c875b8eb
    • jimw@rama.(none)'s avatar
      Bug #16881: password() and union select · 5fda0b99
      jimw@rama.(none) authored
        This was only demonstrated by the use of PASSWORD(), it was not related to
        that function at all. The calculation of the size of a field in the results
        of a UNION did not take into account the possible growth of a string field
        when being converted to the aggregated character set.
      5fda0b99
  5. 15 Jun, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug#18175: The nest_level counter wasn't decremented for union parts which · 0fb6b044
      evgen@moonbone.local authored
      resulted in a wrong error message.
      
      The nest_level counter indicates the depth of nesting for a subselect. It is
      needed to properly resolve aggregate functions in nested subselects. Obviously 
      it shouldn't be incremented for UNION parts because they have the same level of
      nesting. This counter was incremented by 1 in the mysql_new_select() function
      for any new select and wasn't decremented for UNION parts. This resulted in
      wrongly reported error messages.
      
      Now the nest_level counter is decremented by 1 for any union part.
      0fb6b044
  6. 01 Mar, 2006 1 commit
    • bar@mysql.com's avatar
      Bug#15949 union + illegal mix of collations (IMPLICIT + COERCIBLE) · a6973cee
      bar@mysql.com authored
      union.result, union.test:
        Adding test case.
      item.cc:
        Allow safe character set conversion in UNION
        - string constant to column's charset
        - to unicode
        Thus, UNION now works the same with CONCAT (and other string functions)
        in respect of aggregating arguments with different character sets.
      a6973cee
  7. 30 Nov, 2005 1 commit
  8. 29 Oct, 2005 1 commit
  9. 27 Sep, 2005 1 commit
  10. 23 Sep, 2005 1 commit
  11. 21 Sep, 2005 1 commit
  12. 12 Aug, 2005 1 commit
    • timour@mysql.com's avatar
      Implementation of WL#2486 - · a247282a
      timour@mysql.com authored
      "Process NATURAL and USING joins according to SQL:2003".
      
      * Some of the main problems fixed by the patch:
        - in "select *" queries the * expanded correctly according to
          ANSI for arbitrary natural/using joins
        - natural/using joins are correctly transformed into JOIN ... ON
          for any number/nesting of the joins.
        - column references are correctly resolved against natural joins
          of any nesting and combined with arbitrary other joins.
      
      * This patch also contains a fix for name resolution of items
        inside the ON condition of JOIN ... ON - in this case items must
        be resolved only against the JOIN operands. To support such
        'local' name resolution, the patch introduces a stack of
        name resolution contexts used at parse time.
      
      NOTICE:
      - This patch is not complete in the sense that
        - there are 2 test cases that still do not pass -
          one in join.test, one in select.test. Both are marked
          with a comment "TODO: WL#2486".
        - it does not include a new test specific for the task
      a247282a
  13. 26 May, 2005 2 commits
  14. 05 May, 2005 1 commit
  15. 26 Apr, 2005 1 commit
    • Sinisa@sinisa.nasamreza.org's avatar
      union.result: · edf2a160
      Sinisa@sinisa.nasamreza.org authored
        Results for the above test case
      union.test:
        A test case for bug #10032 involving UNION's and ORDER BY clause
      sql_yacc.yy:
        Fix for a bug #10032 involving a parser bug with UNION's and ORDER BY
      edf2a160
  16. 10 Apr, 2005 1 commit
  17. 04 Apr, 2005 1 commit
  18. 31 Mar, 2005 1 commit
  19. 28 Mar, 2005 1 commit
    • bar@mysql.com's avatar
      union.test: · 9852c6a0
      bar@mysql.com authored
        Bug #6519 UNION with collation binary and latin1_swedish_ci fails now
        Prove that this problem was fixed with bug9425 fix too.
      9852c6a0
  20. 23 Mar, 2005 1 commit
  21. 13 Feb, 2005 1 commit
  22. 08 Feb, 2005 1 commit
  23. 04 Feb, 2005 1 commit
  24. 18 Jan, 2005 3 commits
    • Sinisa@sinisa.nasamreza.org's avatar
    • bar@mysql.com's avatar
      After-merge clean-up · 05204a9b
      bar@mysql.com authored
      05204a9b
    • bar@mysql.com's avatar
      1. Item now uses my_charset_bin by default, · 8cfe7296
      bar@mysql.com authored
      not default_charset_into. It fixes the
      problem that in some cases numbers where
      treated as CHAR(N), not as BINARY(N), e.g.
      wrong 'charsetnr' when sent to the client side.
      2. IFNULL didn't aggregate argument charsets
      and collations, so IFNULL(1,'a') produced
      a CHAR(N). Now produces a BINARY(N).
      3. SELECT PROCEDURE ANALIZE now returns
      BINARY columns, which is much better than it worked
      previously: CHAR with the default character set.
      But in the future it's worth to fix the fields
      'Field_name' and 'Optimal_fieldtype' to use UTF8,
      and 'Min_value' and 'Max_value' to inherit their charsets
      from the original items. But it is not important,
      and BINARY(N) is OK for now.
      4. Tests were fixed accordingly. No new tests were
      made, as the old onces cover everything.
      8cfe7296
  25. 30 Dec, 2004 1 commit
  26. 08 Dec, 2004 1 commit
  27. 07 Dec, 2004 1 commit
  28. 18 Nov, 2004 1 commit
  29. 18 Oct, 2004 1 commit
  30. 17 Sep, 2004 1 commit
  31. 06 Sep, 2004 1 commit
  32. 05 Sep, 2004 1 commit
  33. 04 Sep, 2004 1 commit
  34. 03 Sep, 2004 1 commit
  35. 20 Jul, 2004 1 commit
  36. 23 Jun, 2004 1 commit