Commit Graph

994 Commits

Author SHA1 Message Date
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
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
4e61d1626a topsql: reduce data race of sql digest (#30296) 2021-12-01 17:31:54 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
37e0dac259 copr: add paging API for streaming-like process (#29612) 2021-11-30 13:13:52 +08:00
8ace8f612e planner: revise optimize trace logic (#30163) 2021-11-29 19:27:52 +08:00
8550dbb216 *: add cardinality estimation trace for Selectivity (#29883) 2021-11-29 17:01:52 +08:00
4cf705177c topsql: fix nil pointer panic in stmtctx (#30181) 2021-11-29 15:53:53 +08:00
f5af99e696 sessionctx/variable: make lc_time_names read only (#30084) 2021-11-26 13:59:51 +08:00
8dc59e684a planner: make clear for MaybeOverOptimized4PlanCache (#29782) 2021-11-25 16:42:29 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
45836a6afe expression, sessionctx: support rand_seed1 and rand_seed2 sysvar (#29936) 2021-11-24 13:35:50 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +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
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
2a89d126bc variable: make the default value of wait_timeout the same as MySQL (#29569) 2021-11-11 14:41:05 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
a78e7fe572 *: insert/update or explain should not trigger table cache condition (#29477) 2021-11-08 12:35:03 +08:00
4aec743624 *: add IsExplicitTxn in slow log (#29413) 2021-11-04 14:09:02 +08:00
8368eeed24 *: remove useless parameter (#29392) 2021-11-04 12:39:02 +08:00
9bbc7ad74a dml : dml read operation for cache table (#29184) 2021-11-04 12:07:01 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
a96deabe7e sessionctx: remove variables tidb_enable_mpp_balance_with_continuous_region* (#29309) 2021-11-02 13:08:51 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
102080847c conifg, sessionctx: set default value "/data/deploy/plugin" for plugin_dir (#29254) 2021-10-30 11:14:50 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
18b47bcb2e sessionctx: defer all unlock ops of sc.mu (#29194) 2021-10-28 17:52:50 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
04e661095c planner, statistics, sessionctx: add variable to enable/disable the outdated statistics to pseudo logic (#28554) 2021-10-28 11:28:48 +08:00
63d5b02496 DDL: Support skip placement validation (#29016) 2021-10-27 13:10:49 +08:00
c9f33cbd88 session: add session var to update global logger max days (#27595) 2021-10-27 10:14:48 +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
42b0bec86d sessionctx/variable, executor: introduce a limit on "thread" config (#28842) 2021-10-22 11:42:46 +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
cd431a8164 executor,binlog: fix binlog column mismatch for pessmistic transaction on partition table (#28669) 2021-10-20 18:34:42 +08:00
861bc15216 copr: MPP balance regions between TiFlash nodes with continuity. (#28906) 2021-10-20 12:18:42 +08:00
63ec28a35a variable: Use GOOS/GOARCH for version_compile_* (#28958) 2021-10-20 03:44:42 +08:00
a94150a338 *: support select for update of tables (#27861) 2021-10-14 19:17:26 +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
d5bd9f030b *: record result_rows in statements_summary and slow log (#28479) 2021-10-12 16:51:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
042f498756 sessionctx/variable: Fix performance regression in NewMockGlobalAccessor (#28303) 2021-09-30 11:12:47 +08:00