Commit Graph

67 Commits

Author SHA1 Message Date
514b180928 executor: turn off dynamic config by default and add some removed variables back (#15833)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-03-30 16:07:47 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
5d4eb4c806 config: support to dynamically update some config items read from PD (#14750) 2020-02-17 19:30:27 +08:00
4cf5e7dd42 executor: fix error when set names default (#14511) 2020-01-17 16:24:20 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
9b0334601a executor: speed up test (#12896) 2019-10-23 21:11:21 +08:00
bc997d7035 executor: split test for speed up (#12881) 2019-10-23 12:58:29 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
3e8129d59e executor,sessionctx: add correctness for system variables (#12311) 2019-10-08 16:20:52 +08:00
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
d381d84d1b executor,sessionctx: refine output format for tidb-specific variables of boolean type (#11239) 2019-07-15 15:47:17 +08:00
89baed8e17 ddl: scatter the regions of table when creating them (#10980) 2019-07-10 11:09:14 +08:00
a737d26e4f *: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
9dd32e84c6 *: rename and add tidb_wait_split_region_timeout session variable to set wait split region timeout. (#10797) 2019-06-20 14:57:35 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
7cf35f1ae6 *: preload load frequent use variable (#10463) 2019-05-29 15:40:40 +08:00
aafca88eda executor,sessionctx: add correctness checking for more system variables (#10396) 2019-05-12 19:29:25 +08:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
732f4307b8 ddl: add table option pre_split_regions for pre-split region when create table with shard_row_id_bits. (#10138) 2019-04-24 21:56:24 +08:00
b3761395bc variable: validate setting read_only variable (#10072) 2019-04-12 17:33:31 +08:00
28e62940da add skip isolation level check variable (#10065) 2019-04-11 16:27:36 +08:00
1e5f620966 executor: close RecordSet to avoid leak test failure (#10063) 2019-04-08 19:12:25 +08:00
d5f0d2bfdd binlog: revert commit for variable tidb_log_bin && add send binlog strategy config (#9864) 2019-03-24 18:26:15 +08:00
792429d330 binlog: update config for backward compatibility (#9688) 2019-03-14 16:53:16 +08:00
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
d35d3a5820 variable: change "ddl_slow_threshold" (#9043) 2019-03-07 16:36:11 +08:00
8f3c74c1c5 *: support variable log_bin (#9343) 2019-02-20 16:28:15 +08:00
021f7538bb sessionctx/variable: fix select variable return wrong result when variable is only global scope variable (#8968) 2019-01-08 15:46:53 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
e3f3ac24f6 session: add a batch commit session variable for the large transaction (#8293) 2018-12-10 18:29:39 +08:00
c27705ad75 sessionctx: Error/warning on unsupported isolation levels (#8625) 2018-12-10 14:14:59 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
5035e48bb5 executor, sessionctx: add checks for system variable validate_password_xxxx (#8227) 2018-11-26 23:03:37 +08:00
73a3497d2a variable: validate setting tx_isolation variable value (#8299) 2018-11-14 18:23:44 +08:00
6ccfec6d2e *: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically (#8183) 2018-11-06 11:25:11 +08:00
ec693ce502 *: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically (#8094) 2018-11-05 14:54:07 +08:00
2a3c4da0b7 sessionctx, executor: add max_allowed_packet verification (#8090) 2018-10-29 22:44:20 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
f3148da27f executor: add an variable to compatible with MySQL insert for OGG (#7863) 2018-10-17 10:19:04 +08:00
334e9254d3 *: add a variable to force statement priority of TiDB server (#7694) 2018-09-20 23:48:40 +08:00
d47e303887 executor,sessionctx:Add correctness for system variable: sync_binlog,… (#7716) 2018-09-17 14:58:46 +08:00
d5ab70cfdf executor,sessionctx: Add correctness for more system variables (#7196) 2018-08-19 14:55:15 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
87625923e0 sessionctx: supports set character_set_results = null (#7353) 2018-08-12 00:31:01 +08:00
a5af7a0e1f *: remove variable 'tidb_import_data' and rename SessionVars.ImportingData to LightningMode (#7262) 2018-08-03 10:00:03 +08:00