Commit Graph

33 Commits

Author SHA1 Message Date
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
0513ab378d expression: rewrite builtin function: TIME_TO_SEC, SEC_TO_TIME (#4342) 2017-09-04 22:36:04 -05:00
62c8d39d93 expression: fix float literals and binary literals (#4365) 2017-08-29 06:44:52 -05:00
8d66f5b08b expression: rewrite builtin function: RLIKE (#4331) 2017-08-28 16:02:19 +08:00
31819a8dcb parser, expression: implement builtin function: LAST_DAY (#4290) 2017-08-23 16:34:35 +08:00
6917e8588e expression: fix type inference of function CASE (#4219) 2017-08-17 20:37:07 +08:00
c51d0f57ed *: support JSON in new expression architecture (#4089) 2017-08-10 15:56:53 +08:00
fafd205f42 *: rewrite ifnull (#4050) 2017-08-07 13:24:48 +08:00
d0dcb5b0a6 expression, parser: fix issue #3691, cast compatibility (#3894) 2017-08-01 16:47:38 +08:00
8df4f7f753 expression, executor: revert typeinfer of cast and binary ops && add TestUnaryNot (#3941) 2017-07-29 09:44:45 +08:00
240dcf8bc1 *: rewrite bitNeg using new expression evaluation architecture (#3937) 2017-07-28 19:14:55 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
c902fa6661 *: move column, constant, like typeinfer to expression rewrite (#3667) 2017-07-10 19:15:24 +08:00
f4abbdbc5e expression, plan: move typeinfer of agg funcs to expression rewriter (#3654) 2017-07-10 16:24:25 +08:00
900fa9fbb9 expression:rewrite password using new expression evaluation architecture (#3593) 2017-07-04 17:48:11 +08:00
8aa1a632ea expression, executor: rewrite the builtin func ascii using new methods (#3537) 2017-06-27 14:47:48 +08:00
e773fa5b79 builtin: IsIPv4Compat function (#3538) 2017-06-26 10:38:55 +08:00
844f1c69b4 expression: add SubTime (#3464) 2017-06-16 23:31:38 +08:00
9575deeb10 ddl: add more features about generated column. (#3431)
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00
c030afc77a expression, plan: 1. fix arithmatic func type infer (#3436)
2. add typeinfer for evalAsExpr
2017-06-08 23:17:03 +08:00
5654dd9bd2 expression: FROM_UNIXTIME(12.1) + 1 return wrong field type (#3386) 2017-06-08 00:40:11 +08:00
791b4c273c expression: add buildin functions json_{set,insert,replace} and json_merge. (#3388) 2017-06-06 15:50:32 +08:00
e669009a27 expression: add builtinAddTimeSig (#3290) 2017-06-05 17:36:33 +08:00
e294500a17 expression:implement function password. (#3275) 2017-06-02 15:08:40 +08:00
6033cfccb7 expression: Implementation of INET6_NTOA (#3333) 2017-05-26 09:43:17 +08:00
06ec635583 expression, util: rewrite IsHybridType func (#3319)
rewrite IsHybridType func and move it from package util to expression
2017-05-24 22:06:51 +08:00
6962814a29 add json_type function and compare json with primitive types. (#3307) 2017-05-24 15:21:40 +08:00
83375338c8 expression:correct comments mistake. (#3272) 2017-05-16 09:49:28 +08:00
3a522c7f94 expression: rewrite ConvertTz built-in functions (#3222) 2017-05-12 12:36:19 +08:00
76d6adb78d add builtin time period diff func (#3237) 2017-05-11 18:15:31 +08:00
bc2bba1130 add:impl builtin uncompress & uncompressedlength (#3136) 2017-05-11 17:10:16 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00