Commit Graph

872 Commits

Author SHA1 Message Date
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
3e41d1473f *: add option for enum push down (#24685) 2021-05-19 14:15:41 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
f2cb145af2 planner, privilege: Add security enhanced mode part 4 (#24416) 2021-05-17 11:25:39 +08:00
d9f28c7f76 executor, privileges: Add dynamic privileges to SHOW PRIVILEGES (#24646) 2021-05-14 16:07:39 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
5fd39d1ed0 ddl: forbid recover/flashback temporary tables (#24518) 2021-05-13 12:09:39 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
0cb32a128b executor: fix projection executor panic and add failpoint test (#24231) 2021-04-28 14:15:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
d4b6a4417b expression: fix cast real, decimal to time (#24120) 2021-04-25 17:13:55 +08:00