Commit Graph

35 Commits

Author SHA1 Message Date
396b094675 *: record query start time to session variables (#11822) 2019-08-22 21:46:17 +08:00
1b998ce4f6 *: record index name in the slow log instead of index id (#11795) 2019-08-22 14:27:47 +08:00
ec681598b6 *: change the query start time to the parsing time (#11159) 2019-08-20 20:35:16 +08:00
1e1cc1f325 types: fix string to integer cast (#11295) 2019-07-26 19:10:30 +08:00
ca70d74a28 executor, expression: fix current_timestamp/now not consistent… (#11342) 2019-07-23 17:02:24 +08:00
c8ed781d51 executor: push-down LoadDataStmt in distsql (#11067)
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`

Co-authored-by: Lonng <heng@lonng.org>
Co-authored-by: Foreyes <foreyes_1002@163.com>
2019-07-14 17:58:49 +08:00
04cd877967 session, sessionctx: add unit test for sessionctx, session (#10763) 2019-06-18 15:09:13 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
c4db7b7655 planner, executor: fix show view privileges for explain (#10585) 2019-05-27 13:22:28 +08:00
718871646b executor: reduce alloc and lock-hold-time caused by err/warn count (#10223) 2019-04-24 09:51:02 +08:00
2a6c8d610a executor: show more information about cop tasks in slow log (#10165) 2019-04-18 13:39:57 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
e3983227b4 log: generate digest and log it in slow log (#9662) 2019-03-14 13:45:32 +08:00
f20c849857 types: support sql_mode ALLOW_INVALID_DATES (#9027) 2019-01-14 19:34:22 +08:00
68ddb7f0e6 *: fix the lower bound when converting numbers less than 0 to unsigned integers (#8544) 2019-01-10 16:04:07 +08:00
7a966426ee metric: replace QueryDurationHistogram's "general" type to more detail stmt type (#8819) 2018-12-29 13:10:30 +08:00
351c4a5568 *: refine commit txn slow log (#8731) 2018-12-25 20:49:50 +08:00
7528a059cf executor/server/session: add extra info message sent to mysql client (#8285) 2018-12-19 15:32:49 +08:00
ce622ec6d8 session: move more session vars to stmt context for retrying (#8034) 2018-12-10 16:39:43 +08:00
5374ff8935 expression,planner: support non-deterministic functions (e.g., now) in the plan cache (#8105) 2018-11-01 23:53:32 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
458c0d1c27 executor: refine explain analyze (#7888) 2018-10-16 20:02:43 +08:00
d21f294393 *: make explain support explain anaylze (#7827) 2018-10-12 20:01:19 +08:00
7b4686d8c2 expression, plan: aggressive constant fold for null parameter expression to simplify outer join (#7696) 2018-09-23 19:46:52 +08:00
e3952d6eb8 *: collect execution details and output them in slow query log (#7302) 2018-08-10 21:06:20 +08:00
e28a81813c *: check the schema-validity when the DDL fails (#6797) 2018-07-09 17:35:04 +08:00
2292844f34 *: support session variable 'warning_count' and 'error_count' (#6945) 2018-07-02 19:00:24 +08:00
cef2ebde62 *: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement (#6936) 2018-06-29 19:09:12 +08:00
ab332eba2a executor: BadNullError should be ignored by insert ignore statement (#6465) 2018-06-29 13:15:31 +08:00
99aba76c90 *: Make 'IF NOT EXISTS' great again in 'CREATE TABLE IF NOT EXISTS LIKE' syntax (#6896) 2018-06-26 12:24:57 +08:00
0fda3b408f executor: move IgnoreErr to StmtCtx (#6392) 2018-05-02 17:10:59 +08:00
530aa9519d executor: refine log information about slow queries (#6343) 2018-04-26 00:48:25 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
31b606d30d executer: optimization for insert ignore (#5508) 2018-01-12 11:09:25 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00