Commit Graph

608 Commits

Author SHA1 Message Date
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
8899d63a3d sessionctx: Remove SSLv3 references (#24153) 2021-04-23 12:27: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
fa39b79006 store/tikv: remove execdetails dependency (#24119) 2021-04-20 13:41:52 +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
9bbda60198 planner, sessionvar: avoid sending same task id to TiFlash (#23747)
Co-authored-by: Zhuhe Fang <fzhedu@gmail.com>
2021-04-09 20:22:18 +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
017790b113 variable: Add innodb_default_row_format as noop (#23568) 2021-03-30 12:19: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
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
5243049e18 telemetry: add copr-cache, tiflash, cluster index, async commit (#23454) 2021-03-23 20:27:07 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
b1c8ede13f *: hide index-usage-sync-lease config (#23349) 2021-03-22 18:47:36 +08:00
b983856ddf store/tikv:mv kv.ReplicaReadType to tikv (#23376) 2021-03-19 21:19:36 +08:00
a3e8617a3c sessionctx: move interactive_timeout to supported sysvars (#23384) 2021-03-18 19:19:36 +08:00
901891ae1f *: hide the config global-kill and session var tidb_enable_index_merge_join (#23395) 2021-03-18 17:09:53 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
389bc5fe60 sessionctx: hide extended stats variable in SHOW VARIABLES temporarily (#23345) 2021-03-18 14:03:36 +08:00
bb12864221 sessionctx: fix err check (#23000) 2021-03-17 16:36:55 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
23227ea4a0 statistics: hide the tidb_analyze_version before it's GA (#23327) 2021-03-16 13:54:55 +08:00
61075d3c5b planner: hide the switch of dynamic-pruning and global-stats (#23320) 2021-03-16 10:54:55 +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
1d99292455 *: hide the system variables tidb_track_aggregate_memory_usage (#23184) 2021-03-12 17:59:21 +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
80be93b760 *: make binlog and clustered index exclusive (#22956) 2021-03-02 20:18:54 +08:00
3d4def7eef planner, statistics: allow (auto) analyze single partition in dynamic-only mode (#22625) 2021-03-01 17:23:31 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +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
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
b226130926 session: fix linearizability for non-autocommit async-commit txn (#22879)
* fix linearizability for non-autocommit async-commit txntxn

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* add IsExplicit flag

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* set missing cases

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* remove redundant assignment

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* revert go sum change

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* fmt

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* clarify comment

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 13:32:48 +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