monty@mysql.com
79ec81071a
Better bugfix for "HAVING when refering to RAND()" (Bug #8216 )
...
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()
2005-02-08 14:41:09 +02:00
monty@mysql.com
32f91f48e8
Fixed bug in HAVING when refering to RAND() through alias
...
(BUG 8216)
2005-02-07 18:13:57 +02:00
sergefp@mysql.com
3ceb04a5d8
Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
...
* 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
2004-12-14 01:07:06 +03:00
sergefp@mysql.com
9ed8cd701b
Merging fix for BUG#6976 from 4.0 to 4.1
...
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).
2004-12-13 20:06:06 +03:00
konstantin@mysql.com
703e396b6e
A small simplification: perform two actions at once, register a
...
change, and perform it (the new Item changes registry).
2004-10-10 03:10:00 +04:00
konstantin@mysql.com
234c80b689
Deployment of centralized Item change registry, step 2: Item_ref
...
doesn't need to have it's own recovery mechanism.
2004-10-08 19:13:09 +04:00
serg@serg.mylan
08f3ba0e29
after merge
2004-08-26 18:22:22 +02:00
bell@sanja.is.com.ua
8035ce40ec
DBUG_ASSERT(fixed == 0) added to fix_fields()
2004-03-17 14:26:26 +02:00
bell@sanja.is.com.ua
14b9fa3588
revision of fix_fields() calls (BUG2838)
2004-02-18 01:08:52 +02:00
hf@deer.(none)
bfe134b86f
Fix for prepared statements
...
Here i added Item_*::cleanup() functions,
removed a lot of ~Item_*'s,
added code to restore order_list and group_list
2003-12-30 14:08:19 +04:00
bell@laptop.sanja.is.com.ua
ddf4d1e529
fixed printability of Items (all items except subselects)
...
(SCRUM) (WL#1274)
2003-10-12 17:56:05 +03:00
bell@laptop.sanja.is.com.ua
e527f268d5
fixed error names
2003-10-06 22:35:05 +03:00
bell@sanja.is.com.ua
2ae8a00b2a
Item tree iterator
...
fixed dependence of items from reduced subquery
(SCRUM)
2003-07-02 13:12:18 +03:00
bell@sanja.is.com.ua
5eaaf8e732
after review changes (SCRUM)
...
removed outer resolving flag (because of movingtransformation after fix_fields)
2003-07-02 01:45:22 +03:00
monty@mashka.mysql.fi
48558055ed
Move tmp_table_used to THD
...
Optimize depending sub querys
Remove valgrind warnings
2003-02-10 17:59:16 +02:00
bell@sanja.is.com.ua
e294751c41
fixed bug in determinating uncacheable queries
...
new fatal_error interface to assign is_fatal_error and ne.report_error
commant about Item_row
2003-01-30 22:15:44 +02:00
bell@sanja.is.com.ua
5ed5dac01b
cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation
2003-01-30 14:35:07 +02:00
bell@sanja.is.com.ua
a662f7e105
fixed row items with group functions
...
fixed layout
2003-01-29 20:44:47 +02:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
monty@mashka.mysql.fi
22aaac013b
Fixed that derived tables are properly droped
2003-01-07 11:45:06 +02:00
bell@sanja.is.com.ua
945758f0ec
post-post-review fix (SCRUM)
2003-01-02 12:24:33 +02:00
bell@sanja.is.com.ua
c7a02249f5
postreviews fix (SCRUM related)
...
reordered Item_row class variables to be sorted by memory size
2002-12-31 18:39:16 +02:00
bell@sanja.is.com.ua
1dd7cb52ae
support of subselect without FROM reducing (SCRUM)
...
fixed bug of calling setup_fields without correct lex->current_select pointer in mysql_derived
more correct creation of reference in Item_field::fix_field
2002-12-26 01:28:59 +02:00
bell@sanja.is.com.ua
b63f230346
row IN subselects (SCRUM)
2002-12-19 21:15:09 +02:00
bell@sanja.is.com.ua
5fc21bc187
postreview fix (SCRUM)
...
NULL fixed
max_length fixed
layout fixed
2002-12-10 18:10:00 +02:00
bell@sanja.is.com.ua
b1beb31400
Row item fixing (SCRUM related)
...
Inserted comment
2002-12-07 16:00:39 +02:00
bell@sanja.is.com.ua
39ddd2dcb4
checking columns of top items
2002-11-29 12:30:04 +02:00
bell@sanja.is.com.ua
7a9f47759e
basic row Items (SCRUM)
2002-11-15 20:32:09 +02:00