Commit Graph

759 Commits

Author SHA1 Message Date
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
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
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
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
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
49b29ebb47 *: unhide stable system variables (#27957) 2021-09-29 12:14:46 +08:00
02ef439e64 variable: move max_connections to noop (#28106) 2021-09-29 11:32:47 +08:00
b50474c4e9 variable: add support for identity (#28449) 2021-09-29 01:14:47 +08:00
ca7ba5a4e5 executor, session, sessionctx/variable: add validate function for sysval sql_auto_is_null (#28247) 2021-09-23 19:54:46 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
bfbea9c3ef variable: Add support for mock globalvars (#26990) 2021-09-23 02:10:46 +08:00
c01f1a3c5f config: change tidb_top_sql_agent_address to config top-sql.receiver-address (#28135) 2021-09-22 17:48:45 +08:00
33ac1865c8 session: validate and change tidb_read_staleness input (#28194) 2021-09-22 13:14:45 +08:00
9a7f572d0a sessionctx: fix data-race bug when alloc task id (#28022) 2021-09-22 13:00:45 +08:00
4107115026 variable: add support for last_insert_id (#28072) 2021-09-21 01:10:45 +08:00
acf7232069 go.mod: change github.com/uber-go/atomic to go.uber.org/atomic (#26508) 2021-09-17 11:42:42 +08:00
74c507b023 test: fix t.Parallel() is called in the range method but is not reinitialised (#27939) 2021-09-17 11:30:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
f710f3d9a3 executor: support selecting store by tidb_replica_read for stale read (#28033) 2021-09-15 14:52:41 +08:00
310fef18ed *: fix memory leak after dom.Close (#28027) 2021-09-14 15:54:41 +08:00
b52f3efbe9 sessionctx: Fix SET GLOBAL tidb_skip_isolation_level_check=1 (#27898) 2021-09-14 12:32:41 +08:00
c26038ba5e sessionctx/variable: fix incorrect parallel tests (#27981) 2021-09-14 00:46:41 +08:00
e215f187c5 sessionctx: Support global variable tidb_replica_read (#27622) 2021-09-10 21:48:38 +08:00
1750d49a0b sessionctx/variable: migrate test-infra to testify (#27848) 2021-09-08 12:14:57 +08:00
5db91be2e1 ddl: restrain drop column with index using the same switch as EnableChangeMultiSchema (#27500) 2021-09-07 09:20:57 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
79f0b495e5 session, variable: move gc special sysvars to getters/setters (#24896) 2021-08-18 21:30:00 +08:00
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
ba8aab995e variable: format error message for set wrong value (#27152) 2021-08-13 15:31:17 +08:00
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00
bd7e3aec0a parser: disable text position recording (#27009) 2021-08-09 11:39:14 +08:00
83ebdf3795 session, variable: cleanup TiDBEvolvePlanBaselines sysvar validation (#27004) 2021-08-09 10:23:14 +08:00