Sergei Golubchik
e27c338634
5.5.38 merge
2014-06-06 00:07:27 +02:00
Alexander Barkov
284479c085
Merge 5.3->5.5
2014-06-04 21:53:15 +04:00
Alexander Barkov
661daf16f1
MDEV-4858 Wrong results for a huge unsigned value inserted into a TIME column
...
MDEV-6099 Bad results for DATE_ADD(.., INTERVAL 2000000000000000000.0 SECOND)
MDEV-6097 Inconsistent results for CAST(int,decimal,double AS DATETIME)
MDEV-6100 No warning on CAST(9000000 AS TIME)
2014-06-04 20:32:57 +04:00
Sergei Golubchik
d3e2e1243b
5.5 merge
2014-05-09 12:35:11 +02:00
Alexander Barkov
d3d3a4b834
MDEV-4511 Assertion `scale <= precision' fails on GROUP BY TIMEDIFF with incorrect types
2014-04-24 16:59:01 +04:00
Alexander Barkov
8db600f951
MDEV-5041 Inserting a TIME with hour>24 into a DATETIME column produces a wrong value
2014-04-18 12:19:51 +04:00
Alexander Barkov
89e1715355
MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with MySQL-5.6 (and the SQL Standard)
2014-03-07 00:21:25 +04:00
Alexander Barkov
1c6d508a2b
Merge from 5.3
2014-04-18 13:41:15 +04:00
Sergey Vojtovich
d12c7adf71
MDEV-5314 - Compiling fails on OSX using clang
...
This is port of fix for MySQL BUG#17647863.
revno: 5572
revision-id: jon.hauglid@oracle.com-20131030232243-b0pw98oy72uka2sj
committer: Jon Olav Hauglid <jon.hauglid@oracle.com >
timestamp: Thu 2013-10-31 00:22:43 +0100
message:
Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM
Rename test() macro to MY_TEST() to avoid conflict with libc++.
2014-02-19 14:05:15 +04:00
Sergei Golubchik
5475cc7765
merge
2014-02-04 10:49:44 +01:00
Alexander Barkov
1563999018
MDEV-5450 Assertion `cached_field_ type == MYSQL_TYPE_STRING ||
...
ltime.time_type == MYSQL_TIMESTAMP_NONE ||
mysql_type_to_time_type(cached_field_type) == ltime.time_type'
fails with IF, ISNULL, ADDDATE
2014-02-03 23:29:22 +04:00
Sergei Golubchik
72c20282db
10.0-base merge
2014-02-03 15:22:39 +01:00
Sergei Golubchik
59d9d08e2b
5.5 merge
2014-02-01 00:54:03 +01:00
Alexander Barkov
7ea9d1e692
MDEV-5458 RQG hits 'sql/tztime.cc:799: my_time_t sec_since_epoch(...):
...
Assertion `mon > 0 && mon < 13' failed.'
2014-01-27 13:15:40 +04:00
Alexander Barkov
0ad8eaeb56
Merge 5.3 -> 5.5
2014-01-27 15:05:23 +04:00
Alexander Barkov
d106dc0597
MDEV-5504 Server crashes in String::length on SELECT with MONTHNAME, GROUP BY, ROLLUP
...
The crash happened because Item_func_monthname was derived from
Item_func_month, so Item_func_monthname::is_null() did not work fine.
Backporting a change from 5.5: Item_func_monthname is now derived from
Item_str_func.
2014-01-24 16:50:39 +04:00
Sergei Golubchik
d28d3ba40d
10.0-base merge
2013-12-16 13:02:21 +01:00
Sergei Golubchik
6bf10fac44
5.5 merge
2013-12-15 15:57:26 +01:00
Alexander Barkov
b97b9536c7
MDEV-4857 Wrong result of HOUR('1 00:00:00')
...
modified:
mysql-test/r/func_time.result
mysql-test/t/func_time.test
sql-common/my_time.c
sql/item_func.h
sql/item_timefunc.cc
sql/mysql_priv.h
sql/time.cc
2013-12-02 15:09:34 +04:00
Sergei Golubchik
c6d30805db
5.5 merge
2013-11-23 00:50:54 +01:00
Alexander Barkov
03f6778d61
MDEV-5298 Illegal mix of collations on timestamp
...
Fixed.
2013-12-10 13:34:59 +04:00
Alexander Barkov
2394fa67d4
MDEV-4859 Wrong value and data type of "SELECT MAX(time_column) + 1 FROM t1"
...
Fixed.
2013-11-21 11:46:36 +04:00
Alexander Barkov
c7355b1982
Merge 5.3->5.5
2013-11-21 13:09:08 +04:00
Alexander Barkov
5a8bd446ad
Merge 5.3->5.5
...
pending merges:
Alexander Barkov 2013-12-02 MDEV-4857 Wrong result of HOUR('1 00:00:00')
2013-12-02 15:50:35 +04:00
unknown
55de9b0468
merge 10-base->10.0
2013-11-11 23:40:53 +02:00
Alexander Barkov
e02ad98c63
Merge 5.5 -> 10.0-base
2013-11-08 20:59:08 +04:00
Alexander Barkov
d79d0c4045
merge 5.3 -> 5.5
2013-11-08 14:30:35 +04:00
Alexander Barkov
a33bb00144
MDEV-4842 STR_TO_DATE does not work with UCS2/UTF16/UTF32
2013-11-08 14:18:16 +04:00
unknown
9d83468e78
merge 5.5 -> 10.0-base
2013-09-25 21:07:06 +03:00
unknown
64d6d8334f
merge 5.3 -> 5.5
2013-09-25 17:16:13 +03:00
unknown
ec7da1561e
MDEV-5039: incorrect Item_func_regex::update_used_tables()
...
Other fix of maybe_null problem and revert of revno: 3608 "MDEV-3873 & MDEV-3876 & MDEV-3912 : Wrong result (extra rows) with ALL subquery from a MERGE view."
2013-09-25 15:30:13 +03:00
unknown
e5746665c9
merge 10.0-base -> 10.0
2013-09-26 21:20:15 +03:00
Sergei Golubchik
9af177042e
10.0-base merge.
...
Partitioning/InnoDB changes are *not* merged (they'll come from 5.6)
TokuDB does not compile (not updated to 10.0 SE API)
2013-09-21 10:14:42 +02:00
Sergei Golubchik
4ec2e9d7ed
5.5 merge and fixes for compiler/test errors
2013-09-18 13:07:31 +02:00
Alexander Barkov
2624022b53
Merge from 5.3
...
pending merges:
Alexander Barkov 2013-09-16 MDEV-4843 Wrong data type for TIMESTAMP('200...
2013-09-16 10:51:03 +04:00
Alexander Barkov
5d7b97b89e
MDEV-4843 Wrong data type for TIMESTAMP('2001-01-01','10:10:10')
2013-09-16 10:14:41 +04:00
Alexander Barkov
cf9cc19e91
MDEV-4724 Some temporal functions do not preserve microseconds
2013-09-13 14:43:10 +04:00
Alexander Barkov
51dcf4dcff
Merge from 5.3.
...
pending merges:
Alexander Barkov 2013-09-12 MDEV-4724 Some temporal functions do not pre...
2013-09-13 12:06:17 +04:00
Alexander Barkov
499ddea576
MDEV-4724 Some temporal functions do not preserve microseconds
2013-09-12 21:31:14 +04:00
Alexander Barkov
8b5da9f73b
Merge from 5.3
...
pending merges:
Alexander Barkov 2013-09-09 MDEV-4863 COALESCE(time_or_datetime) returns...
2013-09-10 10:08:11 +04:00
Alexander Barkov
9adb6e991e
MDEV-4841 Wrong character set of ADDTIME() and DATE_ADD()
2013-08-22 13:59:30 +04:00
unknown
35b2883643
merge 5.5 -> 10.0-base
2013-08-20 14:48:29 +03:00
Sergei Golubchik
a91a23858d
cleanup
...
* use sql_mode_for_dates() where appropriate.
* always specify an argument for sql_mode_for_dates()
(future-proof. easier to notice and fix if the caller
will start using thd from a local variable or an argument)
2013-08-12 22:05:23 +02:00
Alexander Barkov
cafe9d13f6
Merge from 5.3
...
pending merges:
Alexander Barkov 2013-08-08 MDEV-4653 Wrong result for CONVERT_TZ(TIME('...
2013-08-08 13:41:21 +04:00
Alexander Barkov
e9db0da787
MDEV-4653 Wrong result for CONVERT_TZ(TIME('00:00:00'),'+00:00','+7:5')
2013-08-08 12:58:28 +04:00
Sergei Golubchik
b7b5f6f1ab
10.0-monty merge
...
includes:
* remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING"
* introduce LOCK_share, now LOCK_ha_data is strictly for engines
* rea_create_table() always creates .par file (even in "frm-only" mode)
* fix a 5.6 bug, temp file leak on dummy ALTER TABLE
2013-07-21 16:39:19 +02:00
Sergei Golubchik
5f6380adde
10.0-base merge
2013-07-18 16:46:57 +02:00
Sergei Golubchik
97e640b9ae
5.5 merge
2013-07-17 21:24:29 +02:00
Sergei Golubchik
4d57bfdd48
temporal-related changes. don't apply sql_mode flags on the lower level (str_to_datetime),
...
do it on the upper level, in items that return temporal values.
update tests results to match 5.6 better and to fix old bugs.
2013-07-11 23:16:33 +02:00
Sergei Golubchik
d641028ff5
fix func_time.test - WEEK(), WEEKDAY(), WEEKOFYEAR() must require TIME_NO_ZERO_IN_DATE
2013-07-10 19:22:19 +02:00