igor@olga.mysql.com
ce0be732d0
Fixed bug #24856 : the result set of a ROLLUP query with DISTINCT could lack
...
some rollup rows (rows with NULLs for grouping attributes) if GROUP BY
list contained constant expressions.
This happened because the results of constant expressions were not put
in the temporary table used for duplicate elimination. In fact a constant
item from the GROUP BY list of a ROLLUP query can be replaced for an
Item_null_result object when a rollup row is produced .
Now the JOIN::rollup_init function wraps any constant item referenced in
the GROYP BY list of a ROLLUP query into an Item_func object of a special
class that is never detected as constant item. This ensures creation of
fields for such constant items in temporary tables and guarantees right
results when the result of the rollup operation first has to be written
into a temporary table, e.g. in the cases when duplicate elimination is
required.
2007-04-29 16:04:43 -07:00
holyfoot/hf@mysql.com/hfmain.(none)
2fe860e84b
'no DBUG_RETURN' warning fixed
2007-04-30 01:06:16 +05:00
evgen@moonbone.local
7505fc8228
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into moonbone.local:/mnt/gentoo64/work/16377-bug-5.0-opt-mysql
2007-04-29 20:26:57 +04:00
evgen@moonbone.local
4382bf720b
type_datetime.result, type_datetime.test:
...
The test case for the bug#27590 is altered.
2007-04-29 20:23:05 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
62b4383b20
merging fix
2007-04-29 19:59:31 +05:00
holyfoot/hf@hfmain.(none)
76afa007aa
Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt
...
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
2007-04-29 19:04:05 +05:00
holyfoot/hf@hfmain.(none)
e0b6a9baa0
Merge bk@192.168.21.1:mysql-5.1
...
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
2007-04-29 18:52:14 +05:00
holyfoot/hf@mysql.com/hfmain.(none)
224bb6c4b0
Merge mysql.com:/d2/hf/mrg/mysql-4.1-opt
...
into mysql.com:/d2/hf/mrg/mysql-5.0-opt
2007-04-29 18:46:20 +05:00
holyfoot/hf@mysql.com/hfmain.(none)
35ca5a4f87
merging fix
2007-04-29 18:46:06 +05:00
holyfoot/hf@mysql.com/hfmain.(none)
e2f6bd86b4
Merge bk@192.168.21.1:mysql-5.0
...
into mysql.com:/d2/hf/mrg/mysql-5.0-opt
2007-04-29 18:42:50 +05:00
holyfoot/hf@mysql.com/hfmain.(none)
2d8037610c
Merge bk@192.168.21.1:mysql-4.1
...
into mysql.com:/d2/hf/mrg/mysql-4.1-opt
2007-04-29 18:39:45 +05:00
kaa@polly.local
3bed463963
If isinf() is not available on a target platform, use our own imlementation via finite() and isnan(). If either of the last two is not available as well, use simple replacements which are platform-neutral, but slower than compiler intrinsics.
2007-04-29 16:57:17 +04:00
holyfoot/hf@hfmain.(none)
2fcebef31f
Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt
...
into mysql.com:/d2/hf/mrg/mysql-5.1-opt
2007-04-29 13:19:32 +05:00
tomas@whalegate.ndb.mysql.com
c49c7c5b8a
enabled test
2007-04-29 10:18:13 +02:00
gshchepa/uchum@gshchepa.loc
90864c2874
Patch to eliminate compilation errors under VC after bug #13191 fix.
2007-04-29 12:56:46 +05:00
gshchepa/uchum@gshchepa.loc
389cf7ddfc
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt
...
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-5.0-opt-13191
2007-04-29 12:09:08 +05:00
gshchepa/uchum@gshchepa.loc
fbed482689
Patch to eliminate compilation errors under VC after bug #13191 fix.
2007-04-29 11:56:23 +05:00
gshchepa/uchum@gshchepa.loc
85d70a9652
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt
...
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-5.0-opt-13191
2007-04-29 08:51:51 +05:00
gshchepa/uchum@gshchepa.loc
87c6ef4c30
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt
...
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt-13191
2007-04-29 05:31:53 +05:00
gshchepa/uchum@gshchepa.loc
707d975a13
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt
...
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-5.0-opt
2007-04-29 05:25:43 +05:00
gshchepa/uchum@gshchepa.loc
bdebe3f5b4
Adjusted results after the fix for bug #20710 .
2007-04-29 05:06:14 +05:00
gshchepa/uchum@gshchepa.loc
3adcb94ede
Fixed bug #13191 .
...
INSERT...ON DUPLICATE KEY UPDATE may cause error 1032:
"Can't find record in ..." if we are inserting into
InnoDB table unique index of partial key with
underlying UTF-8 string field.
This error occurs because INSERT...ON DUPLICATE uses a wrong
procedure to copy string fields of multi-byte character sets
for index search.
2007-04-29 04:16:17 +05:00
gshchepa/uchum@gshchepa.loc
d85c76f637
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt
...
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-5.0-opt
2007-04-29 02:46:27 +05:00
gshchepa/uchum@gshchepa.loc
3322b3c0b9
Fixed bug #20710 .
...
This bug occurs when error message length exceeds allowed limit: my_error()
function outputs "%s" sequences instead of long string arguments.
Formats like %-.64s are very common in errmsg.txt files, however my_error()
function simply ignores precision of those formats.
2007-04-29 00:50:33 +05:00
kaa@polly.local
2b8bad592f
Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint
...
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
2007-04-28 23:27:24 +04:00
kaa@polly.local
edf6b73302
Avoid compiler warnings in Windows builds introduced by the patch for bug #24912 "problems with bigint in abs() ceiling() ruond() truncate() mod()"
2007-04-28 23:25:31 +04:00
kaa@polly.local
95a0c5e757
Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint
...
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
2007-04-28 23:20:19 +04:00
kaa@polly.local
561bd78654
Merge polly.local:/home/kaa/src/maint/bug24912/my50-bug24912
...
into polly.local:/home/kaa/src/maint/mysql-5.0-maint
2007-04-28 20:26:14 +04:00
kaa@polly.local
83e8b70983
Merge polly.local:/home/kaa/src/maint/bug24912/my51-bug24912
...
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
2007-04-28 20:08:58 +04:00
kaa@polly.local
a45b654ed7
Merge polly.local:/home/kaa/src/maint/bug24912/my50-bug24912
...
into polly.local:/home/kaa/src/maint/bug24912/my51-bug24912
2007-04-28 20:04:03 +04:00
kaa@polly.local
050c6723e8
Fix for bug #24912 "problems with bigint in abs() ceiling() round() truncate() mod()" and a number of related problems:
...
- unsigned flag was not handled correctly for a number of mathematical funcions, which led to incorrect results
- passing large values as the number of decimals to ROUND() resulted in incorrect results and even server crashes in some cases
- reverted the fix and the testcase for bug #10083 as it violates the manual
- fixed some testcases which relied on broken ROUND() behavior
2007-04-28 20:01:01 +04:00
tsmith@quadxeon.mysql.com
5d7a264cf4
mtr_report.pl:
...
this has been driving me crazy: s/where/were/ in some messages
2007-04-28 10:13:27 +02:00
Justin.He/justin.he@dev3-240.dev.cn.tlan
31f9088992
Bug#19710
...
revert patch because these two test cases still fail on Solaris & Power BE machines
2007-04-28 10:32:14 +08:00
tsmith@quadxeon.mysql.com
65dbbb9fb0
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-04-28 02:15:59 +02:00
tsmith@quadxeon.mysql.com
6348d0806c
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-04-28 01:50:16 +02:00
tsmith@quadxeon.mysql.com
acee0c8e20
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
2007-04-28 01:48:59 +02:00
tsmith@quadxeon.mysql.com
df2d9ca90a
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
2007-04-28 01:40:06 +02:00
tsmith@quadxeon.mysql.com
5b4264b8fb
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-04-28 01:37:59 +02:00
tsmith@quadxeon.mysql.com
bfb0448a4d
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-04-28 01:36:09 +02:00
tsmith@quadxeon.mysql.com
33a74e41fc
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/b27653/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
2007-04-28 01:31:15 +02:00
tsmith@quadxeon.mysql.com
b90b0c7eb2
Bug #27390 : mysqld_multi --config-file= not working as documented
...
Recognize the --no-defaults, --defaults-file and --defaults-extra-file
options. Treat old --config-file argument as if --defaults-extra-file
had been specified instead.
Plus a few other defaults-related cleanups.
2007-04-28 01:27:54 +02:00
evgen@sunlight.local
4b5c387f5d
Additional fix for the bug#27590.
2007-04-28 00:04:50 +04:00
tomas@whalegate.ndb.mysql.com
870c2a5b3f
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
2007-04-27 21:01:23 +02:00
tomas@whalegate.ndb.mysql.com
d424f0d890
ndb: missing init and copy of m_force_var_part
2007-04-27 21:00:21 +02:00
evgen@moonbone.local
e0b8b6e596
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into moonbone.local:/mnt/gentoo64/work/16377-bug-5.0-opt-mysql
2007-04-27 21:26:47 +04:00
evgen@moonbone.local
72e53ede3a
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into moonbone.local:/mnt/gentoo64/work/27590-bug-5.0-opt-mysql
2007-04-27 21:07:05 +04:00
kaa@polly.local
01b20b95e1
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into polly.local:/home/kaa/src/maint/mysql-5.0-maint
2007-04-27 15:51:16 +04:00
tomas@whalegate.ndb.mysql.com
10be9bf531
Bug#24951, Data nodes died(lgman) during creating tables
...
- reverting wrong part in patch
2007-04-27 13:50:33 +02:00
kaa@polly.local
d4c25d308c
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint
...
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
2007-04-27 15:48:11 +04:00
tomas@whalegate.ndb.mysql.com
f53e1929a2
Bug#24560 Data nodes died(lgman) if undo_buffer_size from logfile group has small value
2007-04-27 12:26:13 +02:00