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
dd9cbce47b
merge
2003-08-19 20:14:35 +03:00
monty@mashka.mysql.fi
10c4acfb4f
merge
2003-08-19 00:10:21 +03:00
bell@sanja.is.com.ua
011d905391
merge
2003-08-12 17:48:58 +03:00
bar@bar.mysql.r18.ru
e5e81f45a0
LIKE didn't work with non-default charset
2003-08-12 16:42:52 +05:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
bell@sanja.is.com.ua
71b39c3020
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-11 11:57:37 +03:00
bell@sanja.is.com.ua
a0fda66f00
merge
2003-08-11 11:51: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
bar@bar.mysql.r18.ru
a60acfcfe0
Old style charset() and set_charset() were removed.
2003-08-05 12:52:37 +05:00
bell@sanja.is.com.ua
62eaaf22f3
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-top3-4.1
2003-07-29 20:26:14 +03:00
bar@bar.mysql.r18.ru
a057f75bc1
Fixed that this sequence didn't produce an error as it should have:
...
CREATE TABLE t1 (s1 CHAR(5) COLLATE latin1_german1_ci,
s2 CHAR(5) COLLATE latin1_swedish_ci);
SELECT * FROM t1 WHERE s1 = s2;
2003-07-29 17:39:39 +05:00
bell@sanja.is.com.ua
af41a59af7
merge
2003-07-22 11:18:51 +03:00
bar@bar.mysql.r18.ru
46813d545d
All functions now use the same function to aggregate comparison
...
and result types
2003-07-18 15:50:40 +05:00
bar@bar.mysql.r18.ru
e6cd54379e
IN now aggregates all argument types for comparison
2003-07-18 14:03:54 +05:00
bar@bar.mysql.r18.ru
c8ecb45223
CASE optimization
2003-07-18 13:11:47 +05:00
bar@bar.mysql.r18.ru
ccece982fb
Some fixes in CASE.
...
Test suit was extended to conver various arguments mixes.
2003-07-18 12:42:35 +05:00
bar@bar.mysql.r18.ru
a2f7ef9c8b
CASE now aggregates all argument types instead of using the only one argument
2003-07-17 22:58:05 +05:00
bar@bar.mysql.r18.ru
8c06421c12
CASE stores first_expr and else_expr in args[] array now.
...
This allowed to reuse a lot of code.
2003-07-17 16:07:56 +05:00
bell@sanja.is.com.ua
a6b1a6fe3a
merge
2003-07-16 13:58:11 +03:00
bar@bar.mysql.r18.ru
a35fff5bc3
Item_func_null doesn't have a separate Item for the first argument anymore.
...
args[0] is used instead. This allowed to resuse a lot of code.
2003-07-16 11:29:16 +05:00
bar@bar.mysql.r18.ru
e26b90c238
COALESCE now aggregates its argument types in this way:
...
if some of the arguments is STRING_RESULT the STRING_RESULT
else if some of the arguments is REAL_RESULT then REAL_RESULT
else INT_RESULT
2003-07-14 19:28:36 +05:00
ram@mysql.r18.ru
8e23f54fec
backport fix for the bug #803 : INTERVAL(NULL, ....)
2003-07-14 12:39:10 +05:00
ram@mysql.r18.ru
82942ebf9d
Fix for the bug #803 .
...
Now INTERVAL(NULL, N1, N2, ...) returns NULL.
2003-07-10 15:27:02 +05:00
bell@sanja.is.com.ua
7ad5331768
merge
2003-07-07 10:30:52 +03:00
bar@bar.mysql.r18.ru
d209cf70f8
More code was reused
2003-07-04 20:19:07 +05:00
bar@bar.mysql.r18.ru
07f94cb7cd
Row comparison now does compare field collations, e.g.
...
ROW('a','b','c) = ROW('A' collate latin1_bin,'b','c') returns 0
When a number is compared to a string, character sets and
collations are not aggregated. e.g. this returned error in 4.1.0:
SELECT 1=_latin2'1';
because character sets was aggregated, and 1 was considered as
a string of latin1 charset during this aggregation.
2003-07-03 17:00:01 +05:00
bell@sanja.is.com.ua
73fdf52fa2
merged
2003-07-03 11:59:57 +03:00
serg@serg.mylan
dcd13cf264
bug #504 : in "datetime op int" comparison int wasn't converted to datetime
2003-07-02 17:12:50 +02:00
bar@bar.mysql.r18.ru
74b74ad5e7
There is no Item->binary() anymore. It was remain from 4.0.
2003-07-02 18:34:43 +05: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
bell@sanja.is.com.ua
5eaaf8e732
after review changes (SCRUM)
...
removed outer resolving flag (because of movingtransformation after fix_fields)
2003-07-02 01:45:22 +03:00
bell@sanja.is.com.ua
100a101ab6
Merge
2003-06-30 13:14:18 +03:00
bell@sanja.is.com.ua
7c799b17b6
merged
2003-06-29 15:35:48 +03:00
bar@bar.mysql.r18.ru
d31de69795
str0 IN (str1, str2, ...) now works according to collation rules
2003-06-27 13:52:38 +05:00
bar@bar.mysql.r18.ru
52a7f95678
BETWEEN now works according to collation rules
2003-06-27 12:02:08 +05:00
monty@mashka.mysql.fi
34919a03c4
Added thread variable max_seeks_for_key
...
Change optimizer to prefer key lookups before table scan
Change table scans to be done after tables with constrains on scanned table
2003-06-27 03:04:54 +03:00
bar@bar.mysql.r18.ru
65335d37ff
New messages for 3-adic and N-adic operations
...
REPLACE() now processed arguments collations according to standard
2003-06-26 15:45:04 +05:00
bell@sanja.is.com.ua
e8b1e21615
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-cond_count-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-top2-4.1
2003-06-26 11:31:13 +03:00
bell@sanja.is.com.ua
2d120d32fa
cond_count moved to SELECT_LEX_NODE
...
fixed BUG #726
2003-06-26 11:09:11 +03:00
monty@mashka.mysql.fi
7655f05dc2
LEFT JOIN optimization: Change LEFT JOIN to normal join if possible
2003-06-26 05:38:19 +03:00
bell@sanja.is.com.ua
7b77c5a2d3
merged
2003-06-25 23:52:15 +03:00
bar@bar.mysql.r18.ru
cb4539e8de
String comparison functions now use the same DTCollation with
...
CONCAT() and other string functions. This allows to reuse a lot
if code and to simplify further development.
2003-06-24 17:12:07 +05:00
bar@bar.mysql.r18.ru
7371150f2d
New class DTCollation (SQL:2003 calls it "declared type collation")
...
It's a combination of collation and its derivation (precedence order)
2003-06-24 15:11:07 +05:00
bar@bar.mysql.r18.ru
4c7714b7f9
item_cmpfunc.cc:
...
Temporarily fix for test failure
,.
2003-06-20 19:05:45 +05:00
bar@bar.mysql.r18.ru
f78a77798c
item_cmpfunc.cc:
...
Rewritten in nicer way
,
2003-06-20 18:45:28 +05:00
monty@narttu.mysql.fi
e090f2d0cc
Fixes for make_win_src_distributions
...
Removed compiler warnings
2003-06-15 23:24:37 +03:00
venu@myvenu.com
8f57d0e2e4
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into myvenu.com:/home/venu/work/sql/dev-4.1
2003-06-03 18:45:53 -07:00
venu@myvenu.com
27469ec8b9
Windows build fixups with the latest source
2003-06-03 18:45:07 -07:00
ram@mysql.r18.ru
a36d4212fc
Moved spatial functions to the sql/item_geofunc.cc file.
2003-05-30 15:22:34 +05:00