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
a888c6d06a
*: add the tid to the schema-change related tables only when keys need to be locked ( #15698 )
2020-03-26 11:17:38 +08:00
9a301721c7
infoschema: Change type of ddl_job's time field ( #15506 )
2020-03-25 10:53:07 +08:00
5282d089c7
executor: support generated column on point get and batch point get ( #15544 )
2020-03-23 14:21:35 +08:00
86d8e16fc0
infoschema/executor : add DDLJobs sys table ( #14837 )
2020-03-19 11:55:24 +08:00
248be5bba5
planner: push down Lock to PointGet and BatchPointGet ( #15257 )
2020-03-11 13:58:32 +08:00
b504d37924
*: refine the table.Table interface ( #15227 )
...
remove unnecessary methods.
"The bigger the interface, the weaker the abstraction -- Rob Pike"
2020-03-10 13:40:56 +08:00
b3469e7964
*: fix a bug that the pessimistic lock doesn't work on a partition ( #14921 )
...
physicalID should be used if 'select for update' works on a
partitioned table.
2020-03-03 15:06:45 +08:00
c1114b9724
planner, executor: enable inline projection for index joins ( #15004 )
2020-03-02 15:32:09 +08:00
114405e114
executor: inline projection for hash join ( #14682 )
2020-02-13 18:44:33 +08:00
4755a9b9ef
util: revert util/mathutil ( #14744 )
2020-02-13 11:33:04 +08:00
be434ba101
executor: fix admin show ddl jobs end time bug when job is not finished ( #14738 )
2020-02-12 11:27:33 +08:00
750583c665
*: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. ( #12472 )
2020-02-10 22:56:05 +08:00