summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
Commit message (Collapse)AuthorAgeFilesLines
* Two small fixesSinisa@sinisa.nasamreza.org2003-08-301-2/+2
|
* Fix for a compilation problem with VC++Sinisa@sinisa.nasamreza.org2003-08-301-3/+3
|
* Merge fixesSinisa@sinisa.nasamreza.org2003-08-271-28/+25
|
* sql_union.cc:Sinisa@sinisa.nasamreza.org2003-08-271-1/+1
| | | | Post merge fixes
* merge fixesSinisa@sinisa.nasamreza.org2003-08-271-39/+49
|\
| * union.result:Sinisa@sinisa.nasamreza.org2003-08-231-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | quick fix for found row counterbell@laptop.sanja.is.com.ua2003-08-201-10/+15
| | | | | | | | code cleunup
* | Mergebell@laptop.sanja.is.com.ua2003-08-201-16/+24
|\ \ | |/
| * fixing limit and SQL_CALC_FOUND_ROWS issuesSinisa@sinisa.nasamreza.org2003-08-201-16/+24
| |
* | after merge changingbell@laptop.sanja.is.com.ua2003-08-201-0/+5
| | | | | | | | uninitialized value fixed
* | mergebell@laptop.sanja.is.com.ua2003-08-191-2/+2
|\ \ | |/
| * mergemonty@mashka.mysql.fi2003-08-191-2/+3
| |\
| * \ Merge with 4.0.14monty@mashka.mysql.fi2003-08-111-2/+2
| |\ \
| | * | Lot's of clean-ups and fixes for 4.0.14.Sinisa@sinisa.nasamreza.org2003-07-021-2/+1
| | | |
| | * | Two Sprint tasks and two behaviour changes.Sinisa@sinisa.nasamreza.org2003-06-171-6/+6
| | | |
* | | | Code cleanupbell@laptop.sanja.is.com.ua2003-08-161-5/+3
| | | |
* | | | Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1bell@sanja.is.com.ua2003-08-131-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
| * | | fixed problem with reference on derived table fields (BUG#1031)bell@sanja.is.com.ua2003-08-121-1/+1
| | | |
* | | | mergebell@sanja.is.com.ua2003-08-121-1/+2
|\ \ \ \ | |/ / /
| * | | mergebell@sanja.is.com.ua2003-08-091-1/+2
| |\ \ \ | | |/ / | |/| |
| | * | fixed union unlocking problem (BUG#906)bell@sanja.is.com.ua2003-08-091-1/+2
| | | |
* | | | mergebell@sanja.is.com.ua2003-08-111-11/+7
|\ \ \ \ | |/ / /
| * | | mergeSinisa@sinisa.nasamreza.org2003-08-061-11/+7
| |\ \ \
| | * | | sql_union.cc, sql_select.cc:Sinisa@sinisa.nasamreza.org2003-08-061-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | MergeSinisa@sinisa.nasamreza.org2003-07-191-1/+1
| | |\ \ \ | | | |/ / | | |/| |
| | | * | code cleanupSinisa@sinisa.nasamreza.org2003-06-251-1/+1
| | | | |
* | | | | mergebell@sanja.is.com.ua2003-08-051-1/+2
|\ \ \ \ \ | |/ / / /
| * | | | count HAVING clause elements with select list elements, because agregate ↵bell@sanja.is.com.ua2003-07-291-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | function can be present in it (BUG#922) removerd unused loop_id
* | | | avoiding of allocating JOIN structure on every UNION executingbell@sanja.is.com.ua2003-07-051-1/+27
| | | | | | | | | | | | | | | | (SCRUM)
* | | | (SCRUM)bell@sanja.is.com.ua2003-07-031-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | after review changes (SCRUM)bell@sanja.is.com.ua2003-07-021-10/+1
| | | | | | | | | | | | | | | | removed outer resolving flag (because of movingtransformation after fix_fields)
* | | | Mergebell@sanja.is.com.ua2003-06-301-54/+58
|\ \ \ \ | |/ / / |/| | |
| * | | mergedbell@sanja.is.com.ua2003-06-251-2/+2
| |\ \ \
| * \ \ \ Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1bell@sanja.is.com.ua2003-05-261-54/+58
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-top-4.1
| | * | | | subselect transformation moved in after-fix_field placebell@sanja.is.com.ua2003-05-141-54/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed "of is null" if it is possible (this cset should be SCRUM related, but not approved as scrum task yet)
* | | | | | fixed bug #745bell@sanja.is.com.ua2003-06-281-1/+2
| |_|/ / / |/| | | | | | | | | | | | | | (resolving fields of reduced subselect)
* | | | | Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1bell@sanja.is.com.ua2003-06-191-1/+1
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-item-4.1
| * | | | Added SQLSTATE to client/server protocolmonty@narttu.mysql.fi2003-06-041-1/+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
* | | | mergingbell@sanja.is.com.ua2003-05-261-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | fixed memory overrun (bug 380)bell@sanja.is.com.ua2003-05-171-1/+1
| |/ /
* | | Merge with 4.0.13monty@narttu.mysql.fi2003-05-191-1/+1
|\ \ \ | |/ / |/| / | |/
| * Fix for UNION and LEFT JOIN (Bug #386)monty@narttu.mysql.fi2003-05-131-2/+3
| | | | | | | | Fixed wrong logging of Access denied error (Bug #398)
| * Fixes for valgrindmonty@narttu.mysql.fi2003-04-231-1/+2
| | | | | | | | | | | | Added optimzation for clustered index Fixed bug in UPDATE ... ORDER BY Fixed handling of UPDATE ... LIMIT
| * Applying Sinisa's patch:lenz@mysql.com2003-02-191-5/+1
| | | | | | | | | | "Cleaning the code of the remaining OLAP code. This code is unnecessary in 4.1/5.0"
| * A lot of portability fixes.monty@mashka.mysql.fi2003-01-051-1/+1
| | | | | | | | Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
* | Making a better fix for double released pointers and safe Sinisa@sinisa.nasamreza.org2003-04-261-3/+2
| | | | | | | | | | | | TMP_TABLE_PARAM. This involved moving things around in include files. All tests, including the ones with Valgrind passed.
* | Fix for a bug record #307.Sinisa@sinisa.nasamreza.org2003-04-211-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Post - post merge fix.Sinisa@sinisa.nasamreza.org2003-04-091-1/+0
| |
* | merge fixSinisa@sinisa.nasamreza.org2003-04-091-26/+44
|\ \
| * | A better fix for UNION and slow query log.monty@mashka.mysql.fi2003-04-081-27/+44
| | |