Commit Graph

188 Commits

Author SHA1 Message Date
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
f39a328152 session: forbid setting both tidb_snapshot and tidb_read_staleness (#31082) 2021-12-29 15:47:50 +08:00
8db9454d71 sessionctx/variable: small refactor (split large file) (#30511) 2021-12-09 18:41:57 +08:00
19a2b3c311 *: store some global variable into PD for global config (#28788) 2021-10-26 19:34:48 +08:00
42b0bec86d sessionctx/variable, executor: introduce a limit on "thread" config (#28842) 2021-10-22 11:42:46 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
33ac1865c8 session: validate and change tidb_read_staleness input (#28194) 2021-09-22 13:14:45 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +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
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
8642902337 variable: improve code coverage, fix unstable test (#26586) 2021-07-27 14:02:15 +08:00
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
04cb5e9f67 variable: make tx_read_ts mutual exclude with tidb_snapshot (#24931) 2021-05-31 13:17:37 +08:00
8a066999f1 *: Remove incorrect global sysvar caching (#24699) 2021-05-26 01:37:34 +08:00
6e9d2750ae executor: implement set transaction read only as of transaction (#24766) 2021-05-25 16:39:38 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
02049548a9 variable: Add getters for global/session scope (#24647) 2021-05-25 13:07:34 +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
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
6084a6a5ff variable: change SetSessionSystemVar to accept string (#24247) 2021-04-26 11:47:55 +08:00
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
2de4a918ac variable: refactor session/global validation (part 8) (#24100) 2021-04-23 12:07:54 +08:00
1f95d7de83 variable: add global, session variable cte_max_recursion_depth (#24170) 2021-04-21 15:15:54 +08:00
cf813dc63b *: protect read only noop via tidb_enable_noop_functions (#23818) 2021-04-15 17:07:54 +08:00
3154af1e94 variable: refactor session/global validation (part 3) (#23719) 2021-04-02 11:27:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
b1c8ede13f *: hide index-usage-sync-lease config (#23349) 2021-03-22 18:47:36 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
57eef1333b server, sessionctx: add multi statement workaround (#22351) 2021-01-21 15:14:58 +08:00
91ec971961 session: Support getting last query info for test purpose (#21557)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-12-17 19:29:35 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
91a9d3065a ddl: make reorg session aware of the new row format (#21412) 2020-12-04 15:29:49 +08:00
cc0e1d46e6 planner/core, session, sessionctx/variable: add session variable to control the concurrency of shuffle merge join (#21332) 2020-11-27 14:09:04 +08:00
2c66371d8b planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding (#18017) 2020-11-20 20:43:23 +08:00
2b363fb80d *: support to modify config server-memory-quota-ratio dynamically (#20927) 2020-11-19 13:40:31 +08:00
83ceede82d session, variables: Stream agg concurrency variable (#20960) 2020-11-16 10:30:24 +08:00
160cb9b814 *: fix set tidb_general_log not work (#20993)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-12 13:54:23 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
b2e6df07c8 session: Support Variable-Setting Hint SET_VAR (#20232) 2020-10-28 14:27:13 +08:00
106b04ddab *: Fix sysvars to native type in @@ context (#20394) 2020-10-19 14:13:43 +08:00