jonas@perch.ndb.mysql.com
ca05bbf9d0
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2007-03-22 11:25:29 +01:00
jonas@perch.ndb.mysql.com
05a8790f0b
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-03-22 11:23:47 +01:00
jonas@perch.ndb.mysql.com
4a1c8d296b
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
...
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
2007-03-22 11:21:26 +01:00
jonas@perch.ndb.mysql.com
155e3d1139
ndb -
...
fix testprg
2007-03-22 11:20:38 +01:00
jonas@perch.ndb.mysql.com
0e1974d2bf
ndb - fix test prg
2007-03-22 11:17:57 +01:00
jonas@perch.ndb.mysql.com
b402e1240c
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
...
into perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
2007-03-22 11:13:21 +01:00
jonas@perch.ndb.mysql.com
702b5dad63
ndb -
...
fix test prg
2007-03-22 11:12:18 +01:00
mhansson/martin@linux-st28.site
749976ee5e
Merge mhansson@bk-internal:/home/bk/mysql-5.0-opt
...
into linux-st28.site:/home/martin/mysql/src/5.0o-bug24791
2007-03-22 10:58:16 +01:00
mhansson/martin@linux-st28.site
50077b6db9
Bug #24791 : Union with AVG-groups generates wrong results
...
The problem in this bug is when we create temporary tables. When
temporary tables are created for unions, there is some
inferrence being carried out regarding the type of the column.
Whenever this column type is inferred to be REAL (i.e. FLOAT or
DOUBLE), MySQL will always try to maintain exact precision, and
if that is not possible (there are hardware limits, since FLOAT
and DOUBLE are stored as approximate values) will switch to
using approximate values. The problem here is that at this point
the information about number of significant digits is not
available. Furthermore, the number of significant digits should
be increased for the AVG function, however, this was not properly
handled. There are 4 parts to the problem:
#1 : DOUBLE and FLOAT fields don't display their proper display
lengths in max_display_length(). This is hard-coded as 53 for
DOUBLE and 24 for FLOAT. Now changed to instead return the
field_length.
#2 : Type holders for temporary tables do not preserve the
max_length of the Item's from which they are created, and is
instead reverted to the 53 and 24 from above. This causes
*all* fields to get non-fixed significant digits.
#3 : AVG function does not update max_length (display length)
when updating number of decimals.
#4 : The function that switches to non-fixed number of
significant digits should use DBL_DIG + 2 or FLT_DIG + 2 as
cut-off values (Since fixed precision does not use the 'e'
notation)
Of these points, #1 is the controversial one, but this
change is preferred and has been cleared with Monty. The
function causes quite a few unit tests to blow up and they had
to b changed, but each one is annotated and motivated. We
frequently see the magical 53 and 24 give way to more relevant
numbers.
2007-03-22 10:56:47 +01:00
tomas@whalegate.ndb.mysql.com
47834f3933
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-03-22 10:36:26 +01:00
tomas@whalegate.ndb.mysql.com
8b964c2b12
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2007-03-22 10:34:46 +01:00
tomas@whalegate.ndb.mysql.com
753bc96eca
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-03-22 10:33:26 +01:00
holyfoot/hf@hfmain.(none)
08ff9d7132
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:45:42 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
a016f71c45
bug #16546 (DATETIME+0 not always coerced the same way)
...
fix for cast( AS DATETIME)+0 in 5.0 and above versions.
val_real now works using val_decimal for DATETIME Items
Superfluous val_real() methods deleted
2007-03-22 12:44:38 +04:00
holyfoot/hf@hfmain.(none)
655d2a6bcc
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:28:21 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
da5769fe6a
Merge mysql.com:/home/hf/work/mrg/mysql-4.1-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.0-opt
2007-03-22 12:26:32 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
e0f0507f99
bug #16546 (DATETIME + 0 not always coerced in the same way)
...
fix for cast( AS DATETIME) + 0 operation.
I just implemented Item_datetime_typecast::val() method
as it is usually done in other classes.
Should be fixed more radically in 5.0
2007-03-22 12:24:56 +04:00
holyfoot/hf@hfmain.(none)
2864f7aa24
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:22:17 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
1f9fd51c6d
Merge bk@192.168.21.1:mysql-5.0
...
into mysql.com:/home/hf/work/mrg/mysql-5.0-opt
2007-03-22 12:21:06 +04:00
holyfoot/hf@hfmain.(none)
59bcb87766
Merge bk@192.168.21.1:mysql-5.1
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:20:51 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
36e11d049e
merging
2007-03-22 12:19:41 +04:00
holyfoot/hf@hfmain.(none)
4a01582faa
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:03:13 +04:00
holyfoot/hf@hfmain.(none)
2204ef2a14
Merge mysql.com:/home/hf/work/25492/my51-25492
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 12:02:43 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
e7040f3691
Merge mysql.com:/home/hf/work/mrg/mysql-4.1-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.0-opt
2007-03-22 12:02:04 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
74b6ad7c7e
Merge mysql.com:/home/hf/work/25492/my50-25492
...
into mysql.com:/home/hf/work/mrg/mysql-5.0-opt
2007-03-22 12:01:40 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
55d9c2dd07
Merge mysql.com:/home/hf/work/25492/my41-25492
...
into mysql.com:/home/hf/work/mrg/mysql-4.1-opt
2007-03-22 12:01:05 +04:00
holyfoot/hf@hfmain.(none)
06f4cd938c
Merge mysql.com:/home/hf/work/25492/my50-25492
...
into mysql.com:/home/hf/work/25492/my51-25492
2007-03-22 12:00:41 +04:00
holyfoot/hf@mysql.com/hfmain.(none)
f602c08da8
Merge mysql.com:/home/hf/work/25492/my41-25492
...
into mysql.com:/home/hf/work/25492/my50-25492
2007-03-22 11:59:45 +04:00
holyfoot/hf@hfmain.(none)
ecbf43a3f1
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 11:50:24 +04:00
holyfoot/hf@hfmain.(none)
d24fb40374
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
...
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
2007-03-22 11:43:23 +04:00
igor@olga.mysql.com
03ae298ec3
Fixed bug #27362 : crash at evaluation of IN predicate when one
...
of its argument happened to be a decimal expression returning
the NULL value.
The crash was due to the fact the function in_decimal::set did
not take into account that val_decimal() could return 0 if
the decimal expression had been evaluated to NULL.
2007-03-22 00:05:36 -07:00
pekka@clam.(none)
2082a9e35b
Merge clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug24028
...
into clam.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug24028
2007-03-22 07:40:04 +01:00
tomas@whalegate.ndb.mysql.com
6e7528bd34
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-03-22 05:45:17 +01:00
tomas@whalegate.ndb.mysql.com
6bab2f13b7
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2007-03-22 05:44:39 +01:00
tsmith@quadxeon.mysql.com
c0d1f9fd46
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-03-22 01:22:22 +01:00
tsmith@quadxeon.mysql.com
54e7bc8daa
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
2007-03-22 01:04:39 +01:00
tsmith@quadxeon.mysql.com
4981d45997
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
2007-03-21 23:58:02 +01:00
kostja@bodhi.local
f017117d84
Update the result file with an updated comment.
2007-03-22 00:11:58 +03:00
kostja@bodhi.local
9279170e69
Merge bodhi.local:/opt/local/work/mysql-5.0-runtime
...
into bodhi.local:/opt/local/work/mysql-5.1-runtime
2007-03-22 00:11:11 +03:00
kostja@bodhi.local
54076b30d0
Try to fix events_logs_tests race on Windows.
2007-03-22 00:09:50 +03:00
kostja@bodhi.local
95597c8371
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into bodhi.local:/opt/local/work/mysql-5.1-runtime
2007-03-21 23:59:37 +03:00
kostja@bodhi.local
c011a25f66
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into bodhi.local:/opt/local/work/mysql-5.0-runtime
2007-03-21 23:57:12 +03:00
evgen@moonbone.local
e2c9c9cc20
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
...
into moonbone.local:/mnt/gentoo64/work/23345-bug-5.0-opt-mysql
2007-03-21 22:10:33 +03:00
evgen@moonbone.local
72bf9b4847
Bug#23345: Wrongly allowed INTO in a non-last select of a UNION.
...
INTO clause can be specified only for the last select of a UNION and it
receives the result of the whole query. But it was wrongly allowed in
non-last selects of a UNION which leads to a confusing query result.
Now INTO allowed only in the last select of a UNION.
2007-03-21 21:54:38 +03:00
iggy@recycle.(none)
c1e6a4c404
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into recycle.(none):/src/bug27144/my50-bug27144
2007-03-21 14:46:38 -04:00
omer@linux.site
c21a5bc8b1
Modifying mysql-test-run.pl to allow steeing of --secure-file-priv to 'mysql-test' when
...
running suites other tha the main one
2007-03-21 11:05:43 -07:00
iggy@recycle.(none)
762eae0bf1
Merge recycle.(none):/src/bug27144/my50-bug27144
...
into recycle.(none):/src/bug27144/my51-bug27144
2007-03-21 14:01:39 -04:00
iggy@recycle.(none)
a763917a6f
Bug#27144 sp-destruct.test is disabled on Windows
...
- Update test to run properly on Windows.
2007-03-21 13:58:11 -04:00
iggy@recycle.(none)
9800fbf0b6
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into recycle.(none):/src/bug23736/my50-bug23736
2007-03-21 13:43:03 -04:00
iggy@recycle.(none)
0d3aefcdf4
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint
...
into recycle.(none):/src/bug23736/my51-bug23736
2007-03-21 13:39:08 -04:00