Commit Graph

825 Commits

Author SHA1 Message Date
e389170624 variable: refine comments of variables (#32611)
close pingcap/tidb#32609
2022-02-25 10:23:42 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
c8bef987ae *: support variable tidb_last_ddl_info (#32414)
close pingcap/tidb#32402
2022-02-17 16:43:40 +08:00
a31ca21830 planner: support sysdate behavior according to sysdate_is_now (#31881)
close pingcap/tidb#31872
2022-02-16 18:53:39 +08:00
25d60e5c15 sessionctx: fix issue #32222 (#32312)
close pingcap/tidb#32222
2022-02-14 17:29:38 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
1a146fabd7 variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
2022-01-20 12:13:45 +08:00
a0e31aa987 *: fix data race in the CheckMb4ValueInUTF8 (#31781)
close pingcap/tidb#31780
2022-01-19 17:33:45 +08:00
7fd298d916 *: Remove direct placement in parser (#31768)
close pingcap/tidb#31485
2022-01-19 10:13:45 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
f3839df729 sysvar: add value limitation for net_buffer_length (#31675)
close pingcap/tidb#31421
2022-01-14 17:37:42 +08:00
794e838a1d *: Add tidb_enable_direct_placement to default forbid direct placement (#31623) 2022-01-13 11:07:33 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
d088e3d6fc *: Add variable tidb_placement_mode and remove placement_checks (#31093)
close pingcap/tidb#31092
2022-01-12 13:03:42 +08:00
xhe
1ffd6c0738 sysvar: bypass validation for noop variables (#31566)
close pingcap/tidb#31538
2022-01-11 22:43:42 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
1d20bbfeb4 *: Annotations to fix gosec warnings of CWE-798 (#31311)
ref pingcap/tidb#31310
2022-01-11 00:21:42 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
072561c85b sessionctx: make tidb_enable_column_tracking off by default (#31204)
close pingcap/tidb#31205
2021-12-31 13:45:51 +08:00
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +08:00
99ad750de2 sessionctx: fix wrong skipInit for tidb_enable_paging (#31162)
ref pingcap/tidb#30578
2021-12-30 19:11:51 +08:00
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57:50 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
f39a328152 session: forbid setting both tidb_snapshot and tidb_read_staleness (#31082) 2021-12-29 15:47:50 +08:00
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
a8a858bac2 topsql: add pubsub datasink (#30860) 2021-12-21 16:17:47 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
24d970fc46 executor: improve SET sysvar=DEFAULT handling (#29680)
close pingcap/tidb#29670
2021-12-20 07:57:45 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
813f6efd41 sessionctx/variable: change tidb_store_limit to global only (#30522) 2021-12-15 09:40:35 +08:00
c30d34f07f planner: Introduce a new global variable to control the historical statistics feature (#30646) 2021-12-14 19:08:36 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
12e2288440 topsql: shouldn't evict the SQL meta, since the evicted SQL can be appear on Other components (TiKV) TopN records (#27050) 2021-12-13 20:58:35 +08:00
8db9454d71 sessionctx/variable: small refactor (split large file) (#30511) 2021-12-09 18:41:57 +08:00
6229c89616 planner: Disable dynamic partition prune mode for all non-autocommit (#27532) (#30505) 2021-12-08 17:47:58 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
cbe5240dd0 session, sessionctx/variable: fix validation recursion bug (#30293) 2021-12-02 18:47:54 +08:00