Commit Graph

217 Commits

Author SHA1 Message Date
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
07d16065d1 *: update br and kvproto (#25378) 2021-06-12 00:56:35 +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
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +08:00
f3e2b79822 store/tikv: share type OneByOneSuite for tests related to tikv (#25098) 2021-06-07 18:08:28 +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
c3a27c91ee infoschema: Add ALL_SQL_DIGESTS field to the TIDB_TRX table (#24863) 2021-05-27 19:49:35 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +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
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
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
81ce996c41 session: add a test case to cover batch point get for temporary table (#24519) 2021-05-11 13:35:38 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
f85e02b7b7 mocktikv: split mock coprocessor and mock tikv (#24064) 2021-04-16 19:39:53 +08:00
58fb30f4d6 session: fix global variable collation_server does not take effect in new session (#23932) 2021-04-15 13:03:53 +08:00
7d1a6a373d executor: fix logging format of prepared statements (#16062) (#22984) 2021-04-14 16:59:52 +08:00
e63aaac1f9 store/tikv: move failpoint.go from tikv to tikv/util (#23632) 2021-03-29 18:45:24 +08:00
b983856ddf store/tikv:mv kv.ReplicaReadType to tikv (#23376) 2021-03-19 21:19:36 +08:00
d29febf93f session,util/sqlexec: clean up code for deprecated API (#23153) 2021-03-08 17:48:54 +08:00
9768e45476 session: add a test case for issue 19127 (#21010) 2021-03-04 11:50:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
xhe
03109adaad *: remove useless FIXME tip in code (#22970) 2021-02-26 16:18:53 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
5e832ed80a store/*: mv tikv_driver to dir store/driver (#22942) 2021-02-25 18:49:18 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
4031706e32 gcworker: remove handler interface (#22779)
Signed-off-by: disksing <i@disksing.com>
2021-02-18 12:09:31 +08:00
93d3d04092 executor: support checking schemaVer before staleness transaction begins (#22679) 2021-02-04 11:48:45 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
6c1a6dd631 store/tikv: move tikv driver out (#22651)
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-02 16:28:54 +08:00
xhe
4e471d7cb1 *: move new api out of session package (#22591)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-30 07:24:44 +08:00