Commit Graph

886 Commits

Author SHA1 Message Date
89e5ce0686 infoschema, executor: Support getting current executing SQL text in TIDB_TRX table (#26357) 2021-07-28 16:08:17 +08:00
dd2fadb190 expression, executor: fix type infer for greatest/leastest(datetime) (#26533) 2021-07-26 17:04:16 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18: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
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
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
c6680e999b *: update client-go and update mocktikv usages (#25911) 2021-07-09 10:57:32 +08:00
ad0f654fcb planner: fix bug when unfolding wildcard in view definiton (#25226) 2021-07-02 14:49:26 +08:00
7e53276296 domain,session: fix annoying log when running session bench test (#25796) 2021-06-29 23:21:25 +08:00
f1a8e7d068 *: update tikv/client-go to improve failpoint performance issue (#25797) 2021-06-29 15:57:25 +08:00
92ddceb6a4 executor: reject setting read ts to a future time (#25732) 2021-06-25 18:09:24 +08:00
e23e3f814f executor: tablesample for temporary table should always return empty (#25752) 2021-06-24 22:39:24 +08:00
362ede5a0d executor: Modify temporary table behavior for history read (#25747) 2021-06-24 21:57:24 +08:00
3a1f65a473 test: make test TestIssue25506 stable (#25617) 2021-06-21 21:56:53 +08:00
6454885d4b expression: fix BIT type columns are not padded with left zeros (#25575) 2021-06-21 16:54:53 +08:00
9f18723e6a *: fix bug that write on temporary table send request to TiKV (#25535) 2021-06-21 16:46:53 +08:00
57792c3d11 *: Fix ALTER USER privilege requirements (#25461)
* executor, planner: Allow ALTER USER to work on current user


Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-06-17 13:47:53 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
b51a9ca71c *: fix sem dynamic privilege permission issues (#25316) 2021-06-15 12:28:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
56b6797ab1 executor: open childExec during execution for UnionExec (#24899) 2021-06-10 16:02:30 +08:00
37472dc06b store/tikv: move region_* into package store/tikv/region (#25205) 2021-06-10 15:54:30 +08:00
0ed8eafa9b executor: add tablesample compatibility for temporary table (#25288) 2021-06-09 21:14:29 +08:00
6026b63891 *: update kvrpcpb to not use abbreviations (#25265) 2021-06-09 13:28:28 +08:00
d5a0d176db executor: add history read compatibility for temporary table (#25237) 2021-06-09 13:18:29 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
eb91585d6d executor: temporarily skip some unstable test cases. (#25224)
- testResourceTagSuite.TestResourceGroupTag (#25189)
- testSuiteJoin1.TestIndexLookupJoin (#25191)
- testSuite1.TestAnalyzeIndex (#25188)
- testSuite1.TestAnalyzeIncremental (#25187)
- testVectorizeSuite2.TestVectorizedBuiltinTimeEvalOneVec (#25169)
2021-06-08 15:35:54 +08:00
9de1753866 *: fix permissions of brie RESTORE to be RESTORE_ADMIN (#25039) 2021-06-08 10:44:28 +08:00
9f8175743f *: refine some error messages (#24767) 2021-06-03 21:14:26 +08:00
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
c44b8d118b config: make deadlock history's max size configuable (#24925) 2021-06-03 12:26:26 +08:00
8656b5d396 executor: avoid distsql request for TableReader/IndexReader/IndexLookup on temporary table (#24769) 2021-06-02 18:32:26 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
04cb5e9f67 variable: make tx_read_ts mutual exclude with tidb_snapshot (#24931) 2021-05-31 13:17:37 +08:00
1b048b1676 infoschema: Use system local time for tables of lock view (#24952) 2021-05-28 16:03:35 +08:00
b64f9007cf infoschema: Remove the unimplemented ALL_SQL_DIGESTS column from the DEADLOCKS table (#24939) 2021-05-27 22:25:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
c3a27c91ee infoschema: Add ALL_SQL_DIGESTS field to the TIDB_TRX table (#24863) 2021-05-27 19:49:35 +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
79669921ff ddl: add region and split compatibility for temporary table (#24684) 2021-05-25 13:17:33 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
bcfe952921 executor: Fix unstable TestTiDBLastTxnInfoCommitMode (#24779) 2021-05-20 21:22:22 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00