Commit Graph

1276 Commits

Author SHA1 Message Date
dd06ebb315 fix microseconds behaviour in DATE_ADD() (#11280) 2019-07-17 14:39:55 +08:00
593fb7def5 expression: add max_allowed_packet check in concat/concat_ws (#11137) 2019-07-16 15:56:51 +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
d47f1687f3 expression: add built-in function json_array_insert (#11076) 2019-07-08 14:54:56 +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
e217962e62 expression: deep copy the string when setting user variable from Chunk (#11041) 2019-07-03 10:43:05 +08:00
7a6777de68 expression: make sleep function response to the kill statement (#10959) 2019-07-01 21:10:00 +08:00
cf5f42b8ec infoschema, sessionctx: add support for mysqldump from 8.0 (#10829) 2019-06-26 16:56:42 +08:00
c59028a2b5 *: let baseFuncDesc.typeInfer return error instead of panic (#10910) 2019-06-24 13:09:14 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
1e403873d9 expression: reuse tipb.Expr 'val' to push down expression implicit parameters (#10790) 2019-06-21 12:55:14 +08:00
bb3a92d70f expression: add a failpoint switch to control expr push down in integration test (#10786) 2019-06-14 15:43:29 +08:00
785922d923 expression: fix the behavior of DATE_SUB (#10607) 2019-06-13 20:36:35 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
9c865a5f05 expression/aggregation: remove unused function in aggregation.Aggregation (#8608) 2019-06-05 08:59:05 +08:00
8883c7819c expression: improve UT coverage of expression package (#10701) 2019-06-04 15:55:06 +08:00
40ded2937e expression: fix uuid generate duplicate value with multi-node (#10590) 2019-06-04 08:23:13 +08:00
ae58fd01f1 expression: improve UT coverage of expression package to 80% (#10641) 2019-05-30 11:05:22 +08:00
545afc5a3a expression,ddl: check table name for columns in partition expression (#10499) 2019-05-21 16:20:39 +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
6a3a73a52d *: add_date can return mysql.Time (#9830) 2019-05-14 10:06:10 +08:00
d241d741b9 expression: addition between datetime and interval is not compatible with Mysql (#10329) 2019-05-10 15:20:57 +08:00
f3ab907dcc types: rename CopyRow and CopyDatum to Clone* (#10333) 2019-05-09 19:26:01 +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
0106361cd9 expression: let PushDownNot does not change the argument (#10363) 2019-05-06 16:22:19 +08:00
7e8005324c planner: fix wrong DATE/DATETIME comparison in BETWEEN function (#10313) 2019-05-06 15:40:20 +08:00
bbe1e690b4 expression: fix issue that timestampadd is not compatible with Mysql (#10314) 2019-05-05 22:06:49 +08:00
ad20d9250d expression: fix a compatibility issue in JSON_CONTAINS (#10298) 2019-04-30 18:59:37 +08:00
e8d9a3f075 expression: check timezone when encoding timestamp datum (#10303) 2019-04-30 17:20:23 +08:00
9630d57c80 planner/core: make join reorder by dp work (#8816) 2019-04-28 13:08:46 +08:00
085746c254 expression: check corCol in DisableParseJSONFlag4Expr (#10224) 2019-04-22 19:31:08 +08:00
a594287e9f expression/json: add builtin function JSON_SEARCH (#8704) 2019-04-18 19:48:01 +08:00
e13181f8a7 planner: fix stack overflow caused by folding constant (#10174) 2019-04-18 15:00:54 +08:00
0972a6f012 planner: keep unfoldable exprs when pruning columns for ORDER BY items (#10064) 2019-04-15 16:02:27 +08:00
9d25a85bda expression: support ConstItem() for expression (#10004) 2019-04-15 13:07:23 +08:00
0a9569af43 expression: fix json_keys not compatible with MySQL (#10090) 2019-04-12 17:07:24 +08:00
29e9a41fc9 expression: fix issue that monthname is not compatible with Mysql (#10109) 2019-04-11 15:51:56 +08:00
826c2991b5 handle unsigned hour overflow (#10074) 2019-04-09 16:46:51 +08:00
915b879aae expression: relocate getSystemTimestamp() not to be called unnecessarily (#10073) 2019-04-09 10:57:27 +08:00
8800ec195a plan: push down constant filters over join properly (#9848) 2019-04-04 15:50:32 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
4cbe896b5b expression: fix json_contains_path not compatible with MySQL (#9992) 2019-04-02 19:46:31 +08:00