Commit Graph

798 Commits

Author SHA1 Message Date
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
8dc21198c9 *: fix sysvar inconsistencies/potential bugs (#24964) 2021-06-01 11:49:37 +08:00
c287bcb48c executor: Add plugin column to mysql.user (#24894) 2021-05-28 16:33:36 +08:00
1b048b1676 infoschema: Use system local time for tables of lock view (#24952) 2021-05-28 16:03:35 +08:00
348abf01f9 telemetry,session: add telemetry for the temporary table feature (#24866) 2021-05-28 12:07: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
a5400cc602 test: Fix a misusing of testkit that runs two queries concurrently (#24923) 2021-05-27 15:47:35 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
2b3905b44a *: avoid create new parser object in prepared exec (#24883) 2021-05-26 11:25:34 +08:00
11e7ac65f6 session, variable, domain: optimize session sysvar cache (#24873) 2021-05-25 18:01:34 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
d5f01e1477 kv: extract subset of tikv.KeyFlags (#24739) 2021-05-25 12:35:33 +08:00
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