Commit Graph

23 Commits

Author SHA1 Message Date
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
86d8f9a4bb *: add succ filed to slow log and fix shallow copy problem when parse slow log file. (#11417)
Test pass, auto merge by Bot
2019-07-24 19:20:18 +08:00
04cd877967 session, sessionctx: add unit test for sessionctx, session (#10763) 2019-06-18 15:09:13 +08:00
66ba872857 session: Adjust cop-tasks' information in slow log to let it can be parsed by pt-query correctly (#10230) 2019-04-22 22:52:54 +08:00
f834e5d56f executor: show memory consumption in slow query log (#10162) 2019-04-18 15:16:44 +08:00
2a6c8d610a executor: show more information about cop tasks in slow log (#10165) 2019-04-18 13:39:57 +08:00
7666f688b3 *: add stats version in slow_query and slow log. (#10082) 2019-04-15 18:04:48 +08:00
e3983227b4 log: generate digest and log it in slow log (#9662) 2019-03-14 13:45:32 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +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
ad13ca15ca session: reset affected rows in retry. (#2949) 2017-03-29 16:09:47 +08:00
5230f5eabd variable: define StatementContext. (#2121)
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00
73f2ffad90 varsutil: remove dependency on 'types' for 'variable' package (#2095)
* varsutil: remove dependency on 'types' for 'variable' package

'variable' package will be used in 'types', remove dependency on 'types' by
moving functions to a new 'varsutil' package.

Also extract 'SetExec' from 'SimpleExec'
2016-11-25 13:44:49 +08:00
0af8520a78 sessionctx/variable: remove dependency on context package. (#2064)
Makes using session variable easier and faster.
Prepare for use session variable to handle data truncated error.
2016-11-23 14:39:48 +08:00
4d988fb62b *: Fix set tidb session variable bug (#2036) 2016-11-19 11:42:03 +08:00
470d6dcd1c *: Fix TiDBSkipConstraintCheck session scope variable bug (#2035) 2016-11-19 11:08:58 +08:00
5f457a2c62 *: Add a variable to skip constraint check in session. (#2031)
When import data from mysqldump/mydumper. We could skip constraint check.
2016-11-18 22:54:28 +08:00
ed33f4c8a2 *: allow system variable 'character_set_results' to be set to NULL. (#1275) 2016-05-31 17:54:46 +08:00
f09574d826 *: support sql mode (#1263) 2016-05-30 13:16:41 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00