Commit Graph

1023 Commits

Author SHA1 Message Date
0fd962f297 expression, plan: rewrite builtin funcs setvar, getvar (#4479) 2017-09-11 16:18:33 +08:00
d4bfcf0272 expression: rewrite builtin function: CONVERT_TZ (#4463) 2017-09-11 15:48:50 +08:00
3cd019b39c expression: rewrite builtin function: FROM_UNIXTIME (#4454) 2017-09-08 17:01:28 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
ebfcd7d90a expression: rewrite builtin function: CONVERT (#4417) 2017-09-08 11:08:39 +08:00
48c0ecae1c expression: rewrite builtin function: FIELD (#4419) 2017-09-07 20:13:09 +08:00
d82a36b562 expression: rewrite builtin function: INSERT (#4414) 2017-09-07 19:26:59 +08:00
2736812381 expression: rewrite builtin function: EXPORT_SET (#4434) 2017-09-07 18:02:15 +08:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
f380a746c9 expression: rewrite builtin function: EXTRACT (#4456) 2017-09-07 15:48:45 +08:00
8cb0ceb5c1 plan: rewrite "hashCode()" for "requiredProp" (#4460) 2017-09-07 12:55:00 +08:00
9f040b850c expression: rewrite builtin function: INTERVAL (#4421) 2017-09-07 00:02:49 +08:00
62b6a9961b expression: rewrite builtin function: FORMAT (#4416) 2017-09-06 20:01:00 +08:00
ffa8405879 plan: let "allocID()" return int to make performance happy (#4441) 2017-09-06 17:19:08 +08:00
7fc07a4a88 plan: fix a but about limit pushdown (#4449) 2017-09-06 15:29:05 +08:00
0b04d1c6c7 expression: rewrite builtin JSON functions under the new framework. (#4367) 2017-09-06 14:42:35 +08:00
7fb7263678 Optimize merging array elements (#4444) 2017-09-06 12:38:24 +08:00
92bea5afa4 expression: rewrite builtin function: INTDIV (#4213) 2017-09-05 20:03:02 +08:00
75230f9f1d types, plan: return ErrInvalidDefault when date type column option of create table statement has a now() default value (#4430) 2017-09-05 17:02:47 +08:00
5f00460cf8 expression, plan: rewrite builtin func get_format (#4422) 2017-09-05 15:09:22 +08:00
6ad9d35219 *: rewrite builtin function: CURRENT_TIME (#4360) 2017-09-05 14:42:47 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
0513ab378d expression: rewrite builtin function: TIME_TO_SEC, SEC_TO_TIME (#4342) 2017-09-04 22:36:04 -05:00
3f773bad90 plan: fix bug when push topn down. (#4413) 2017-09-04 17:10:24 +08:00
ae30c4dcbc support "UPDATE IGNORE", update conflicts generate warning (#4397) 2017-09-04 11:13:18 +08:00
de86e7d897 expression, plan: rewrite builtin function: FOUND_ROWS, DATABASE, CURRENT_USER, USER, CONNECTION_ID, VERSION (#4395) 2017-09-02 08:30:13 +08:00
82c9c3002a expression: rewrite builtin function:GET_LOCK, RELEASE_LOCK (#4398) 2017-09-01 12:54:16 +08:00
861d844732 expression: rewrite builtin function: UNIX_TIMESTAMP (#4297) 2017-08-31 15:50:17 +08:00
87baaaf73e plan: fix bugs when do natural join or join with using. (#4382)
* plan: fix bug when do natural join or join with using.
2017-08-31 10:06:32 +08:00
b0189e49b8 expression, plan: refine timestamp index selection (#4383) 2017-08-30 19:27:00 +08:00
c50bfbce0b *: rewrite builtin function: STR_TO_DATE (#4357) 2017-08-30 08:30:57 +08:00
62c8d39d93 expression: fix float literals and binary literals (#4365) 2017-08-29 06:44:52 -05:00
c9b62fbdda expression: add json into builtin if function. (#4203) 2017-08-29 17:32:10 +08:00
962b32c5e3 expression: rewrite builtin function: PERIOD_ADD, PERIOD_DIFF (#4309) 2017-08-29 16:23:10 +08:00
b23e3b0594 plan: reverse the logic of func "exprHasSetVar" (#4352) 2017-08-29 12:50:34 +08:00
b7aa9137b2 expression: rewrite builtin function: MAKE_SET, QUOTE (#4318) 2017-08-29 10:06:19 +08:00
8d66f5b08b expression: rewrite builtin function: RLIKE (#4331) 2017-08-28 16:02:19 +08:00
ea29a1c30d expression: Support more types when getting default flen and decimal (#4236) 2017-08-28 02:26:07 -05:00
f18f4b40b2 expression: rewrite builtin function: BIT_COUNT (#4332) 2017-08-28 15:16:14 +08:00
499b2566fe expression: rewrite builtin function: DATE_FORMAT (#4312) 2017-08-27 21:27:11 -05:00
43bc0a2f4a expression: rewrite builtin function TIMESTAMP (#4327) 2017-08-27 23:29:14 +08:00
45a95157b4 executor, plan: fix a bug occurred in set @varname = (select a from t limit 1) (#4326)
* fix infoschema not support unsigned

* change the comment of FieldType's InfoSchemaStr for specification

* fix issue #4302

* use mockPlan instend of process subquery directly

* add test case for issue #4302
2017-08-26 17:15:01 +08:00
6c44eb6eee *: fix bug of union type cast (#4322) 2017-08-26 15:24:52 +08:00
ff57b065e8 expression: rewrite builtin function: DATEDIFF (#4212) 2017-08-24 16:41:11 +08:00
7cf42f56da expression: rewrite builtin function: UTC_TIME (#4304) 2017-08-24 15:40:31 +08:00
a5acbd4df6 expression: rewrite builtin function: DATE (#4314) 2017-08-24 15:23:49 +08:00
71d2da269f expression: rewrite builtin function: DAYNAME (#4317) 2017-08-24 15:19:43 +08:00
f289c9bd25 expression: fix date cmp date (#4294) 2017-08-24 14:50:40 +08:00
986fb645f3 expression: rewrite builtin function: CURDATE, SYSDATE, YEARWEEK (#4211) 2017-08-24 10:46:34 +08:00
b4067786b7 expression: rewrite builtin function: WEEKDAY, FROM_DAYS, QURTER (#4298) 2017-08-24 08:40:29 +08:00