jperkin/jonathan@chorlton.adsl.perkin.org.uk
2a404c23ba
Merge jperkin@bk-internal.mysql.com:/home/bk/mysql-5.0-build
...
into chorlton.adsl.perkin.org.uk:/Users/jonathan/work/bk/mysql-5.0
2007-12-14 15:46:19 +00:00
jperkin/jonathan@chorlton.adsl.perkin.org.uk
89153ffa1b
post-commit:
...
Rationalise setting $FROM.
2007-12-14 15:43:54 +00:00
anozdrin/alik@station.
61b903f896
Merge station.:/mnt/raid/alik/MySQL/devel/5.0
...
into station.:/mnt/raid/alik/MySQL/devel/5.0-rt
2007-12-14 15:57:36 +03:00
mhansson/martin@linux-st28.site
cdeecc5154
Bug#32798: DISTINCT in GROUP_CONCAT clause fails when ordering by a column
...
with null values
For queries containing GROUP_CONCAT(DISTINCT fields ORDER BY fields), there
was a limitation that the DISTINCT fields had to be the same as ORDER BY
fields, owing to the fact that one single sorted tree was used for keeping
track of tuples, ordering and uniqueness. Fixed by introducing a second
structure to handle uniqueness so that the original structure has only to
order the result.
2007-12-14 12:24:20 +01:00
df@pippilotta.erinye.com
26bd6a2cf1
typo
2007-12-14 10:51:05 +01:00
df@pippilotta.erinye.com
be2d78e397
BUG#31880 make test failure from public bk tree
2007-12-14 10:47:01 +01:00
tomas@whalegate.ndb.mysql.com
70902cdd86
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-14 06:53:55 +01:00
tomas@whalegate.ndb.mysql.com
4bc90fe469
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-13 21:50:17 +01:00
tomas@whalegate.ndb.mysql.com
3a89198273
Bug #33168 Incorrectly handled parameters can make the TC crash during node failure
...
- during commit deadlock timeout needs to be at least 5 times db hearbeat
2007-12-13 21:31:38 +01:00
gluh@mysql.com/eagle.(none)
8be07b88df
additional fix
2007-12-13 23:46:29 +04:00
gluh@mysql.com/eagle.(none)
2627f775be
valgrind error fix
2007-12-13 21:13:08 +04:00
tomas@whalegate.ndb.mysql.com
6821f36837
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-13 15:02:10 +01:00
tomas@whalegate.ndb.mysql.com
f84b45244d
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-13 14:25:16 +01:00
gluh@mysql.com/eagle.(none)
9df070ed7c
after merge fix
2007-12-13 15:47:23 +04:00
tomas@whalegate.ndb.mysql.com
b009d97f84
Bug #33206 signal not reset properly in ndb
2007-12-13 12:03:11 +01:00
gluh@eagle.(none)
ffeb563d60
Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt
...
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
2007-12-13 14:53:24 +04:00
gluh@eagle.(none)
e039595029
Merge mysql.com:/home/gluh/MySQL/Merge/5.0
...
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
2007-12-13 14:52:49 +04:00
sergefp@foxhole.(none)
9f4f6acc53
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into mysql.com:/home/psergey/mysql-5.0-bug32198
2007-12-13 13:39:37 +03:00
sergefp@mysql.com
dd0854db54
BUG#32198: Comparison of DATE with DATETIME still not using indexes correctly
...
- Make conditions like "date_col $CMP$ 'datetime-const'" range-sargable
2007-12-13 13:38:22 +03:00
gluh@mysql.com/eagle.(none)
4e50bb0ebe
Merge mysql.com:/home/gluh/MySQL/Merge/4.1
...
into mysql.com:/home/gluh/MySQL/Merge/4.1-opt
2007-12-13 14:38:01 +04:00
mhansson/martin@linux-st28.site
33c4431d39
Bug #32858 : Erro: "Incorrect usage of UNION and INTO" does not take
...
subselects into account
It is forbidden to use the SELECT INTO construction inside UNION statements
unless on the last SELECT of the union. The parser records whether it
has seen INTO or not when parsing a UNION statement. But if the INTO was
legally used in an outer query, an error is thrown if UNION is seen in a
subquery. Fixed in 5.0 by remembering the nesting level of INTO tokens and
mitigate the error unless it collides with the UNION.
2007-12-13 11:19:05 +01:00
anozdrin/alik@station.
7d9dd21cd9
Merge station.:/mnt/raid/alik/MySQL/devel/5.0
...
into station.:/mnt/raid/alik/MySQL/devel/5.0-rt
2007-12-13 12:01:04 +03:00
tsmith@ramayana.hindu.god
31c1ca4f46
Merge ramayana.hindu.god:/home/tsmith/m/bk/50
...
into ramayana.hindu.god:/home/tsmith/m/bk/build/mrg12dec/50
2007-12-12 18:42:26 -07:00
istruewing@stella.local
9217f01136
Dummy push to help pushbuild running again.
...
Fixed case of comment.
2007-12-12 19:49:08 +01:00
kostja@bodhi.(none)
4c83efbb95
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into bodhi.(none):/opt/local/work/mysql-5.0-runtime
2007-12-12 06:00:10 +03:00
istruewing@stella.local
fb93ba7a08
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-12-11 23:18:14 +01:00
joerg@debian.(none)
2740e876f6
Merge debian.(none):/MySQL/M50/mysql-5.0
...
into debian.(none):/MySQL/M50/push-5.0
2007-12-11 21:00:11 +01:00
tomas@whalegate.ndb.mysql.com
faaac96f98
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2007-12-11 20:59:24 +01:00
joerg@debian.(none)
479ed82765
Merge debian.(none):/MySQL/M50/indent-5.0
...
into debian.(none):/MySQL/M50/push-5.0
2007-12-11 20:47:31 +01:00
mhansson/martin@linux-st28.site
867a786549
Bug#32848: Data type conversion bug in union subselects in MySQL 5.0.38
...
There were two problems when inferring the correct field types resulting from
UNION queries.
- If the type is NULL for all corresponding fields in the UNION, the resulting
type would be NULL, while the type is BINARY(0) if there is just a single
SELECT NULL.
- If one SELECT in the UNION uses a subselect, a temporary table is created
to represent the subselect, and the result type defaults to a STRING type,
hiding the fact that the type was unknown(just a NULL value).
Fixed by remembering whenever a field was created from a NULL value and pass
type NULL to the type coercion if that is the case, and creating a string field
as result of UNION only if the type would otherwise be NULL.
2007-12-11 20:15:03 +01:00
df@pippilotta.erinye.com
de716f1f86
No we're still at 5.0.54.
2007-12-11 17:38:49 +01:00
istruewing@stella.local
ba2d58ae5e
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-12-11 17:09:43 +01:00
tomas@whalegate.ndb.mysql.com
9a189642e7
remoce compiler warnings
2007-12-11 11:41:19 +01:00
tnurnberg@mysql.com/white.intern.koehntopp.de
3f0f275030
Bug#31990: MINUTE() and SECOND() return bogus results when used on a DATE
...
HOUR(), MINUTE(), ... returned spurious results when used on a DATE-cast.
This happened because DATE-cast object did not overload get_time() method
in superclass Item. The default method was inappropriate here and
misinterpreted the data.
Patch adds missing method; get_time() on DATE-casts now returns SQL-NULL
on NULL input, 0 otherwise. This coincides with the way DATE-columns
behave.
Also fixes similar bug in Date-Field now.
2007-12-11 10:12:05 +01:00
tsmith@ramayana.hindu.god
8ead8ee193
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
2007-12-10 17:00:25 -07:00
tsmith@ramayana.hindu.god
a19cac9305
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-bug15815
...
into ramayana.hindu.god:/home/tsmith/m/bk/maint/41
2007-12-10 16:58:16 -07:00
joerg@debian.(none)
d067b33783
Makefile.am
...
Formatting change to improve readability of the "test-*" targets.
2007-12-10 19:23:17 +01:00
thek@adventure.(none)
7be4b6b5f4
Test fails because of non deterministric function: show grants for current_user()
2007-12-10 16:16:21 +01:00
thek@adventure.(none)
0f1665da3c
Merge adventure.(none):/home/thek/Development/cpp/bug27440/my50-bug27440
...
into adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
2007-12-10 12:19:48 +01:00
df@pippilotta.erinye.com
a079cb9f49
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-release
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 12:02:02 +01:00
df@pippilotta.erinye.com
efd74cb680
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 10:52:05 +01:00
df@pippilotta.erinye.com
45c93a5866
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 10:42:58 +01:00
df@pippilotta.erinye.com
353cd3300a
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build
2007-12-10 10:41:34 +01:00
tomas@whalegate.ndb.mysql.com
ddbb4d425c
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-10 10:31:51 +01:00
tomas@whalegate.ndb.mysql.com
ae7d4929e0
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
2007-12-10 10:20:52 +01:00
tnurnberg@mysql.com/white.intern.koehntopp.de
8651aeb2c4
Bug#32770: LAST_DAY() returns a DATE, but somehow internally keeps track of the TIME.
...
LAST_DAY() says it returns a DATE, not a DATETIME, but didn't zero the time fields.
Adapted from a patch kindly supplied by Claudio Cherubino.
2007-12-10 09:17:18 +01:00
igor@olga.mysql.com
0e3e5cf40d
Forced compilers to remove the warning appeared after the patch
...
with a fix for bug 32694.
2007-12-09 11:53:07 -08:00
igor@olga.mysql.com
f781e154e3
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
...
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug27545
2007-12-08 16:22:45 -08:00
igor@olga.mysql.com
be5485ce6d
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
...
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug32815
2007-12-08 14:47:56 -08:00
timour/tkatchaounov@lapi.mysql.com
9be915e743
Fix for BUG#32694 "NOT NULL table field in a subquery produces invalid results"
...
The problem was that when convert_constant_item is called for subqueries,
this happens when we already started executing the top-level query, and
the field argument of convert_constant_item pointed to a valid table row.
In turn convert_constant_item used the field buffer to compute the value
of its item argument. This copied the item's value into the field,
and made equalities with outer references always true.
The fix saves/restores the original field's value when it belongs to an
outer table.
2007-12-08 23:05:00 +02:00