An error occurred fetching the project authors.
- 20 Apr, 2006 2 commits
-
-
evgen@moonbone.local authored
Remove duplicate test case for bug#14169
-
igor@rurik.mysql.com authored
-
- 19 Apr, 2006 2 commits
-
-
igor@rurik.mysql.com authored
Temporarily commented out a query from the test case for bug 14169 to make it pass with --ps-protocol.
-
evgen@moonbone.local authored
Corrected test case for the bug#14169 to make it pass in --ps-protocol mode.
-
- 12 Apr, 2006 1 commit
-
-
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.
-
- 07 Apr, 2006 1 commit
-
-
gluh@eagle.intranet.mysql.r18.ru authored
skip charset aggregation for order columns
-
- 29 Mar, 2006 1 commit
-
-
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.
-
- 21 Jan, 2006 1 commit
-
-
holyfoot@eagle.intranet.mysql.r18.ru authored
-
- 18 Nov, 2005 1 commit
-
-
konstantin@mysql.com authored
a UNION in which case returns BLOB". The bug is not present anymore.
-
- 02 Nov, 2005 1 commit
-
-
evgen@moonbone.local authored
Fixed wrong test case table.cc: Fixed wrong DBUG_ENTER placement
-
- 15 Oct, 2005 2 commits
-
-
igor@rurik.mysql.com authored
allowed set functions aggregated in outer subqueries, allowed nested set functions.
-
hf@deer.(none) authored
-
- 07 Sep, 2005 1 commit
-
-
igor@rurik.mysql.com authored
Added test cases for bug #12863. item_sum.cc, item_sum.h: Fixed bug #12863. Added a flag to Item_func_group_concat set to FALSE after concatenation of the first element of a group.
-
- 05 Sep, 2005 1 commit
-
-
evgen@moonbone.local authored
Test case for bug #12859 group_concat in subquery cause incorrect not null.
-
- 31 Aug, 2005 1 commit
-
-
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.
-
- 30 Aug, 2005 1 commit
-
-
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.
-
- 29 Jul, 2005 1 commit
-
-
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.
-
- 26 Jul, 2005 2 commits
-
-
bar@mysql.com authored
item.cc: After merge fixes. func_gconcat.result: After merge fixes
-
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,
-
- 03 Jun, 2005 1 commit
-
-
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
-
- 31 May, 2005 1 commit
-
-
ramil@mysql.com authored
-
- 17 Mar, 2005 2 commits
-
-
konstantin@mysql.com authored
-
gluh@gluh.mysql.r18.ru authored
-
- 16 Mar, 2005 1 commit
-
-
gluh@gluh.mysql.r18.ru authored
fixed result_field support of Item_ref
-
- 15 Jan, 2005 2 commits
-
-
monty@mysql.com authored
Fix for BIT(X) field as string
-
igor@rurik.mysql.com authored
Added a test case for bug #7769. item_sum.h: Fixed bug #7769: a crash for queries with group_concat and having when the query table was empty. The bug was due an unsafe dereferencing.
-
- 10 Nov, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
bug #6515: count(distinct...) crashes the server)
-
- 10 Oct, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
(Bug #4315: GROUP_CONCAT with ORDER BY returns strange results for TEXT fields Bug #5564: Strange behaviour with group_concat and distinct Bug #5970: group_concat doesn't print warnings)
-
- 01 Sep, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 23 Aug, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
allowed parsing of table fields inside aggregate functions added new tests of fields resolving in grouping
-
- 13 Aug, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 10 Aug, 2004 1 commit
-
-
wax@kishkin.ru authored
BUG#4535 BUG#4686
-
- 20 Jul, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 21 Jun, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
-
- 08 Jun, 2004 1 commit
-
-
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).
-
- 01 Jun, 2004 1 commit
-
-
monty@mysql.com authored
-
- 15 May, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 14 May, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 13 May, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 07 Apr, 2004 1 commit
-
-
monty@mysql.com authored
Fixed problems with group_concat() and HAVING Updated crash-me values
-