Commit Graph

5438 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
200fe45550 stats: prework for analyze push down (#4478) 2017-09-11 14:06:21 +08:00
acc81043ae expression: Fix cast( date as datetime) error (#4484) 2017-09-11 10:35:58 +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
1be6d2478f expression,util/types: update time Add() implementation (#4267) 2017-09-08 00:17:15 -05:00
7cdbcebec0 executor: fix a order by bug (#4470) 2017-09-07 23:44:38 -05:00
0e438de9ff *: move sample collector from executor to stats (#4468) 2017-09-08 12:21:10 +08:00
504a3c4a56 distsql: prework for analyze pushdown (#4471) 2017-09-08 11:32:04 +08:00
ebfcd7d90a expression: rewrite builtin function: CONVERT (#4417) 2017-09-08 11:08:39 +08:00
d585abb2c1 expression: add timezone for CastAsTime (#4465) 2017-09-08 00:01:08 +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
29f7b570c4 expression: rewrite "fieldTp2EvalTp()" to use "mysql.TypeXXX" instead of "TypeClass" (#4467) 2017-09-07 16:46:18 +08:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
20a928e03e ddl: Add a limit for columns in a table (#4464) 2017-09-07 16:06:32 +08:00
f380a746c9 expression: rewrite builtin function: EXTRACT (#4456) 2017-09-07 15:48:45 +08:00
06001ed1c1 fix race test compile issue (#4461) 2017-09-07 15:37:34 +08:00
31a48f8d75 server: SSL/TLS support (#3716) 2017-09-07 13:36:28 +08:00
3e125a4ccb ddl: Add the txn entry limit (#4458) 2017-09-07 13:27:30 +08:00
8cb0ceb5c1 plan: rewrite "hashCode()" for "requiredProp" (#4460) 2017-09-07 12:55:00 +08:00
cf1076badb vendor: update vendor for tipb (#4459) 2017-09-07 12:32:54 +08:00
e44227333d use tmp session in gc_worker. (#4453) 2017-09-07 11:05:06 +08:00
4e580249db expression: rewrite "HashCode()" for "Column" (#4457) 2017-09-07 10:01:05 +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
dba58e97fc executor: IndexLookUpExecutor refactor (#4305) 2017-09-06 03:45:10 -05:00
c1384a26b7 executor, types: format output (#4418) 2017-09-06 16:00:03 +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
44f716fb13 ddl: Remove TODO about check all versions to handle the waiting time problem (#4271)
* ddl: remove the todo in ddl_worker
2017-09-06 13:59:24 +08:00
9a2fa138f4 should use strings.Contains() instead of strings.Index() (#4447) 2017-09-06 12:59:30 +08:00
a8af81385c should use bytes.Equal(rows[i-1].key, rows[i].key) instead (#4446) 2017-09-06 12:51:07 +08:00
7fb7263678 Optimize merging array elements (#4444) 2017-09-06 12:38:24 +08:00
8dbc36cd2a should use bytes.Equal(batch.keys[0], c.primary()) instead (#4443) 2017-09-06 12:22:44 +08:00
e3cbcad807 should use time.Since instead of time.Now().Sub (#4445) 2017-09-06 12:15:24 +08:00
ee23ae54a6 Fixed word misspelled (#4448) 2017-09-06 12:03:51 +08:00
e7e40193f9 distsql,store/tikv: fix analyze table OOM (#4399) 2017-09-05 20:56:44 +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
778b221d2e Support client specified collation (#4409) 2017-09-05 10:08:30 +08:00
bc0efef751 executor: Fix DEFAULT output in SHOW CREATE TABLE (#4427) 2017-09-05 09:20:16 +08:00
3f773bad90 plan: fix bug when push topn down. (#4413) 2017-09-04 17:10:24 +08:00