bell@sanja.is.com.ua
ef5f15c351
fixed subquery in the FROM clause with parameter (BUG#3020)
2004-04-08 23:28:47 +03:00
monty@mysql.com
42cf92ce37
Fixed many compiler warnings
...
Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695 , #3381 and #3319 )
Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
Set locked_in_memory properly
2004-04-05 13:56:05 +03:00
serg@serg.mylan
99886df867
correct support for a mix of UNION/UNION ALL in the same query.
...
Bug#1428
2004-03-23 14:43:24 +01: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
0aa7a4b4ea
after merge & valgrind test fixes (BUG#2120)
2004-02-10 02:18:22 +02:00
bell@sanja.is.com.ua
74a9ca1991
ufter revview fix (BUG#2120)
2004-02-09 14:44:03 +02:00
bell@sanja.is.com.ua
f9af8578bc
make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table
...
(BUG#2120 sfter merge)
2004-02-01 20:07:44 +02:00
bell@sanja.is.com.ua
2a9cd37cd6
now all tables of query are locked in one place (including derived tables)
...
fixed BUG#2120 and other problem with EXPLAINing derived tables
2004-02-01 15:30:32 +02:00
bell@sanja.is.com.ua
0b7ebbb57d
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-insert-4.1
2004-01-17 15:28:56 +02:00
bell@sanja.is.com.ua
48686f89e6
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-ft_derived-4.1
2004-01-17 14:03:22 +02:00
bell@sanja.is.com.ua
4714f690f1
assigned correct lex->current_select for derived tables (BUG#2349)
...
moved LIMIT initialialization, because it is need only for single select derived table
2004-01-14 15:15:42 +02:00
bell@sanja.is.com.ua
d358e52b8b
As far as we cut off derived table branch, we have to close JOINs (BUG#2141)
...
(test case is absend because it is multi-thread and very big)
2004-01-06 13:13:04 +02:00
bell@sanja.is.com.ua
e756a511f8
fixed unlocking tables during subquery execution (BUG#2048)
2003-12-10 22:46:14 +02:00
monty@mysql.com
7f9466a717
Merge
2003-11-28 13:31:38 +02:00
monty@mysql.com
ede8169d24
Added missing SSL library (Should be in source distribution)
...
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
2003-11-28 12:18:13 +02:00
bell@sanja.is.com.ua
9702a4027d
removed unused variable
2003-11-27 09:34:41 +02:00
bell@sanja.is.com.ua
908bc22217
avoiding coping tmptable_param
2003-11-26 20:12:26 +02:00
bell@sanja.is.com.ua
afe48d3ce4
after review fixes
2003-11-23 21:26:43 +02:00
bell@sanja.is.com.ua
7191ea0ae3
Fixed UNION fields type/length detecting
2003-11-23 02:01:15 +02:00
bell@sanja.is.com.ua
934fa2a104
Merge
2003-10-22 20:52:47 +03:00
bell@sanja.is.com.ua
2586a56be5
fixed deleting derived table tree after using (BUG#1536)
2003-10-17 15:18:57 +03:00
bell@sanja.is.com.ua
a7bdd19707
subqueries made printable
...
new EXPLAIN parameter to show real query as it was interpreted
(SCRUM) (WL#1274)
2003-10-16 15:54:47 +03:00
bell@laptop.sanja.is.com.ua
e1b53fdd42
Merge
2003-10-06 20:55:06 +03:00
hf@deer.(none)
5f8e7fef27
Merge
2003-09-26 15:40:26 +05:00
hf@deer.(none)
ba8fa76fa2
SCRUM:
...
WL#604 Privileges in embedded library
code added to check privileges in embedded library
NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude
access-checking parts. Actually we now can exclude these parts from
standalone server as well. Do we need it?
Access checks are disabled in embedded server by default. One should
edit libmysqld/Makefile manually to get this working.
We definitely need the separate configure for embedded server
2003-09-26 15:33:13 +05:00
monty@mashka.mysql.fi
f300e3a164
Remove 'extern' references from .cc files
2003-09-13 11:35:29 +03:00
gluh@gluh.mysql.r18.ru
548d7dc948
Fix for bug 1176
2003-09-04 17:12:20 +05:00
bell@laptop.sanja.is.com.ua
5553868638
fixed bug of lack of fix_fields call (after merge bugfix (SCRUM))
...
fixed bug in Item_sum
fixed bug in dependence remover
after merge fix
2003-08-23 13:29:38 +03:00
bell@laptop.sanja.is.com.ua
85f397781b
Code cleanup
2003-08-16 13:26:48 +03:00
bell@sanja.is.com.ua
758129279f
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
2003-08-13 10:12:41 +03:00
bell@sanja.is.com.ua
b6a8d68ae4
fixed problem with reference on derived table fields (BUG#1031)
2003-08-12 15:04:49 +03:00
bell@sanja.is.com.ua
a0fda66f00
merge
2003-08-11 11:51:33 +03:00
Sinisa@sinisa.nasamreza.org
1d2a7cadae
merge
2003-08-06 18:59:26 +03:00
bell@sanja.is.com.ua
659650b4ea
merge
2003-08-05 09:56:21 +03:00
bell@sanja.is.com.ua
bc1546ce31
count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
...
removerd unused loop_id
2003-07-29 13:00:32 +03:00
Sinisa@sinisa.nasamreza.org
1167e170d2
Merge
2003-07-19 18:49:04 +03:00
bell@sanja.is.com.ua
28207ede02
(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)
2003-07-03 02:30:52 +03:00
bell@sanja.is.com.ua
7b77c5a2d3
merged
2003-06-25 23:52:15 +03:00
Sinisa@sinisa.nasamreza.org
862506b6af
Derived tables bug fix .......
2003-06-12 16:52:36 +03:00
Sinisa@sinisa.nasamreza.org
048731dedb
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-05-31 18:38:41 +03:00
Sinisa@sinisa.nasamreza.org
90b6af3da0
Fix for the optimiser problem caused by the fact that with derived
...
tables one (or more tables) is opened / closed twice.
2003-05-31 18:31:57 +03:00
bell@sanja.is.com.ua
01217497b5
merging
2003-05-26 15:52:19 +03:00
bell@sanja.is.com.ua
1a064a43a7
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-top-4.1
2003-05-26 09:28:56 +03:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
bell@sanja.is.com.ua
3a30eda921
fixed memory overrun (bug 380)
2003-05-17 10:05:07 +03:00
bell@sanja.is.com.ua
1915632163
subselect transformation moved in after-fix_field place
...
removed "of is null" if it is possible
(this cset should be SCRUM related, but not approved as scrum task yet)
2003-05-14 21:51:33 +03:00
Sinisa@sinisa.nasamreza.org
3ca1a152eb
Making a better fix for double released pointers and safe
...
TMP_TABLE_PARAM.
This involved moving things around in include files.
All tests, including the ones with Valgrind passed.
2003-04-26 15:12:14 +03:00
Sinisa@sinisa.nasamreza.org
47f67214d9
A fix for a crashing bug in EXPLAIN on derived tables with a join.
2003-04-10 21:05:28 +03:00
monty@narttu.mysql.fi
e7288f279e
After merge fixes
...
Don't create temporary objects with no table name
2003-03-17 15:05:04 +02:00
Sinisa@sinisa.nasamreza.org
ffa8a47b6d
three bug fixes and major code cleanup
2003-03-06 17:02:10 +02:00