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
b2e6df07c8
session: Support Variable-Setting Hint SET_VAR ( #20232 )
2020-10-28 14:27:13 +08:00
4501f6d7ab
planner, executor: enable inline projection for Limit ( #20288 )
2020-10-19 10:55:13 +08:00
47a182f76a
executor: fix a bug that the generated column doesn't handle bad null value ( #20193 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-25 15:57:36 +08:00
354f3997c0
executor: add concurrency limit on union executor ( #19827 )
2020-09-08 19:16:23 +08:00
47270445d9
server: fix the missing detachment for the mem/disk tracker ( #19794 )
2020-09-08 10:48:51 +08:00
c283bc66bd
txn:support wait second grammar for "select for update" ( #19630 )
...
* support select for update wait seconds grammar
* use function
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-07 13:47:59 +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
e356136b72
*: annotate execution info in runtime/trace ( #19407 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 11:23:36 +08:00
a2e2ce6339
*: use int instead of fmt.Stringer as executor id ( #19207 )
2020-08-19 13:39: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
8b19d67bad
executor: add runtime information for point-get executor ( #18666 )
2020-07-28 14:20:36 +08:00
f3554241bb
planner, executor: support except and intersect set operator ( #18459 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-27 17:56:07 +08:00
baf6c99b95
*: fix a bug causes indexed virtual generated column return wrong value and refine admin check table ( #18408 )
2020-07-24 12:59:47 +08:00
f0e5876353
util/execdetails: refactor execdetails information of runtime collect ( #18530 )
2020-07-15 20:05:29 +08:00
a6971dd685
*: support 'admin check table' on clustered index table ( #18346 )
2020-07-14 15:59:37 +08:00
b193db8b49
planner: ban tiflash engine when the statement is not read only ( #18458 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-14 11:43:48 +08:00
2b0b34b88e
executor: kill tableReader for each connection correctly ( #18277 )
2020-07-09 18:09:08 +08:00
658132fcf3
planner: refactor handle columns ( #18391 )
2020-07-07 12:26:14 +08:00
3f6f36f742
*: refactor table.IterRecord and extract some methods ( #18214 )
...
* *: refactor table.IterRecord and extract some methods
* fix ci test
* fix ci test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-29 09:24:34 +08:00
9b16427628
server: prefetch point-get keys for multi-statement queries. ( #18155 )
2020-06-23 13:13:18 +08:00
b2922a7098
executor: remove unused code ( #17923 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-06-11 02:16:42 +08:00
0ec197fae0
sessionctx: add some information about the rewriting phase into the slow log ( #17569 )
2020-06-09 13:49:42 +08:00
88dfb22dc5
executor: support batch-get cluster index & add test case ( #17858 )
2020-06-09 13:40:47 +08:00
2bdf6a01cc
util/admin: support admin check index on partition table ( #17183 )
2020-05-25 21:25:33 +08:00
3176b00c02
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison ( #17245 )
2020-05-20 13:55:18 +08:00
1417ba2288
*: fix a bug that don't handle truncate properly for virtual generated column ( #17217 )
2020-05-14 20:57:55 +08:00
3f2d35a60b
RFC + executor: Support global memory tracker ( #16777 )
2020-05-13 15:49:53 +08:00
526a711c67
session, tikv: allocate task IDs for distsql requests ( #16520 )
2020-05-13 11:47:05 +08:00
8ea2ed03e7
session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars ( #17040 )
2020-05-09 08:41:05 +08:00
3224393c7f
executor: fix wrong plan type for dataReaderBuilder error ( #17028 )
2020-05-08 14:34:45 +08:00
26e946d25e
plannercore: ignore invisible indexes in optimizer ( #15421 )
2020-05-07 11:00:40 +08:00
46e37a1700
executor: generalize SHOW TABLE t NEXT_ROW_ID for auto_random and sequences ( #16821 )
2020-04-29 20:00:26 +08:00
51dabaabef
*: refactor Handle in executor package ( #16871 )
2020-04-28 21:27:19 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
af376db3dc
*: refactor Handle in tablecodec and rowcodec ( #16705 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-04-23 18:55:59 +08:00
138f225d62
executor: only return the first row of a subquery ( #16399 )
2020-04-21 09:45:50 +08:00
ff7413fedb
planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache ( #16321 )
2020-04-17 17:15:21 +08:00
3edfffa84b
Util: Fix global tracker mutex contention ( #16298 )
2020-04-15 20:37:42 +08:00
36d8171319
expression: fix panic of explain for connection when plan cache is enabled ( #16206 )
2020-04-10 15:48:17 +08:00
d8978cb53e
config: support temporary storage usage limitation ( #15700 )
2020-04-08 22:14:09 +08:00
96d96ceb73
executor: fix unexpected error in union stmt. ( #16073 )
2020-04-08 09:45:55 +08:00
cfd875219e
planner: invalidate cached plan if no UnionScan for tables that need it ( #15429 )
2020-04-01 16:05:36 +08:00
94fb1bf18d
txn: stop more statement executions if pessimistic transaction ttl manager timed out ( #15877 )
2020-03-31 11:53:41 +08:00
78ac21914f
server: add connection id for lock keys committer ( #15685 )
2020-03-27 18:21:14 +08:00