An error occurred fetching the project authors.
- 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,
-
- 19 Jul, 2005 1 commit
-
-
monty@mishka.local authored
-
- 15 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
of system vars at PREPARE time": implement a special Item to handle system variables. This item substitutes itself with a basic constant containing variable value at fix_fields.
-
- 14 Jul, 2005 1 commit
-
-
sergefp@mysql.com authored
source table present (this happens for ORDER BY after UNION)
-
- 13 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
binary).
-
- 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 2 commits
-
-
bar@mysql.com authored
set_var.cc: variables.result variables.test Bug #10904 Illegal mix of collations between a system variable and a constant Changing coercibility of system variables to SYSCONST, to be the same with USER(), DATABASE(), etc.
-
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
-
-
jimw@mysql.com authored
-
- 26 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
Added some more ifdefs for "#pragma interface"
-
- 14 May, 2005 1 commit
-
-
monty@mysql.com authored
-
- 07 May, 2005 1 commit
-
-
svoj@mysql.com authored
fail.
-
- 03 May, 2005 1 commit
-
-
konstantin@mysql.com authored
records if prepared statements is used". This fix changes equality evaluation method of basic constants from by-name to by-value, thus effectively enabling use of parameter markers in some optimizations (constants propagation, evaluation of possible keys for query).
-
- 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.
-
- 29 Apr, 2005 1 commit
-
-
monty@mysql.com authored
Produce warnings of wrong cast of strings to signed/unsigned. Don't block not resolved IP's if DNS server is down (Bug #8467) Fix compiler problems with MinGW (Bug #8872)
-
- 19 Apr, 2005 1 commit
-
-
ramil@mysql.com authored
-
- 28 Mar, 2005 1 commit
-
-
bar@mysql.com authored
Coercibility fixes for numeric types and not defined values were done.
-
- 16 Mar, 2005 1 commit
-
-
bar@mysql.com authored
not always correct for NULL values. Now they always result a non NULL value even the argument is NULL. It is more usefull for debugging purposes.
-
- 04 Mar, 2005 1 commit
-
-
bar@mysql.com authored
fixing test results accordingly. func_system.test: New test that illegal mix of collations does not happen anymore. item_strfunc.h: safe_charset_converter() was added for system constants. item_strfunc.cc: safe_charset_converter() was added for system constants. item_func.cc, item.h, item.cc: Bug#8291: Illegal collation mix with USER() function. After discussion with PeterG and Serge, a new coercibility level for "system constants" was introduced, between COERRIBLE and IMPLICIT. Thus: SELECT col1 = USER() FROM t1; - is done according to col1 collation. SELECT 'string' = USER(); - is done according to USER() collation. At the same time, "nagg" and "strong" members were removed as unused. item_create.cc: Version is a system constant too.
-
- 22 Feb, 2005 1 commit
-
-
bar@mysql.com authored
independently from the expression it is initialized from. In other words, this change treats a user variable like a table with one column and one record. Discussed with PeterG, Serg and Lars. This change also simplifies replication allowing not to replicate variables' coercibility.
-
- 08 Feb, 2005 1 commit
-
-
monty@mysql.com authored
Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT. This will ensure that any reference to these has a valid value. Generalized the code for split_sum_func()
-
- 07 Feb, 2005 1 commit
-
-
monty@mysql.com authored
(BUG 8216)
-
- 04 Feb, 2005 1 commit
-
-
serg@serg.mylan authored
ftbw->off wasn't cleared on reinit - Bug#8234
-
- 03 Feb, 2005 1 commit
-
-
acurtis@pcgem.rdg.cyberkinetica.com authored
Fix crash with LAST_INSERT_ID() in UPDATE, Tests included,
-
- 24 Jan, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
fixed cols() method call (it have to be called only after fix_fields())
-
- 20 Dec, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
-
- 17 Dec, 2004 1 commit
-
-
sergefp@mysql.com authored
For numeric constants we only need to add, since the parser doesn't produce negative numbers. For strings we only add (we actually could substract 1 if given string is a constant and it has '-number' form but we're not doing that because * we set max_length bigger then necessary in other cases as well. * the current solution is simpler and safer (bigger max_length is better then cutting out)
-
- 14 Dec, 2004 1 commit
-
-
sergefp@mysql.com authored
* Backport of safety measures from 5.0: make numeorous replaces: s/item->fix_fields()/if (!item->fixed) item->fix_fields()
-
- 13 Dec, 2004 2 commits
-
-
sergefp@mysql.com authored
* Added Item_ref::set_properties * Item_ref::Item_ref now expects to get in *item either NULL - then fix_fields() will be called later or ptr to Item it will refer to - then an equivalent of fix_fields() call is performed
-
sergefp@mysql.com authored
The problem in 4.1 was the same as in 4.0 - fix_fields() not called for created Item_ref. The fix is similar too - initialize Item_refs in ctor (but don't interfere with cases when Item_ref is used by subselects).
-
- 03 Dec, 2004 1 commit
-
-
mats@mysql.com authored
CREATE DATABASE statement used the current database instead of the database created when checking conditions for replication. CREATE/DROP/ALTER DATABASE statements are now replicated based on the manipulated database.
-
- 02 Dec, 2004 1 commit
-
-
serg@serg.mylan authored
-
- 19 Nov, 2004 1 commit
-
-
bar@mysql.com authored
Also, Item_sum_hybrid->charset was removed as redundant, and switched to use collation.collation instead.
-
- 16 Nov, 2004 1 commit
-
-
konstantin@mysql.com authored
-
- 07 Nov, 2004 1 commit
-
-
monty@mysql.com authored
Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root. This gives us the following benefits: - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases) - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT) - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
-
- 06 Nov, 2004 1 commit
-
-
ram@gw.mysql.r18.ru authored
-
- 05 Nov, 2004 1 commit
-
-
bar@mysql.com authored
character set with NULL, @A should be latin2 after this query sequence: SET @A=_latin2'string'; SET @A=NULL; I.e. the second query should not change the charset to the current default value, but should keep the original value assigned during the first query. In order to do it, we don't copy charset from the argument if the argument is NULL and the variable has previously been initialized.
-
- 02 Nov, 2004 1 commit
-
-
bar@mysql.com authored
Allow mixing of different character sets for more SQL functions. item_func.h: Allow mixing of different character sets for more SQL functions..
-
- 29 Oct, 2004 1 commit
-
-
bar@mysql.com authored
"uint *errors" is now a non-optional parameter in String:copy() and copy_and_convert().
-