bell@sanja.is.com.ua
f5e253dc2f
reporting empty result added in case of max/min optimisation of ALL/ANY/SOME subqueries
...
fixed null processing in NOT operation used in ALL subquery (Bug #6247 )
2004-11-18 18:10:07 +02:00
bell@sanja.is.com.ua
bc5a9111d7
backport Serg's fix of FT interface (BUG#6523)
2004-11-16 22:58:02 +02:00
bell@sanja.is.com.ua
27395a2fb1
fixed joincleunup to avoid double deletin tables, and too earlyfull cleanup in case of EXPLAIN
...
fixed cleunup of TMP_TABLE_PARAM
(BUG#6406)
2004-11-16 00:16:04 +02:00
bell@sanja.is.com.ua
77540c8996
moved procedure list initialization (BUG#6517)
2004-11-15 14:37:40 +02:00
monty@mysql.com
47bbf768d4
Fixes after merge with 4.1
...
FOUND is not a reserved keyword anymore
Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
2004-11-03 12:39:38 +02:00
monty@mysql.com
afbe601302
merge with 4.1
2004-10-29 19:26:52 +03:00
bell@sanja.is.com.ua
3ae044c24f
removed incorrect error message about aggregate functions
...
improved mechanisn of detection posibility to be NULL for single row queries
switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
(changes to make subselects test working with PS protocol)
2004-10-27 21:11:06 +03:00
konstantin@mysql.com
e3abcb6b53
A fix and test case for Bug#6088 "FOUND_ROWS returns wrong values for
...
prepared statements when LIMIT is used" and post-review comments.
The fix changes the approach we calculate the need for ORDER BY
in UNION: the previous was not PS friendly, as it damaged SELECT_LEX
options in case of single select.
2004-10-22 22:51:16 +04:00
igor@rurik.mysql.com
4c8e391718
table.h, sql_select.h:
...
Added the code processing on expressions for applying
multiple equalities.
sql_select.cc:
Post-merge fixes for Item_equal patch.
Added the code processing on expressions for applying
multiple equalities.
Many files:
Post-merge fixes for Item_equal patch.
item_cmpfunc.cc:
Post-merge fixes for Item_equal patch.
Fixed a problem when an equality field=const cannot be applied to
the predicate P(field,c) for constant propagation as a conversion
of field is needed.
item.h, item.cc:
Fixed a problem when an equality field=const cannot be applied to
the predicate P(field,c) for constant propagation as a conversion
of field is needed.
2004-10-19 14:12:55 -07:00
bell@sanja.is.com.ua
f11bcefae1
fixed error handling if creating derived table failed
...
single row subquery always can return NULL (no rows found) (BUG#5590)
2004-09-17 19:08:46 +03:00
monty@mysql.com
49cd04b510
Merge on pull
2004-09-09 07:26:28 +03:00
monty@mysql.com
31122efde7
Merge with 4.1
...
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
bell@sanja.is.com.ua
5d42c492d6
fixed temporary table processing expresions of subqueries and removed wrong restrictions of field resolving (BUG#5326)
2004-09-06 13:00:24 +03:00
bell@sanja.is.com.ua
771c2998ed
ORDER clause printing fixed (BUG#5156)
2004-08-31 11:58:45 +03:00
hf@deer.(none)
cce03195dc
Merging fix
2004-08-24 15:03:44 +05:00
hf@deer.(none)
43a853dd4d
Merging
2004-08-24 12:58:21 +05:00
bell@sanja.is.com.ua
9d71f85121
subselect test split on two tests because gis extention can be absent
2004-08-24 10:15:39 +03:00
bell@sanja.is.com.ua
6fcd27e9cd
after review fixes:
...
allowed parsing of table fields inside aggregate functions
added new tests of fields resolving in grouping
2004-08-23 22:31:01 +03:00
bell@sanja.is.com.ua
3ca433e332
merge
2004-08-23 15:50:59 +03:00
hf@deer.(none)
6c136f99bf
Proposed fix for bug #5003 (subselect with MIN() and LIKE crashes server)
...
We have next problem here:
active_index is wrong in the subselect's handler on the second val_int() call.
Optimizer sees that we can use index-read for that kind of condition,
and matching_cond() (sql/opt_sum.cc) doesn't. I suspect, proper solution is
to add appropriate code to the matching_cond() but now just added
missed initialization.
2004-08-22 00:06:19 +05:00
serg@serg.mylan
a29c9d3707
Bug #4769 - ft in subqueries
2004-08-19 18:40:15 +02:00
bell@sanja.is.com.ua
0ce931947e
skip resolving field in table list if table list is not accessable due to groupping (BUG#4814)
2004-08-13 10:01:30 +03:00
bell@sanja.is.com.ua
d7ae5de89b
in case of compound index fill all parts in optimized IN (BUG#4435)
2004-08-12 17:31:23 +03:00
bell@sanja.is.com.ua
8bc592f1b0
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
2004-07-20 22:10:47 +03:00
serg@serg.mylan
8d080cbcfa
manual merge
2004-07-20 15:34:57 +02:00
bell@sanja.is.com.ua
1e3f10a4b1
mark subquery in the FROM clause like derived and quoate all identifiers (BUG#4609)
2004-07-20 08:48:28 +03:00
monty@mysql.com
1e31199995
Merge with 4.1.3-beta
2004-07-07 11:29:39 +03:00
bell@sanja.is.com.ua
130740248b
aggregate functions check during substitution made only for single row subselects (BUG#4400)
...
restoring current senect pointer before PS rexecution (backport from 5.0)
removed spaces at lines ends
2004-07-04 08:46:28 +03:00
bell@sanja.is.com.ua
5ed07df98a
Merge
2004-06-22 13:48:51 +03:00
bell@sanja.is.com.ua
c6cd51798b
post-review changes (Bug#4090)
2004-06-22 13:41:57 +03:00
ram@gw.mysql.r18.ru
f3d11147c9
after merge fix
2004-06-22 14:48:29 +05:00
bell@sanja.is.com.ua
cb0f607c5e
Merge
2004-06-22 12:38:23 +03:00
monty@mysql.com
d69a36d118
merge
2004-06-21 10:24:40 +03:00
monty@mysql.com
fd0153304d
Fixed some byte order bugs with prepared statements on machines with high-byte-first. (Bug #4173 )
...
Fixed problem with NULL and derived tables (Bug #4097 )
Cleanup of new pushed code
2004-06-18 03:02:29 +03:00
ram@gw.mysql.r18.ru
5790b17ecb
a test case (Bug #4102 Crash with a DBUG window after a request)
2004-06-17 12:47:58 +05:00
bell@sanja.is.com.ua
002364c20f
new length detection for non-string in UNION (BUG#4067)
2004-06-16 16:06:30 +03:00
paul@ice.snake.net
fd1d01e098
Language/consistency edits to error messages
...
and affected test results.
2004-06-15 22:18:20 -05:00
paul@kite-hub.kitebird.com
f4dbb250fd
Language/consistency edits to error messages
...
and affected test results.
2004-06-15 15:38:36 -05:00
bell@sanja.is.com.ua
d2c585df31
fixed field resolving mode fo INSERT/REPLACE and CRETE with SELECT (BUG#4090)
2004-06-13 22:39:09 +03:00
bell@sanja.is.com.ua
be642b9bcd
EXISTS(SELECT * ...)
...
close table before opening in optimize
2004-06-10 21:33:15 +03:00
bell@sanja.is.com.ua
266dd53da2
if exists should not be used inside test
...
removed influence of some tests on other tests
2004-05-28 21:31:51 +03:00
pem@mysql.com
71eddc362e
Merging 4.1 to 5.0.
2004-05-26 17:04:45 +02:00
bell@sanja.is.com.ua
d42d709171
after review changes
2004-05-19 17:07:28 +03:00
pem@mysql.com
df69f93ae9
Post-merge post-merge fix (new error codes for fparser).
2004-05-14 16:10:31 +02:00
bell@sanja.is.com.ua
bb34b56bfd
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-explain-4.1
2004-05-14 15:29:23 +03:00
bell@sanja.is.com.ua
a9501fd7aa
after merge fix
2004-05-14 15:28:59 +03:00
bell@sanja.is.com.ua
3f6857112c
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-all_any2-4.1
2004-05-14 14:45:27 +03:00
bell@sanja.is.com.ua
71a374dc13
Merge
2004-05-14 13:33:02 +03:00
bell@sanja.is.com.ua
4c774e0c18
fixed flags of printed query
2004-05-13 23:47:20 +03:00
timour@mysql.com
f3dab7be12
Merge of WL#1469 with latest bk sources.
2004-05-11 12:15:58 +03:00