An error occurred fetching the project authors.
- 25 Jul, 2006 1 commit
-
-
gkodinov/kgeorge@macbook.gmz authored
when calculating GROUP_CONCAT all blob fields are transformed to varchar when making the temp table. However a varchar has at max 2 bytes for length. This fix makes the conversion only for blobs whose max length is below that limit. Otherwise blob field is created by make_string_field() call.
-
- 30 Jun, 2006 1 commit
-
-
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.
-
- 22 Jun, 2006 1 commit
-
-
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.
-
- 20 Apr, 2006 1 commit
-
-
igor@rurik.mysql.com authored
-
- 07 Apr, 2006 1 commit
-
-
gluh@eagle.intranet.mysql.r18.ru authored
skip charset aggregation for order columns
-
- 30 Mar, 2006 1 commit
-
-
evgen@sunlight.local authored
After merge fix for bug#15560 item_sum.h: After merge fix for bug#15560
-
- 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.
-
- 05 Mar, 2006 1 commit
-
-
holyfoot@deer.(none) authored
-
- 30 Nov, 2005 1 commit
-
-
ramil@mysql.com authored
- use rint() in some other val_int() methods as well.
-
- 20 Nov, 2005 1 commit
-
-
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.
-
- 01 Nov, 2005 1 commit
-
-
evgen@moonbone.local authored
Item_func_group_concat::print() wasn't printing sort order thus creating wrong view. This results in reported error.
-
- 15 Oct, 2005 1 commit
-
-
igor@rurik.mysql.com authored
allowed set functions aggregated in outer subqueries, allowed nested set functions.
-
- 23 Sep, 2005 1 commit
-
-
Intel compiler.
-
- 21 Sep, 2005 1 commit
-
-
timour@mysql.com authored
The problem was in that the MIN/MAX optimization in opt_sum_query was replacing MIN/MAX functions with their constant argument without taking into account that a query has no result rows.
-
- 13 Sep, 2005 1 commit
-
-
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
-
- 08 Sep, 2005 1 commit
-
-
igor@rurik.mysql.com authored
Post-merge fix.
-
- 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.
-
- 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.
-
- 12 Aug, 2005 1 commit
-
-
monty@mysql.com authored
Removed duplicate usage of TMP_TABLE_FORCE_MYISAM by making 'options' longlong
-
- 07 Aug, 2005 1 commit
-
-
sergefp@mysql.com authored
We're out of bits in st_select_lex->options so make TMP_TABLE_FORCE_MYISAM == OPTION_FOUND_COMMENT (the latter is not used by create_tmp_table).
-
- 02 Aug, 2005 1 commit
-
-
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.
-
- 31 Jul, 2005 1 commit
-
-
igor@rurik.mysql.com authored
If GROUP_CONCAT is calculated we always put its argument into a temp table, even when the argument is a constant item.
-
- 30 Jul, 2005 1 commit
-
-
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.
-
- 26 Jul, 2005 1 commit
-
-
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,
-
- 01 Jul, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 17 Jun, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 07 Jun, 2005 1 commit
-
-
monty@mysql.com authored
-
- 05 Jun, 2005 1 commit
-
-
serg@serg.mylan authored
'#pragma interface' (that comes with the #include'd header file)
-
- 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
-
- 02 Jun, 2005 1 commit
-
-
kent@mysql.com authored
Set #pragma implementation" earlier Many files: Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
-
- 01 Jun, 2005 1 commit
-
-
monty@mysql.com authored
Ensure we get error if INSERT IGNORE ... SELECT fails Fixed wrong key_part->key_length usage in index_merge
-
- 31 May, 2005 1 commit
-
-
ramil@mysql.com authored
-
- 26 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
Added some more ifdefs for "#pragma interface"
-
- 20 May, 2005 1 commit
-
-
monty@mysql.com authored
Fixed errors reported by valgrind (some errors in NDB remains)
-
- 06 May, 2005 1 commit
-
-
jani@ibmlab.site authored
-
- 05 May, 2005 1 commit
-
-
holyfoot@hf-ibm.(none) authored
Mostly about precision/decimals of the results of the operations
-
- 30 Apr, 2005 1 commit
-
-
dlenev@brandersnatch.localdomain authored
(aka "deinit is not called when calling udf from trigger"). We should call udf_deinit() function during cleanup phase after prepared (or ordinary) statement execution instead of calling it from Item's desctructor. No test case is provided since it is hard to test UDF's from our test suite.
-
- 27 Apr, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
- Remove linking of libsupc++ - Move all local static variables to filescope
-
- 09 Apr, 2005 1 commit
-
-
jimw@mysql.com authored
-