|
|
b438bf21f6
|
expression: give the full error message when the result of calling the exp function is out of range (#11862)
|
2019-08-27 09:35:35 +08:00 |
|
|
|
46f1dc15f6
|
types: convert EOF error to ErrTruncate when parse duration (#11865)
* fix time_func
* check warnings
|
2019-08-26 17:36:55 +08:00 |
|
|
|
bc4a32431f
|
expression: remove unnecessary convertIntToUint. fix error in… (#11640)
|
2019-08-12 11:13:10 +08:00 |
|
|
|
8fac5e23ed
|
expression: fix a bug in when comparing bit with string (#11654)
|
2019-08-07 16:42:10 +08:00 |
|
|
|
050172c248
|
parser: support cast as real (#11564)
|
2019-08-05 19:38:10 +08:00 |
|
|
|
cb4b778268
|
expression: deduce result type for multi-argument functions like IF wrongly in some cases (#11605)
|
2019-08-05 19:30:10 +08:00 |
|
|
|
5f9fe27a14
|
expression: the quote function should treat null expr as NULL… (#11592)
|
2019-08-05 19:05:37 +08:00 |
|
|
|
829ba98907
|
expression: remove the NotNullFlag for aggregation func MAX/MIN when inferring type (#11343)
|
2019-08-05 17:41:40 +08:00 |
|
|
|
ddafdff8f7
|
expression: fix date_add func in SECOND INTERVAL (#11312)
|
2019-08-05 15:22:16 +08:00 |
|
|
|
1c43f55f90
|
parser: support cast as float (#11519)
|
2019-08-01 14:30:07 +08:00 |
|
|
|
1c0b366295
|
fix ConvertJSONToInt unsigned bug (#11483)
|
2019-08-01 10:40:04 +08:00 |
|
|
|
ab45834fd2
|
fix error in ConvertJSONToInt error msg (#11493)
All tests passed, auto merged by Bot
|
2019-07-31 11:09:11 +08:00 |
|
|
|
768f61f52f
|
expression: handle builtin time getInterval from Decimal\Real (#11479)
All tests passed, auto merged by Bot
|
2019-07-30 17:16:52 +08:00 |
|
|
|
5c07ccec3a
|
expression: make regex binary and rlike binary be case sensitive (#11502)
|
2019-07-29 16:56:59 +08:00 |
|
|
|
1ae5e4ce98
|
parser: support cast as double (#11443)
|
2019-07-29 10:28:12 +08:00 |
|
|
|
5c35082f6a
|
expression: handle builtin add_date/sub_date func overflow (#11472)
|
2019-07-27 18:22:21 +08:00 |
|
|
|
566c3278e3
|
expression: improve the compatibility with mysql when datatime is invalid. (#11445)
All tests passed, auto merged by Bot
|
2019-07-25 18:12:06 +08:00 |
|
|
|
dcadc0acfb
|
types: fix uint64 overflow bug in ConvertJSONToFloat (#11355)
All tests passed, auto merged by Bot
|
2019-07-25 12:52:40 +08:00 |
|
|
|
c95d42a537
|
expression, session: handle CASE WHEN specially when folding constant during outerJoin Simplification (#11105)
Test pass, auto merge by Bot
|
2019-07-24 19:41:17 +08:00 |
|
|
|
abbca5375e
|
*: add trace support for subquery (#11182)
Test pass, auto merge by Bot
|
2019-07-24 19:03:47 +08:00 |
|
|
|
f8912049f5
|
*:add opt_rule_blacklist in mysql tables. (#11096)
|
2019-07-24 13:36:29 +08:00 |
|
|
|
d977edf8a3
|
Function SUBTIME ADDTIME should return NULL with a warning if… (#11262)
|
2019-07-19 19:49:40 +08:00 |
|
|
|
ddb6132e82
|
expression, types: fix Mod(%), Multiple(*), Minus(-) operators meets inconsistent 0 results. (#11251)
|
2019-07-19 12:37:25 +08:00 |
|
|
|
5aef053c16
|
expression: fix getIntervalFromDecimal in DATE_ADD() (#11297)
|
2019-07-18 23:18:41 +08:00 |
|
|
|
dd06ebb315
|
fix microseconds behaviour in DATE_ADD() (#11280)
|
2019-07-17 14:39:55 +08:00 |
|
|
|
7403ce331e
|
planner: fix NAME_CONST function compatibility (#11241)
|
2019-07-16 11:15:54 +08:00 |
|
|
|
a090e6be29
|
Function INSERT should be NULL if any argument is NULL (#11237)
|
2019-07-15 11:33:06 +08:00 |
|
|
|
8d2c9be461
|
CONVERT_TZ should return NULL if its arguments are invalid. (#11176)
|
2019-07-12 16:33:01 +08:00 |
|
|
|
7b859c1907
|
executor: fix a bug for 'int column <cmp> non-int constant' (#11050)
|
2019-07-11 11:33:22 +08:00 |
|
|
|
f409f0b4cf
|
expressio: fix data race of rand function (#11168)
|
2019-07-10 17:39:38 +08:00 |
|
|
|
a737d26e4f
|
*: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
|
2019-07-08 13:47:36 +08:00 |
|
|
|
4fd815b40f
|
parser: parse until the last character (#11021)
|
2019-07-03 11:59:34 +08:00 |
|
|
|
cf5f42b8ec
|
infoschema, sessionctx: add support for mysqldump from 8.0 (#10829)
|
2019-06-26 16:56:42 +08:00 |
|
|
|
cd8c4e6e37
|
*: add a blacklist to disallow pushing down specific expressions (#10688)
|
2019-06-12 13:54:33 +08:00 |
|
|
|
8883c7819c
|
expression: improve UT coverage of expression package (#10701)
|
2019-06-04 15:55:06 +08:00 |
|
|
|
ae58fd01f1
|
expression: improve UT coverage of expression package to 80% (#10641)
|
2019-05-30 11:05:22 +08:00 |
|
|
|
627bd69235
|
type: fix float over flow when converting a decimal to an uint by float (#10405)
|
2019-05-15 19:33:18 +08:00 |
|
|
|
7deedf8418
|
expression: fix issue that period_diff is not compatible with MySQL 8.0 (#10383)
|
2019-05-14 17:40:54 +08:00 |
|
|
|
d241d741b9
|
expression: addition between datetime and interval is not compatible with Mysql (#10329)
|
2019-05-10 15:20:57 +08:00 |
|
|
|
c2e83af7a1
|
Support add datetime with real interval (#10347)
|
2019-05-09 15:59:03 +08:00 |
|
|
|
37e824134f
|
expression: check if period is valid in period_add (#10380)
|
2019-05-09 11:11:02 +08:00 |
|
|
|
2133b06541
|
expression: fix cast(-num as datetime) to return null instead of error (#10368)
|
2019-05-08 16:58:18 +08:00 |
|
|
|
bbe1e690b4
|
expression: fix issue that timestampadd is not compatible with Mysql (#10314)
|
2019-05-05 22:06:49 +08:00 |
|
|
|
e8d9a3f075
|
expression: check timezone when encoding timestamp datum (#10303)
|
2019-04-30 17:20:23 +08:00 |
|
|
|
e13181f8a7
|
planner: fix stack overflow caused by folding constant (#10174)
|
2019-04-18 15:00:54 +08:00 |
|
|
|
29e9a41fc9
|
expression: fix issue that monthname is not compatible with Mysql (#10109)
|
2019-04-11 15:51:56 +08:00 |
|
|
|
ad752611c8
|
expression: fix issue that function dayname is incompatible with Mysql when doing arithmetic (#9975)
|
2019-04-02 13:45:05 +08:00 |
|
|
|
37c128b64f
|
expression: set correct return field type of builtin CONVERT() (#9305)
|
2019-03-31 15:11:20 +08:00 |
|
|
|
cebc7ffad9
|
types: refine the parsing logic of INTERVAL to correct DATE_ADD/DATE_SUB (#9874)
|
2019-03-30 18:34:37 +08:00 |
|
|
|
424995d1fa
|
types: fix converting decimal to datetime and timestamp (#9899)
|
2019-03-30 11:27:05 +08:00 |
|