Commit Graph

54 Commits

Author SHA1 Message Date
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
2fee494295 executor, sessionctx: fix set tidb_general_log=0 error (#7186) 2018-07-30 17:44:12 +08:00
437933d449 sessionctx, executor: Add correctness check when set system variables (#7117) 2018-07-24 18:49:15 +08:00
2e076142c1 parser: fix 'SET NAMES' syntax (#6404) 2018-04-27 11:36:20 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00
dffc8c974d executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable (#5700) 2018-01-22 23:15:17 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
02f6bb27c7 *: remove goCtx from session struct (#5174)
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
29153d7b20 *: opentracing for Execute,ParseSQL,Compile,runStmt (#4929) 2017-10-31 05:13:59 -05:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
45a95157b4 executor, plan: fix a bug occurred in set @varname = (select a from t limit 1) (#4326)
* fix infoschema not support unsigned

* change the comment of FieldType's InfoSchemaStr for specification

* fix issue #4302

* use mockPlan instend of process subquery directly

* add test case for issue #4302
2017-08-26 17:15:01 +08:00