Commit Graph

8026 Commits

Author SHA1 Message Date
f3ea1a9fff server: quote query string (#4529)
In case binary data is sent for execute prepared statement.

Fixes https://github.com/pingcap/tidb/issues/2747
2017-09-15 17:37:14 +08:00
24db77fef1 parser: handle create table PARTITION BY KEY grammar (#4539) 2017-09-15 16:46:54 +08:00
3b8ae60e88 tidb-server: remove arguments (#4533) 2017-09-15 16:28:54 +08:00
51d80e1026 Makefile: limit test concurrency. (#4535)
The test runs multiple process to test all packages, and each process takes up to 700M memory,
The CI VM make OOM if we don't limit the test concurrency.
2017-09-15 15:26:21 +08:00
49e9b63a58 remove redundant 'FoldConstant' call in function 'EvaluateExprWithNull' (#4534) 2017-09-15 15:24:20 +08:00
117ff28207 *: move InitLogger from SetUpSuite to TestT (#4532) 2017-09-15 15:16:22 +08:00
1006dab277 expression: rewrite builtin function ADDTIME, SUBTIME (#4333) 2017-09-15 14:55:10 +08:00
4f07681065 parser, ast, expression: fix bug on DATE literal (#4362) 2017-09-15 14:29:31 +08:00
1c653f7168 *: move tests. (#4524) 2017-09-14 19:49:01 +08:00
97242d362a config: add config file support. (#4509) 2017-09-14 19:38:49 +08:00
27f2594f31 expression: rewrite builtin function: ADDDATE, SUBDATE (#4504) 2017-09-14 19:16:37 +08:00
b812f324c3 expression: rewrite builtin function TIMEDIFF (#4496) 2017-09-14 15:45:04 +08:00
fc8b2ee47c fix #4514 (#4517) 2017-09-14 15:31:20 +08:00
90e00117d3 session_test: move some tests. (#4507) 2017-09-14 14:36:44 +08:00
96c5479ab1 vendor: update goleveldb to fix a data race (#4518) 2017-09-14 01:31:00 -05:00
d0be70d6a2 *: Support stream aggregation in new plan (#4481) 2017-09-14 14:22:29 +08:00
3636563eeb perf_schema: add required tables of mysqlx (#4521) 2017-09-14 13:58:27 +08:00
a7dc21c1e8 *: implement analyze index push down (#4489) 2017-09-14 10:34:12 +08:00
3f48f3a130 session_test, executor_test: move tests of schema change. (#4505) 2017-09-13 21:07:24 +08:00
Jay
30810c7753 expr: fix pattern compilation (#4508) 2017-09-13 20:21:35 +08:00
1fc56d3375 perfschema: remove performance schema instrumentation. (#4516)
Since we have prometheus, perfomance scheme instrumentation is not needed.
We only need to keep table definitions for compatibility.
2017-09-13 19:03:12 +08:00
959db2b835 *: rewrite builtin function GREATEST, LEAST (#4476) 2017-09-13 18:44:09 +08:00
a2723bfda3 expression: rewrite builtin function MAKETIME (#4396) 2017-09-13 15:27:55 +08:00
cab581f311 vendor: add BurntSushi/toml (#4510) 2017-09-13 10:26:31 +08:00
188dd8c06f session_test: move out some tests. (#4490) 2017-09-12 20:22:43 +08:00
3245d49317 util/goroutine_pool: add a goroutine pool package utilities (#3752) 2017-09-12 02:44:28 -05:00
262260a643 expression, parser: refine parser of localtime and localtimestamp (#4503) 2017-09-12 15:33:39 +08:00
509506778f session_test: move rowlock and autocommit test. (#4493) 2017-09-12 14:52:00 +08:00
3428d80577 *: hide secure information in SHOW PROCESSLIST (#4451) 2017-09-12 01:40:21 -05:00
e61efe6ee5 parser: support nvarchar syntax (#4500) 2017-09-12 14:30:04 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
f7f782e9a6 mocktikv,tidb-server: implement reverse scan and make mock tikv default engine (#4339) 2017-09-11 22:31:15 -05:00
296f09438d expression: rewrite builtin func values (#4491) 2017-09-12 11:13:49 +08:00
4295780cae *: rewrite builtin function ROW && remove Datum.KindRow (#4480) 2017-09-11 23:57:21 +08:00
8b9457baf2 owner: Update the interval of printing log (#4485) 2017-09-11 22:37:38 +08:00
bc0f2d4755 util/systimemon: fix test race (#4494)
* util/systimemon: fix test race
2017-09-11 19:39:18 +08:00
3b83192fa5 session_test: move out test of affect_rows (#4492) 2017-09-11 18:25:37 +08:00
d11591fc16 session: move err_rollback test. (#4412) 2017-09-11 16:37:52 +08:00
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