18b47bcb2e
sessionctx: defer all unlock ops of sc.mu ( #29194 )
2021-10-28 17:52:50 +08:00
a94150a338
*: support select for update of tables ( #27861 )
2021-10-14 19:17:26 +08:00
e6c600ad16
*: always convert sysvar values when out of range ( #25686 )
2021-10-13 10:37:27 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
13be486682
planner: rename some variables for easy understanding ( #28226 )
2021-09-26 13:20:46 +08:00
c6de069d61
sessionctx, statistics: remove unused StatementContext.mu.histogramsNotLoad ( #27928 )
2021-09-16 11:30:42 +08:00
25940d475b
sessionctx/stmtctx: migrate test-infra to testify for sessionctx/stmtctx #27280 ( #27504 )
2021-08-24 12:04:04 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +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
3cda7d0a72
*: insert of invalid timestamp succeeded ( #26584 )
2021-08-05 18:03:12 +08:00
dbe1f176a4
Revert: "*: keep the precision of intermediate decimal result as accurate as possible" ( #26443 )
2021-07-21 17:51:35 +08:00
6329c86533
ddl: fix cast date as timestamp will write invalid value ( #26362 )
2021-07-20 23:19:34 +08:00
39c9a4d47a
*: keep the precision of intermediate decimal result as accurate as possible ( #26372 )
2021-07-20 20:25:35 +08:00
eaa0ef476e
*: optimize MemTracker object allocation in point get ( #26064 )
2021-07-12 14:19:25 +08:00
59d835eac5
executor: support forbid tiflash for stale read ( #25828 )
2021-07-06 13:33:28 +08:00
cc5e161ac0
*: use tikv/client-go/v2 ( #25359 )
2021-06-11 17:24:35 +08:00
ccaefa2a3d
executor: add CTEExec and CTETableReaderExec ( #24809 )
2021-06-01 11:59:37 +08:00
2580240dde
*: pass sql, plan digest down to KV request ( #24854 )
2021-05-25 15:47:33 +08:00
e9488ce2ee
*: implement tidb_bounded_staleness built-in function ( #24328 )
2021-05-18 14:15:40 +08:00
fa39b79006
store/tikv: remove execdetails dependency ( #24119 )
2021-04-20 13:41:52 +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
5715eefd2b
*: Add the metric about the SQL with TiFlash Success ( #23426 )
2021-03-24 22:15:37 +08:00
04e5137f48
*: use explain format = 'brief' for tests ( #22677 )
2021-02-22 17:50:06 +08:00
e3108df576
planner: do not cache prepared plan if optimization depends on mutable constant ( #22349 )
2021-01-12 11:11:59 +08:00
fe9d3161fa
executor: store correct plan hint in statements_summary when log level is 'debug' ( #22219 )
2021-01-08 14:03:10 +08:00
8144e1395d
*:Adapt ScanDetailV2 in KvGet and KvBatchGet Response ( #21562 )
2020-12-30 17:02:44 +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
7b76edcfe1
*: support baseline capture for prepared statements ( #21271 )
2020-12-22 16:21:59 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
7e3074afa3
ddl: support column type change from JSON type to other types ( #21266 )
2020-12-04 00:14:48 +08:00
6fb60a3272
ddl: fix create list partition bug and add more test ( #21398 )
2020-12-02 15:21:08 +08:00
4caa23e8d2
session: add encoded plan cache to avoid repeated encode plan when recording slow-log and statement ( #21139 )
2020-11-23 15:30:27 +08:00
ae5dc3f69a
executor: fix issue of load data statement doesn't record into slow query and statements_summary ( #20713 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-11-04 16:27:01 +08:00
b2e6df07c8
session: Support Variable-Setting Hint SET_VAR ( #20232 )
2020-10-28 14:27:13 +08:00
70317615f3
executor: TPCH q20 hangs forever when running in TiKV + TiFlash mode ( #20600 )
2020-10-23 12:33:34 +08:00
c808997d25
store, util: adapt scandetailv2 in coprocessor response ( #20391 )
2020-10-16 14:25:57 +08:00
fdcc19eb11
sessionctx: fix a bug where update stmt not considered when clipping negative num to 0 ( #19605 )
2020-09-03 20:16:17 +08:00
915d84d7ad
executor: add pessimistic lock keys runtime information ( #19547 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-09-01 20:46:31 +08:00
2d54976495
*: convert lockKeys to key flag ( #18966 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-07 10:23:59 +08:00
574540aa06
fix pessimistic check ( #19004 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 14:00:43 +08:00
b363937744
transaction: fix union select for update race ( #19006 )
...
* transaction: fix LockKeys race
* do not update delta for lock keys
* fix more race
* fix another race
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 09:24:17 +08:00
dce0e45bdf
planner, add hint nth_plan(x) to help user force a plan ( #17850 )
2020-07-01 15:34:22 +08:00
ad598e431a
executor: add the cache for apply executor ( #17039 )
2020-06-17 21:24:12 +08:00
526a711c67
session, tikv: allocate task IDs for distsql requests ( #16520 )
2020-05-13 11:47:05 +08:00
d3074e9bc7
stmtctx: add TruncateWarnings ( #17139 )
2020-05-12 20:03:35 +08:00
8ea2ed03e7
session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars ( #17040 )
2020-05-09 08:41:05 +08:00
26e946d25e
plannercore: ignore invisible indexes in optimizer ( #15421 )
2020-05-07 11:00:40 +08:00
3a07cf7fcc
executer: add Cop_time in slow log ( #16873 )
2020-04-28 15:08:09 +08:00
cfd875219e
planner: invalidate cached plan if no UnionScan for tables that need it ( #15429 )
2020-04-01 16:05:36 +08:00