Commit Graph

782 Commits

Author SHA1 Message Date
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
375e438be4 session, variable: invert builtinGlobalVariable from allow to deny list (#24836) 2021-05-24 12:29:33 +08:00
0191281b92 session: improve collation_server handling (#24835) 2021-05-24 11:55:33 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
b54603637c store/tikv: remove Variables.Hook (#24758) 2021-05-20 04:49:40 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
15dfd7bdd3 *: Implementing RENAME USER (#24413) 2021-05-20 00:09:41 +08:00
f71fbdb179 execution: fix the incorrect use of cached plan for point get (#24749) 2021-05-19 21:01:42 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
49d1eaa409 txn: break dependency from store/tikv to tidb/kv cause by TransactionOption (#24656) 2021-05-19 17:39:42 +08:00
44830b9174 session: fix dml_batch_size doesn't load the global variable (#24710) 2021-05-19 00:25:40 +08:00
9148ff9f44 ddl, transaction: DDL on temporary tables won't affect transactions (#24534) 2021-05-17 22:31:39 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
d641810f1a session: test that temporary tables will also be retried (#24505) 2021-05-17 21:49:39 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
d2bdfd51b7 store/tikv: move transaction options out to /kv (#24619) 2021-05-13 17:49:39 +08:00
cc83cc524f store/tikv: remove use of GuaranteeLinearizability option in store/tikv (#24605) 2021-05-13 14:45:40 +08:00
acf2e82b52 executor: fix point_get result on clustered index when new-row-format disabled but new-collation enabled (#24544) 2021-05-13 12:45:40 +08:00
6a69ee70ca store/driver: move error to single package (#24549) 2021-05-12 20:41:40 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
3eedd404b8 executor: add some test cases about partition table dynamic-mode with clustered-index (#24523) 2021-05-11 19:59:40 +08:00
7611952a09 store/tikv: make tikv.ErrLockAcquireFailAndNoWaitSet as a normal error (#24475) 2021-05-11 17:11:39 +08:00
b639ff55fd store/tikv: make tikv.ErrQueryInterrupted as a normal error (#24474) 2021-05-11 15:19:40 +08:00
81ce996c41 session: add a test case to cover batch point get for temporary table (#24519) 2021-05-11 13:35:38 +08:00
9b86513a4d store/tikv: make tikv.ErrLockWaitTimeout as a normal error instead of… (#24424) 2021-05-11 12:25:38 +08:00
7c1997517c txn: Use TransactionOption in store/tikv module (#23255) 2021-05-11 11:17:38 +08:00
xhe
9e13287d9d *: remove SchemaVersion in TransactionContext (#24236) 2021-05-11 10:31:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00
a9a5e057e9 store/tikv: remove use of TxnScope transaction option in store/tikv (#24365) 2021-04-30 11:15:50 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
f1521632e2 executor: fix a concurrent-access problem caused by accessing a single parser object in session concurrently (#24338) 2021-04-29 18:11:57 +08:00
0ec8f2d9fb store/tikv: remove use of Priority transaction options in store/tikv (#24360) 2021-04-29 13:59:57 +08:00
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
6f068bcd1e store/tikv:move LockExpire error from tikv package to tidb since it i… (#24269) 2021-04-26 19:27:56 +08:00
6084a6a5ff variable: change SetSessionSystemVar to accept string (#24247) 2021-04-26 11:47:55 +08:00
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
2de4a918ac variable: refactor session/global validation (part 8) (#24100) 2021-04-23 12:07:54 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
1f95d7de83 variable: add global, session variable cte_max_recursion_depth (#24170) 2021-04-21 15:15:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
2fa09ddcd6 store/tikv, session: Fix incorrect TestAsyncCommitWithSchemaChange and unstable Test1PCWithSchemaChange (#24082) 2021-04-20 16:25:53 +08:00
53c5d6e465 session, store: Reduce log spam of duplicate key errors (#24101) 2021-04-20 14:21:52 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00