| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Post merge fixes
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
same as above
sql_lex.h:
same as above
sql_union.cc:
same as aobve
sql_select.cc:
Fixing that SQL_CALC_FOUND_ROWS work properly in UNION's in 4.1
Plus updating some fields in THD in the proper places
plus fixing a wrong result
|
| |
| |
| |
| | |
code cleunup
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
uninitialized value fixed
|
|\ \
| |/ |
|
| |\ |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| |
| | | | |
into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
|
| | | | |
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ /
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / / |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Code clean-up
sql_union.cc, union.test, union.result:
A fix for a bug #978.
This enables that NULL's can be entered into UNION's result set,
although first SELECT columns are NOT NULL.
This is also a start of fixing UNION's properly regarding type
acceptance.
sql_select.cc:
A commit for my second July SPRINT task
|
| | |\ \ \
| | | |/ /
| | |/| | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
function can be present in it (BUG#922)
removerd unused loop_id
|
| | | |
| | | |
| | | |
| | | | |
(SCRUM)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It looks like samll revolution in SELECT_LEX tree, but it was only natural way to solve problem with name resolution of external fields inside subselect which belongs to global order of union
also it have following advantages:
- removed mess with current_select type conversion
- type checking/converting
- a lot of virtual methods
- fake select for union execution allocated only once (it was allocated for every subselect with union executing)
changes:
fixed bug with outer fields name resolution of subqueries which belong to global ORDER BY clause
remuved select_lex() function, now thd->lex.current_select always have type SELECT_LEX
new SELECT_LEX (fake_select_lex) will be allocated in case of UNION for using in UNION processing
fake_select_lex allocated for union hold global ORDER BY & LIMIT clauses and have linkage equal to GLOBAL_OPTIONS_TYPE
new description of SELECT_LEX tree
(SCRUM)
|
| | | |
| | | |
| | | |
| | | | |
removed outer resolving flag (because of movingtransformation after fix_fields)
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |\ \ \ |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into sanja.is.com.ua:/home/bell/mysql/bk/work-top-4.1
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
removed "of is null" if it is possible
(this cset should be SCRUM related, but not approved as scrum task yet)
|
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
(resolving fields of reduced subselect)
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | | |
into sanja.is.com.ua:/home/bell/mysql/bk/work-item-4.1
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| | |
Fixed wrong logging of Access denied error (Bug #398)
|
| |
| |
| |
| |
| |
| | |
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
|
| |
| |
| |
| |
| | |
"Cleaning the code of the remaining OLAP code.
This code is unnecessary in 4.1/5.0"
|
| |
| |
| |
| | |
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
|
| |
| |
| |
| |
| |
| | |
TMP_TABLE_PARAM.
This involved moving things around in include files.
All tests, including the ones with Valgrind passed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Very nasty bug.
It was caused by double free()-ing memory of join->select and
join->quick.
I was able to pinpoint it only after using Valgrind.
Plus better fix for bug with TMP_TABLE_PARAM.
Plus new constructor for SELECT_LEX.
|
| | |
|
|\ \ |
|
| | | |
|