An error occurred fetching the project authors.
  1. 20 Apr, 2006 2 commits
  2. 19 Apr, 2006 2 commits
  3. 12 Apr, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug#14169: type of group_concat() result changed to blob if tmp_table was · ac54aa2a
      evgen@moonbone.local authored
      used
      
      In a simple queries a result of the GROUP_CONCAT() function was always of 
      varchar type.
      But if length of GROUP_CONCAT() result is greater than 512 chars and temporary
      table is used during select then the result is converted to blob, due to
      policy to not to store fields longer than 512 chars in tmp table as varchar
      fields.
      
      In order to provide consistent behaviour, result of GROUP_CONCAT() now
      will always be converted to blob if it is longer than 512 chars.
      Item_func_group_concat::field_type() is modified accordingly.
      ac54aa2a
  4. 07 Apr, 2006 1 commit
  5. 29 Mar, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries · 1c13e548
      evgen@moonbone.local authored
      The GROUP_CONCAT uses its own temporary table. When ROLLUP is present
      it creates the second copy of Item_func_group_concat. This copy receives the
      same list of arguments that original group_concat does. When the copy is
      set up the result_fields of functions from the argument list are reset to the
      temporary table of this copy.
      As a result of this action data from functions flow directly to the ROLLUP copy
      and the original group_concat functions shows wrong result.
      Since queries with COUNT(DISTINCT ...) use temporary tables to store
      the results the COUNT function they are also affected by this bug.
      
      The idea of the fix is to copy content of the result_field for the function
      under GROUP_CONCAT/COUNT from  the first temporary table to the second one,
      rather than setting result_field to point to the second temporary table.
      To achieve this goal force_copy_fields flag is added to Item_func_group_concat
      and Item_sum_count_distinct classes. This flag is initialized to 0 and set to 1
      into the make_unique() member function of both classes.
      To the TMP_TABLE_PARAM structure is modified to include the similar flag as
      well.
      The create_tmp_table() function passes that flag to create_tmp_field().
      When the flag is set the create_tmp_field() function will set result_field
      as a source field and will not reset that result field to newly created 
      field for Item_func_result_field and its descendants. Due to this there
      will be created copy func to copy data from old result_field to newly 
      created field.
      1c13e548
  6. 21 Jan, 2006 1 commit
  7. 18 Nov, 2005 1 commit
  8. 02 Nov, 2005 1 commit
  9. 15 Oct, 2005 2 commits
  10. 07 Sep, 2005 1 commit
  11. 05 Sep, 2005 1 commit
  12. 31 Aug, 2005 1 commit
    • evgen@moonbone.local's avatar
      Fix bug #12861 client hang with group_concat insubquery FROM DUAL. · f1fb30a1
      evgen@moonbone.local authored
      Item_func_group_concat::fix_fields() set maybe_null flag to 0, and set it to
      1 only if some of it's arguments may be null. When used in subquery in tmp 
      table created field which can't be null. When no data retireved result field
      have to be set to null and error mentioned in bug report occurs. Also this 
      bug can occur if selecting from not null field in empty table.
      
      Function group_concat now marked maybe_null from the very beginning not only
      if some of it's argument may be null.
      f1fb30a1
  13. 30 Aug, 2005 1 commit
    • bar@mysql.com's avatar
      Bug #12829 · 98581508
      bar@mysql.com authored
      Cannot convert the charset of a GROUP_CONCAT result:
      
      item_sum.cc:
        "result" character set was not set into proper value.
      
      func_gconcat.result, func_gconcat.test:
        Fixing tests accordingly.
      98581508
  14. 29 Jul, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      func_gconcat.result, func_gconcat.test: · a5f2c752
      igor@rurik.mysql.com authored
        Added a test case for bug #12095.
      sql_class.h:
        Fixed bug #12095: a join query with GROUP_CONCAT over a single row table.
        Added a flag to the TMP_TABLE_PARAM class forcing to put constant
        items generated after elimination of a single row table into temp table
        in some cases (e.g. when GROUP_CONCAT is calculated over a single row
        table).
        bk ci sql/item_sum.cc
        Fixed bug #12095: a join query with GROUP_CONCAT over a single row table.
        If GROUP_CONCAT is calculated we always put its argument into a temp
        table, even when the argument is a constant item.
      sql_select.cc:
        Fixed bug #12095: a join query with GROUP_CONCAT over one row table.
        If temp table is used to calculate GROUP_CONCAT the argument should
        be always put into this table, even when it is a constant item.
      a5f2c752
  15. 26 Jul, 2005 2 commits
    • bar@mysql.com's avatar
      Bug#10201 group_concat returns string with binary collation · 991e3442
      bar@mysql.com authored
      item.cc:
        After merge fixes.
      func_gconcat.result:
        After merge fixes
      991e3442
    • bar@mysql.com's avatar
      func_gconcat.result, func_gconcat.test: · 0c2035b7
      bar@mysql.com authored
        Adding test
      item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      item_func.h, item_func.cc, item.h, item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      0c2035b7
  16. 03 Jun, 2005 1 commit
    • monty@mysql.com's avatar
      Move USE_PRAGMA_IMPLEMENTATION to proper place · 29fd1f2f
      monty@mysql.com authored
      Ensure that 'null_value' is not accessed before val() is called in FIELD() functions
      Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys
      Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
      29fd1f2f
  17. 31 May, 2005 1 commit
  18. 17 Mar, 2005 2 commits
  19. 16 Mar, 2005 1 commit
  20. 15 Jan, 2005 2 commits
  21. 10 Nov, 2004 1 commit
  22. 10 Oct, 2004 1 commit
  23. 01 Sep, 2004 1 commit
  24. 23 Aug, 2004 1 commit
  25. 13 Aug, 2004 1 commit
  26. 10 Aug, 2004 1 commit
  27. 20 Jul, 2004 1 commit
  28. 21 Jun, 2004 1 commit
  29. 08 Jun, 2004 1 commit
    • ram@gw.mysql.r18.ru's avatar
      a fix · 71eee450
      ram@gw.mysql.r18.ru authored
      (Bug #4035 GROUP_CONCAT with HAVING clause truncates field                       
      Bug #4057 LEFT() function in HAVING clause truncates query result).
      71eee450
  30. 01 Jun, 2004 1 commit
  31. 15 May, 2004 1 commit
  32. 14 May, 2004 1 commit
  33. 13 May, 2004 1 commit
  34. 07 Apr, 2004 1 commit