Commit Graph

319 Commits

Author SHA1 Message Date
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
8dc21198c9 *: fix sysvar inconsistencies/potential bugs (#24964) 2021-06-01 11:49:37 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
cd10f944b2 variable: Add IsNoop to sysvar struct (#24963) 2021-05-31 14:27:36 +08:00
ad9241f92c executor: hide tx_read_ts from show variables (#24926) 2021-05-31 14:03:36 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
6e9d2750ae executor: implement set transaction read only as of transaction (#24766) 2021-05-25 16:39:38 +08:00
02049548a9 variable: Add getters for global/session scope (#24647) 2021-05-25 13:07:34 +08:00
b7c93e8952 variable: remove radix join variable (#24566) 2021-05-24 18:05: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
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
0a1c3c0f02 variable: change default for DefDMLBatchSize tidbOptInt64 call (#24697) 2021-05-19 08:41:40 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
ec618f1619 planner: support set tidb_allow_mpp to 2 or ENFORCE to enforce use mpp mode. (#24516) 2021-05-12 18:05:40 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00
18d519f056 stats, executor: use a correct sampling to collect stats (#23997) 2021-05-02 23:11:51 +08:00
22dbcc5627 executor, variable: move hidden variables to struct (#24304) 2021-04-28 12:49:56 +08:00
dbecb9e745 executor, variable: small cleanup (#24248) 2021-04-28 01:17:56 +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
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41: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
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
7ec329b618 variable: refactor session/global validation (part 7) (#23937) 2021-04-13 11:21:50 +08:00
04f2397b90 variable: refactor session/global validation (part 6) (#23855) 2021-04-09 16:32:35 +08:00
9d8356ed03 variable: refactor session/global validation (part 5) (#23842) 2021-04-06 12:47:24 +08:00
9c75cfa4e2 server, sessionctx: improved mysql compatibility with support for init_connect (#23713) 2021-04-03 02:45:25 +08:00
3e1d910b1e variable: refactor session/global validation (part 4) (#23777) 2021-04-02 22:23:25 +08:00
3154af1e94 variable: refactor session/global validation (part 3) (#23719) 2021-04-02 11:27:24 +08:00
80edc8cd20 variable: move supported sysvars from noop to sysvar list (#23781) 2021-04-01 14:43:24 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
55580eef8f variable: refactor set session validation (part 2) (#23566) 2021-03-31 11:49:24 +08:00
3cf2bf9120 session: add session scope for tidb_enable_clustered_index (#23704) 2021-03-30 23:31:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
1c83b14896 sessionctx: refactor set to be in struct (#23383) 2021-03-25 22:33:24 +08:00
a3e8617a3c sessionctx: move interactive_timeout to supported sysvars (#23384) 2021-03-18 19:19:36 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
035c15f7da *: rename tiflash fallback switch (#22886)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-12 18:21:48 +08:00
280d07c4a0 sessionctx, executor: make the upper limit of tidb_ddl_reorg_worker_cnt work (#23064) 2021-03-05 18:58:55 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
df9e730c16 stats, planner, sessionctx: handle compatibility between feedback and ver2 stats (#22846)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Yiding Cui <winoros@gmail.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-23 13:46:49 +08:00
001b34ea8d server, sessionctx: Support for the status command of MySQL Shell (#22752)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Morgan Tocker <tocker@gmail.com>
2021-02-23 12:56:48 +08:00