Commit Graph

24 Commits

Author SHA1 Message Date
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
1a6242bcec variable: Add tests for sysvar registration, int/enum validation (#24277) 2021-04-26 18:41:56 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
106b04ddab *: Fix sysvars to native type in @@ context (#20394) 2020-10-19 14:13:43 +08:00
449587a085 *: using standard error to replace terror (#19425) 2020-09-08 20:15:51 +08:00
f033927481 sessionctx/variable,ddl: change @@tidb_enable_table_partition default value and update the semantic (#16497)
Before:
auto means enable for implemented feature and disable for others
on means always enable, no matter the feature is implemented or not

After:
auto and on both means enable for implemented feature and disable for others
2020-04-20 16:46:25 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
96c6ea1ca9 *: support 'tidb_txn_mode' session variable. (#10574) 2019-05-24 00:50:04 +08:00
abd013c82f Add tidb_low_resolution_tso session scope variable on master (#10428) 2019-05-22 21:42:57 +08:00
aafca88eda executor,sessionctx: add correctness checking for more system variables (#10396) 2019-05-12 19:29:25 +08:00
e499da9bb4 sessionctx: show correct TiDB port instead of 3306 (#9365) 2019-02-20 15:28:26 +08:00
65440001d9 set explicit_defaults_for_timestamp to ON (#6068) 2018-03-15 14:40:10 +08:00
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00