Commit Graph

956 Commits

Author SHA1 Message Date
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447)
close pingcap/tidb#30410
2021-12-21 16:57:46 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
866c5514af session: fix bootstrap to only persist global variables (#30593)
close pingcap/tidb#28667
2021-12-19 22:21:45 +08:00
43caa02f70 config, charset: make charset config not affected by collation config (#30572) 2021-12-16 15:32:35 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
d660e483c2 sessionctx: fix the value of analyze_version when upgrading 4.x to 5.… (#30743) 2021-12-15 21:12:34 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
1f26870ccb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#30644) 2021-12-13 12:04:34 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
e520e46614 planner/core, session: fix error message of wrong variable scope (#30510) 2021-12-08 14:53:57 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
cbe5240dd0 session, sessionctx/variable: fix validation recursion bug (#30293) 2021-12-02 18:47:54 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
2d2fba5ee0 telemetry, session : add telemetry for cache table feature (#29963) 2021-11-22 14:03:49 +08:00
fac9c427e6 session, sessionctx/variable: add relaxed validation for global vars (#29594) 2021-11-18 18:31:48 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
b84eb376cf *: Add test: TestSameNameObjectWithLocalTemporaryTable (#29278) 2021-11-01 17:32:51 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
da76e34953 *: add support for --initialize-secure and --initialize-insecure (#28487) 2021-10-27 14:38:49 +08:00
19a2b3c311 *: store some global variable into PD for global config (#28788) 2021-10-26 19:34:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
de9b5cbb05 session, statistics: fix "data too long for column 'xxx_bound'" when analyze tables with very long strings (#28800) 2021-10-25 19:50:48 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
236794cba4 session: migrate test-infra to testify for clustered_index_test (#28901) 2021-10-20 13:40:42 +08:00
502f34f975 *: fix Makefile for bench-daily (#28868) 2021-10-19 10:38:42 +08:00
dbe8c6cf50 session: migrate test-infra to testify for schema_amender_test (#28902) 2021-10-19 00:18:42 +08:00
ab0d231d9e session: add system table mysql.column_stats_usage (#27849) 2021-10-18 19:24:43 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
fa82cd47ec domain, session: add plan replayer gc (#28799) 2021-10-15 11:13:27 +08:00
fac98dc866 privileges: fix show create view doesn't need show view privilege (#28662) 2021-10-14 23:49:26 +08:00
092544cd1d distsql: add distsql package benchmark to daiy bench test (#28724) 2021-10-14 17:09:27 +08:00
958ab48fa0 *: set global temporary table as GA (#28525) 2021-10-14 11:27:26 +08:00
e6c600ad16 *: always convert sysvar values when out of range (#25686) 2021-10-13 10:37:27 +08:00
5a4ee311ff test: implement ShortCircuitForBench (#28732) 2021-10-12 16:39:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00