Commit Graph

4051 Commits

Author SHA1 Message Date
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
34d43fb8c5 *: convert tikv.error which is returned by RegionCache.Locate to tidb.error (#26647) 2021-07-28 10:26:16 +08:00
51c48d2fa2 planner: update the correlation adjustment rule of Limit/TopN for TableScan (#26445) 2021-07-27 17:34:16 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
dd2fadb190 expression, executor: fix type infer for greatest/leastest(datetime) (#26533) 2021-07-26 17:04:16 +08:00
0f0b06ab53 planner: try to fix the unstable test TestAnalyzeIncremental (#26468) 2021-07-26 11:16:15 +08:00
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18:14 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
95a40ac3d4 planner: fix the unstable unit test TestAnalyzeIncremental (#26460) 2021-07-23 14:16:14 +08:00
8db91a082c store/copr: support retry for mpp query (#26462) 2021-07-22 18:24:14 +08:00
2b461e0ea7 executor: Support collecting information about retryable deadlocks to information_schema.deadlocks (#26140) 2021-07-22 17:54:14 +08:00
dbe1f176a4 Revert: "*: keep the precision of intermediate decimal result as accurate as possible" (#26443) 2021-07-21 17:51:35 +08:00
cdc03978c1 executor: fix table id to partition id mapping in select lock executor (#26380) 2021-07-21 17:23:35 +08:00
7f6cfcb2e6 executor: Future proof TiDB specific comment (#26394) 2021-07-21 13:15:36 +08:00
39c9a4d47a *: keep the precision of intermediate decimal result as accurate as possible (#26372) 2021-07-20 20:25:35 +08:00
8fe8c27943 executor: fix the pessimistic lock on the temporary test case (#26222) 2021-07-20 20:17:34 +08:00
dc8d0fd3cd ddl: Drop a local temporary table (#26063) 2021-07-20 19:13:34 +08:00
add2df6205 executor: Support read operation for local temporary table (#26353) 2021-07-20 18:39:34 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
9833e6487a exec: access the table_storage_stats need privilege (#26298) 2021-07-19 18:59:34 +08:00
32bf0c4950 executor: fix user without process privilege can access cluster_statements_summary_evicted table (#26208) 2021-07-19 18:09:34 +08:00
350cbd1f69 session: tiny changes to reduce object allocations (#26244) 2021-07-19 17:53:34 +08:00
8f51a40798 *: optimize query slow query table by avoid decode plan for each row (#26219) 2021-07-19 16:33:34 +08:00
2f028b3cbd executor: Implement batch point get for local temporary table (#26290) 2021-07-19 11:19:34 +08:00
e4445994e0 *: fix ci lint (#26305) 2021-07-16 20:01:33 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
bae50247ef executor: fix goword checker bugs in insert*.go (#26257) 2021-07-16 12:01:33 +08:00
a9adeb0232 *: temporarily skip some unstable test cases (#26268) 2021-07-16 11:19:33 +08:00
946b3841e7 executor, privilege: require CONFIG or Process privilege for is.cluster_* (#26220) 2021-07-16 09:19:33 +08:00
d56be06f4d executor,planner: use an object pool to reuse PlanBuilder (#26216) 2021-07-15 21:17:33 +08:00
35e19eff7f executor: ingore locks of temporary table for point_get/batch_point_get/select_lock (#26267) 2021-07-15 18:05:33 +08:00
2412437041 executor: support spill intermediate data for unparalleled hash agg (#25714) 2021-07-15 17:21:32 +08:00
702ee7c15f config, sessionctx: deprecate streaming config (#25906) 2021-07-15 17:03:33 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
1641b3411d executor: fix expression field for show keys from (#26119) 2021-07-15 10:29:33 +08:00
3a5f434aad txn: change lock into put record for unique index key lock (#25730) 2021-07-14 10:57:32 +08:00
00a4c12d9d format: fix check (#26198) 2021-07-14 10:23:34 +08:00
9abf9d0bb4 *: reduce NewRuntimeStatsColl() object allocation (#26164) 2021-07-13 18:33:32 +08:00
xhe
e04181b351 executor: forbid read from stale query result (#25954) 2021-07-13 16:49:32 +08:00
118671d990 *: move initial of membuff for temporary table to when table create (#26131) 2021-07-13 11:47:31 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00
13bad8579f executor, privilege: require CONFIG privilege for is.cluster_config (#26071) 2021-07-12 18:57:32 +08:00
7ee78d1e35 executor: fix a bug that cte.iterOutTbl did not close correctly (#26129) 2021-07-12 18:31:32 +08:00
d070f708cd load: fix load data with non-utf8 will succeed (#26054) 2021-07-12 17:45:32 +08:00
0db5df550b planner: rename stable-result-mode to ordered-result-mode (#26093) 2021-07-12 16:01:32 +08:00
eaa0ef476e *: optimize MemTracker object allocation in point get (#26064) 2021-07-12 14:19:25 +08:00
xhe
c8bcc3b92f executor: only forbid setting tidb_snapshot in stale txn (#25794) 2021-07-12 11:25:32 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +08:00