An error occurred fetching the project authors.
  1. 25 Jul, 2006 1 commit
  2. 30 Jun, 2006 1 commit
    • knielsen@mysql.com's avatar
      BUG#20769: Dangling pointer in ctype_recoding test case. · 1d56a972
      knielsen@mysql.com authored
      In some functions dealing with strings and character sets, the wrong
      pointers were saved for restoration in THD::rollback_item_tree_changes().
      This could potentially cause random corruption or crashes.
      
      Fixed by passing the original Item ** locations, not local stack copies.
      
      Also remove unnecessary use of default arguments.
      1d56a972
  3. 22 Jun, 2006 1 commit
    • igor@rurik.mysql.com's avatar
      Fixed bug #20076. · 89402314
      igor@rurik.mysql.com authored
      Server crashed in some cases when a query required a MIN/MAX
      agrregation for a 'ucs2' field. 
      In these cases  the aggregation caused calls of the function
      update_tmptable_sum_func that indirectly invoked 
      the method Item_sum_hybrid::min_max_update_str_field() 
      containing a call to strip_sp for a ucs2 character set.
      The latter led directly to the crash as it used my_isspace
      undefined for the ucs2 character set.
      Actually the call of strip_sp is not needed at all in this
      situation and has been removed by the fix.
      89402314
  4. 20 Apr, 2006 1 commit
  5. 07 Apr, 2006 1 commit
  6. 30 Mar, 2006 1 commit
  7. 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
  8. 05 Mar, 2006 1 commit
  9. 30 Nov, 2005 1 commit
  10. 20 Nov, 2005 1 commit
    • bell@sanja.is.com.ua's avatar
      Inefficient usage of String::append() fixed. · 806f9e24
      bell@sanja.is.com.ua authored
      Bad examples of usage of a string with its length fixed.
      The incorrect length in the trigger file configuration descriptor
        fixed (BUG#14090).
      A hook for unknown keys added to the parser to support old .TRG files.
      806f9e24
  11. 01 Nov, 2005 1 commit
  12. 15 Oct, 2005 1 commit
  13. 23 Sep, 2005 1 commit
  14. 21 Sep, 2005 1 commit
  15. 13 Sep, 2005 1 commit
    • monty@mishka.mysql.fi's avatar
      Added option --valgrind-mysqltest to mysql-test-run · f348f62c
      monty@mishka.mysql.fi authored
      Added flag to Field::store(longlong) to specify if value is unsigned.
      This fixes bug #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0)
      Fixed warning from valgrind in CREATE ... SELECT
      Fixed double free of mysql.options if reconnect failed
      f348f62c
  16. 08 Sep, 2005 1 commit
  17. 07 Sep, 2005 1 commit
  18. 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
  19. 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
  20. 12 Aug, 2005 1 commit
  21. 07 Aug, 2005 1 commit
  22. 02 Aug, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      item_sum.cc: · 5e851429
      igor@rurik.mysql.com authored
        Reversed the changes to fix bug #12095 after review
        done by SergeyG. Applied a fix suggested by him.
        Added my comment.
      5e851429
  23. 31 Jul, 2005 1 commit
  24. 30 Jul, 2005 1 commit
    • evgen@moonbone.local's avatar
      Fix bug #11335 View redefines TinyInt(1) column definition · fa0ea365
      evgen@moonbone.local authored
      Item_type_holder doesn't store information about length and exact type of
      original item which results in redefining length to max_length and geometry 
      type to longtext.
      
      Changed the way derived tables except unions are built. Now they are created
      from original field list instead of list of Item_type_holder.
      fa0ea365
  25. 26 Jul, 2005 1 commit
    • 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
  26. 01 Jul, 2005 1 commit
  27. 17 Jun, 2005 1 commit
  28. 07 Jun, 2005 1 commit
  29. 05 Jun, 2005 1 commit
  30. 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
  31. 02 Jun, 2005 1 commit
    • kent@mysql.com's avatar
      tztime.cc: · bd48eed9
      kent@mysql.com authored
        Set #pragma implementation" earlier
      Many files:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      bd48eed9
  32. 01 Jun, 2005 1 commit
  33. 31 May, 2005 1 commit
  34. 26 May, 2005 1 commit
  35. 20 May, 2005 1 commit
  36. 06 May, 2005 1 commit
  37. 05 May, 2005 1 commit
  38. 30 Apr, 2005 1 commit
  39. 27 Apr, 2005 1 commit
  40. 09 Apr, 2005 1 commit