bell@sanja.is.com.ua
e025adb403
Merge
2003-11-03 08:47:27 +02:00
bell@sanja.is.com.ua
777316c3e1
fixed BUG#1645
...
all calls of fix_fields() are inspected
(copy of cset which I lost in accidatly tree delete)
2003-11-02 17:27:35 +02:00
bell@sanja.is.com.ua
33f6f72979
join_free now is method of JOIN and commented
...
dependence should mean uncacheability
2003-11-02 16:31:22 +02:00
bell@sanja.is.com.ua
3e10f80682
fixed part of BUG#1708
...
(test suite will be with next part)
2003-11-01 19:02:43 +02:00
bell@sanja.is.com.ua
33346e26af
added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
...
added string length for more speed
made code covarage for print() method of Item
fixed printability of some items (SCRUM) (WL#1274)
2003-10-30 12:57:26 +02:00
bell@sanja.is.com.ua
ae380c5855
merge
2003-10-28 12:45:37 +02:00
bell@sanja.is.com.ua
2efab5b67d
fixed ALL/ANY optimisation with union (BUG#1668)
...
code cleanup
2003-10-27 01:01:27 +02:00
bell@sanja.is.com.ua
6457b89948
added check of cardinality to IN/ALL/ANY subquery transformer
...
(BUG#1638)
2003-10-23 23:54:21 +03:00
bell@sanja.is.com.ua
b0bd7f80be
ufter review fix (BUG#1444)
2003-10-23 20:50:53 +03:00
bell@sanja.is.com.ua
1db5484577
index name shown (SCRUM) (WL#1274)
2003-10-19 14:22:17 +03:00
bell@sanja.is.com.ua
b9dccb34dd
fixed support of used_tables() and const_item() in subqueries
...
(BUG#1444)
2003-10-17 00:36:01 +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
7921834334
Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-constructors-4.1
2003-10-07 17:42:59 +03:00
bell@laptop.sanja.is.com.ua
862ff0ed1c
fixed error detection
2003-10-07 16:26:46 +03:00
bell@laptop.sanja.is.com.ua
efae22f617
merge
2003-10-07 16:22:48 +03:00
bell@laptop.sanja.is.com.ua
09c139ac37
after merge fix
2003-10-07 13:31:44 +03:00
monty@narttu.mysql.fi
b31a79df3e
merge
2003-10-07 11:24:38 +03:00
bell@laptop.sanja.is.com.ua
d5a7a6ec34
merge
2003-10-07 08:51:09 +03:00
bell@laptop.sanja.is.com.ua
dfb7ca08dc
merge
2003-10-07 07:51:14 +03:00
bell@laptop.sanja.is.com.ua
18bb43671d
Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-all_any_group-4.1
2003-10-07 01:31:16 +03:00
bell@laptop.sanja.is.com.ua
ccaeb61f8b
after merge fix
2003-10-07 01:28:15 +03:00
monty@narttu.mysql.fi
8c0b7d5d97
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into narttu.mysql.fi:/my/mysql-4.1
2003-10-07 00:34:43 +03:00
bell@laptop.sanja.is.com.ua
e527f268d5
fixed error names
2003-10-06 22:35:05 +03:00
bell@laptop.sanja.is.com.ua
e1b53fdd42
Merge
2003-10-06 20:55:06 +03:00
bell@laptop.sanja.is.com.ua
9db4024b8d
thd pointer storing moved to fix_fields() (WL#1254) (SCRUM)
2003-10-02 22:19:41 +03:00
monty@narttu.mysql.fi
6905d7963e
Don't print warnings about 'setrlimit' if --warnings is not given
...
Code review/cleanup of sub subselect_uniquesubquery_engine
2003-09-29 12:39:38 +03:00
bell@laptop.sanja.is.com.ua
ddd019cc79
code cleanup: removed unused constructors and methods
2003-09-20 18:31:56 +03:00
bell@sanja.is.com.ua
46b8c3ea8b
renamed join_types (as was suggested by Peter Gulutzan)
2003-09-14 09:40:57 +03:00
bell@sanja.is.com.ua
813d81c726
removing additional IN subquery condition
...
fixed IN optimisation bug
2003-09-08 21:58:09 +03:00
bell@sanja.is.com.ua
a02094ef10
fixed row union processing
2003-09-07 20:35:10 +03:00
bell@laptop.sanja.is.com.ua
ec8d6d05de
enum renamed (asked for compilation under windows)
2003-08-28 13:21:30 +03:00
bell@laptop.sanja.is.com.ua
f77f46d8eb
Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-all_any-4.1
...
into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-all_any_group-4.1
2003-08-23 13:33:02 +03:00
bell@laptop.sanja.is.com.ua
c514948a30
merge
2003-08-20 22:17:57 +03:00
bell@laptop.sanja.is.com.ua
30913419ec
after merge changing
...
uninitialized value fixed
2003-08-20 17:35:12 +03:00
bell@laptop.sanja.is.com.ua
85f397781b
Code cleanup
2003-08-16 13:26:48 +03:00
bell@laptop.sanja.is.com.ua
55094f903f
As far as now transformer called after setup_wild() it is impossible to have '*'
2003-08-16 02:04:29 +03:00
bell@sanja.is.com.ua
6ac8e9b93c
optimisation of independent ALL/ANY with aggregate function (WL#1115) (SCRUM)
2003-08-12 12:38:03 +03:00
bell@sanja.is.com.ua
cbb3a78d8d
merge
2003-08-11 12:00:33 +03:00
bell@sanja.is.com.ua
de705e53f2
fixed bug in used_tables() report of left expression of IN subquery
...
fixed number of rows of external field reported to optimizer
added check of choosen key (checked left expression tag)
(SCRUM fix for simple IN optimisation)
2003-08-07 11:16:02 +03:00
bell@sanja.is.com.ua
1119ec0e6f
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-simple_in-4.1
2003-08-05 09:58:00 +03:00
bell@sanja.is.com.ua
659650b4ea
merge
2003-08-05 09:56:21 +03:00
bell@sanja.is.com.ua
f59cfa6452
merge
2003-08-01 16:51:54 +03:00
bar@bar.mysql.r18.ru
f8791c3962
Derivation attribute was not processed correctly
...
by MAX/MIN in some cases:
SELECT coercibility(max(s1)) from t1;
Subselect collation and derivation was not processed
correctly:
create table a select (select s1 from t1);
select * from t1 where s1 = (select s2 from t1);
2003-07-30 14:15:25 +05: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
bell@sanja.is.com.ua
ec74bb8d76
independent ALL/ANY subselect on top of WHERE clause (subselect without GROUP BY or aggregate functions) optimisation
...
(SCRUM) (WL#1086)
2003-07-24 15:26:21 +03:00
bell@sanja.is.com.ua
7e34954b5e
new optimisation for ref_null (SCRUM) (WL#818)
2003-07-17 19:39:31 +03:00
bell@sanja.is.com.ua
8279740af4
new IN subquery engine added for simple IN with non-primary index but without NULL returning
...
(SCRUM) (part of WL#818)
2003-07-08 00:08:00 +03:00
bell@sanja.is.com.ua
6348e63f62
Optimisation if simple IN subselect with primary index
...
(SCRUM) (part of WL#818)
2003-07-07 18:40:19 +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
2ae8a00b2a
Item tree iterator
...
fixed dependence of items from reduced subquery
(SCRUM)
2003-07-02 13:12:18 +03:00