mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision()
This change is a backport from 10.0 to 5.5 for: 1. The full patch for: MDEV-4841 Wrong character set of ADDTIME() and DATE_ADD()9adb6e991e
2. A small fragment of: MDEV-5298 Illegal mix of collations on timestamp03f6778d61
which overrides Item_temporal_hybrid_func::cmp_type(), and adds a new line into cache_temporal_4265.result.
This commit is contained in:
@ -54,7 +54,7 @@
|
||||
#define MIN_TIME_WIDTH 10 /* -HHH:MM:SS */
|
||||
#define MAX_TIME_WIDTH 16 /* -DDDDDD HH:MM:SS */
|
||||
#define MAX_TIME_FULL_WIDTH 23 /* -DDDDDD HH:MM:SS.###### */
|
||||
#define MAX_DATETIME_FULL_WIDTH 29 /* YYYY-MM-DD HH:MM:SS.###### AM */
|
||||
#define MAX_DATETIME_FULL_WIDTH 26 /* YYYY-MM-DD HH:MM:SS.###### */
|
||||
#define MAX_DATETIME_WIDTH 19 /* YYYY-MM-DD HH:MM:SS */
|
||||
#define MAX_DATETIME_COMPRESSED_WIDTH 14 /* YYYYMMDDHHMMSS */
|
||||
#define MAX_DATETIME_PRECISION 6
|
||||
|
Reference in New Issue
Block a user