Commit Graph

65 Commits

Author SHA1 Message Date
98c31070d9 sysvar, sysvar_test: fix tidb_mem_quota_query min/max value (#34554)
fixes pingcap/tidb#34553
2022-05-12 00:08:35 +08:00
698a4ffe00 *: move config file option query-log-max-len to sysvar (#34305)
ref pingcap/tidb#33769
2022-05-04 00:46:54 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
91cb86e3cf domain, sessionctx/variable: make code DRY (#33897)
close pingcap/tidb#33896
2022-04-28 20:26:52 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
f10db388c5 variable: make lc_messages read only (#33708)
close pingcap/tidb#33707
2022-04-25 11:32:49 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
7fcdab6002 ddl: add limiter when setting TiFlash replicas for all tables in a database (#32526)
ref pingcap/tidb#32254
2022-03-11 10:47:50 +08:00
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
1a146fabd7 variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
2022-01-20 12:13:45 +08:00
a0e31aa987 *: fix data race in the CheckMb4ValueInUTF8 (#31781)
close pingcap/tidb#31780
2022-01-19 17:33:45 +08:00
f3839df729 sysvar: add value limitation for net_buffer_length (#31675)
close pingcap/tidb#31421
2022-01-14 17:37:42 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
xhe
1ffd6c0738 sysvar: bypass validation for noop variables (#31566)
close pingcap/tidb#31538
2022-01-11 22:43:42 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
f5af99e696 sessionctx/variable: make lc_time_names read only (#30084) 2021-11-26 13:59:51 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
42b0bec86d sessionctx/variable, executor: introduce a limit on "thread" config (#28842) 2021-10-22 11:42:46 +08:00
63ec28a35a variable: Use GOOS/GOARCH for version_compile_* (#28958) 2021-10-20 03:44:42 +08:00
e6c600ad16 *: always convert sysvar values when out of range (#25686) 2021-10-13 10:37:27 +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
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
bfbea9c3ef variable: Add support for mock globalvars (#26990) 2021-09-23 02:10:46 +08:00
4107115026 variable: add support for last_insert_id (#28072) 2021-09-21 01:10:45 +08:00
b52f3efbe9 sessionctx: Fix SET GLOBAL tidb_skip_isolation_level_check=1 (#27898) 2021-09-14 12:32: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
79f0b495e5 session, variable: move gc special sysvars to getters/setters (#24896) 2021-08-18 21:30:00 +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
01ac21c194 variable: add tests for setter/getter funcs (#26634) 2021-07-27 14:58:15 +08:00
8642902337 variable: improve code coverage, fix unstable test (#26586) 2021-07-27 14:02:15 +08:00
a542c5868b sessionctx/variable: avoid SysVar clone every time when visiting system variable (#26308) 2021-07-19 18:01:34 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00
851fb3cce9 sessionctx, variable: add skip name resolve (#25464) 2021-06-22 10:44:53 +08:00
fce4dde1cd variable, main: make sure default values for sysvars validate (#24807) 2021-06-03 22:20:26 +08:00
cd10f944b2 variable: Add IsNoop to sysvar struct (#24963) 2021-05-31 14:27:36 +08:00
02049548a9 variable: Add getters for global/session scope (#24647) 2021-05-25 13:07:34 +08:00
375e438be4 session, variable: invert builtinGlobalVariable from allow to deny list (#24836) 2021-05-24 12:29:33 +08:00
1136126991 variable: fix sysvar datarace with deep copy (#24732) 2021-05-19 23:55:42 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
3b935289ae variable: improve test coverage (#24503) 2021-05-10 12:04:45 +08:00
82ea46d652 sessionctx/variable: Improve sysvar test coverage, collation normalization (#24472) 2021-05-08 11:18:43 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00