Commit Graph

464 Commits

Author SHA1 Message Date
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00
c08de09173 planner: show binding information in explain format = 'verbose' (#26930) 2021-08-05 19:31:13 +08:00
0c7283418b executor: make NO_ZERO_IN_DATE affect the default values (#26828) 2021-08-05 03:05:07 +08:00
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
2b461e0ea7 executor: Support collecting information about retryable deadlocks to information_schema.deadlocks (#26140) 2021-07-22 17:54:14 +08:00
cdc03978c1 executor: fix table id to partition id mapping in select lock executor (#26380) 2021-07-21 17:23:35 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
9abf9d0bb4 *: reduce NewRuntimeStatsColl() object allocation (#26164) 2021-07-13 18:33:32 +08:00
d070f708cd load: fix load data with non-utf8 will succeed (#26054) 2021-07-12 17:45:32 +08:00
eaa0ef476e *: optimize MemTracker object allocation in point get (#26064) 2021-07-12 14:19:25 +08:00
5e75a1c7ee *: Rename variable GlobalTemporaryTables in TxnCtx to TemporaryTables (#26028) 2021-07-08 13:01:29 +08:00
0a1875e883 parser,planner: fix the compatiblity of explain_format (#25978) 2021-07-07 15:47:29 +08:00
59d835eac5 executor: support forbid tiflash for stale read (#25828) 2021-07-06 13:33:28 +08:00
O2
449c0c6b42 executor: checking chunk is full precedes filtering (#23963) 2021-06-21 11:52:52 +08:00
ed686d1963 executor: fix a stupid mistake in filterTemporaryTableKeys() function (#25521) 2021-06-17 16:20:37 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
56b6797ab1 executor: open childExec during execution for UnionExec (#24899) 2021-06-10 16:02:30 +08:00
1f79bfe637 *: fix ci lint (#25057) 2021-06-02 17:58:54 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
f79dc8b218 executor: pessimistic lock on the temporary table should not be written to TiKV (#24737) 2021-05-26 12:41:34 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
5d40ea459a executor, store: Pass the SQL digest down to pessimistic lock request (#24380) 2021-05-13 20:43:38 +08:00
0cb32a128b executor: fix projection executor panic and add failpoint test (#24231) 2021-04-28 14:15:56 +08:00
c25042543a store/tikv: move lock wait time to store/tikv (#24217) 2021-04-25 10:43:55 +08:00
2e52da6b37 executor: make column default value being aware of NO_ZERO_IN_DATE (#24174) 2021-04-21 15:07:54 +08:00
421571f49d planner, executor: fix index merge partial table scan schema (#23936) 2021-04-19 16:29:52 +08:00
3e58fbf4d9 store/tikv:move LockCtx from kv to tikv/kv (#24020) 2021-04-15 22:23:53 +08:00
69675ead57 store/tikv: move CommitDetails and LockDetails to tikv/util (#23854)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-09 20:56:24 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
30da0a1d09 Revert "executor: open childExec during execution for UnionExec (#21561) (#23276) 2021-03-12 14:59:30 +08:00
24c9df147d *: refactor table.Table interface, clean up unnecessay methods (#22430) 2021-03-02 19:48:54 +08:00
3d4def7eef planner, statistics: allow (auto) analyze single partition in dynamic-only mode (#22625) 2021-03-01 17:23:31 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
4c0fe88a71 store/tikv: resolve sessionctx dependency (#22584)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 17:09:14 +08:00
31bbfcef82 executor: refine maxOneRow (#22194)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-09 13:19:14 +08:00
960dab5444 executor:return warning when load data meet no partition for incompatiable mysql,but err and abort (#22042) 2021-01-04 12:49:43 +08:00
f2a68ee28a executor: fix update ignore into not exists partition (#21984) 2020-12-30 16:44:13 +08:00
c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-25 11:44:00 +08:00
0735a0c924 executor: fix insert ignore into not exists partition (#21904)
Signed-off-by: lysu <sulifx@gmail.com>
2020-12-23 17:19:29 +08:00
0eb8ff97bc executor: open childExec during execution for UnionExec (#21561) 2020-12-09 15:10:15 +08:00
6fb60a3272 ddl: fix create list partition bug and add more test (#21398) 2020-12-02 15:21:08 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00
afb2ab95f0 table: fix zero date in different sqlmode (#20206) 2020-11-24 12:46:51 +08:00
2c66371d8b planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding (#18017) 2020-11-20 20:43:23 +08:00
e6e894dcc4 executor: add missing update table delta for TxnCtx (#20982) 2020-11-19 10:58:45 +08:00