Commit Graph

855 Commits

Author SHA1 Message Date
669b9bcd36 validation: fix set readonly variable max_allowed_packet should return error (#33658)
close pingcap/tidb#32349
2022-04-20 09:02:02 +08:00
212a6b22af planner: introduce the new cost interface (#33990) 2022-04-19 14:03:09 +08:00
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
04420b0cd8 sysvar: modify tidb_enable_historical_stats behavior (#31849)
close pingcap/tidb#30821
2022-04-13 11:24:35 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
b37b3b1afc session, sessionctx: Make sysvar tidb_read_staleness TypeInt (#32794)
close pingcap/tidb#32763
2022-04-06 14:54:31 +08:00
fa834a0806 planner: Add control flag to keep or remove ORDER BY in subquery (#33173)
close pingcap/tidb#32900
2022-04-01 14:08:29 +08:00
d4ec94736d *: make txnCommitBatchSize adjustable by SQL (#33507)
close pingcap/tidb#33508
2022-03-30 21:52:29 +08:00
5bf5e35e81 variable: make backoff weight could be 0 (#30664)
close pingcap/tidb#32592
2022-03-29 17:20:28 +08:00
3206d51520 session: lower innodb-lock-wait-timeout MaxValue to match max-txn-ttl (#33473)
close pingcap/tidb#33472
2022-03-26 14:48:33 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
7291238ea6 *: lower-case-table-names should be removed from tidb-config (#32886)
close pingcap/tidb#32885
2022-03-18 14:16:31 +08:00
9bc9572754 planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
95a346cb2d sysvar: re-organize the order of sysvars by their scopes. (#33149)
close pingcap/tidb#33086
2022-03-17 11:36:30 +08:00
d4d43ba0b4 txn: support read consistency read with ts checking (#32922)
close pingcap/tidb#33159
2022-03-16 20:49:52 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
911cf5335f bindinfo: add warning message when the memory usage of the cache exceeds its capacity (#32866)
ref pingcap/tidb#32466
2022-03-15 16:15:52 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
fcf7bd8c88 sysvar: rename sysdate_is_now as tidb_sysdate_is_now (#32957)
close pingcap/tidb#31872
2022-03-11 11:19:50 +08:00
7fcdab6002 ddl: add limiter when setting TiFlash replicas for all tables in a database (#32526)
ref pingcap/tidb#32254
2022-03-11 10:47:50 +08:00
9a4ca3ca69 *: Remove deprecated streaming (#32765)
ref pingcap/tidb#32679
2022-03-11 03:15:50 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
52fa48ce2b sessionctx,executor: Revert "sessionctx,executor: disallowed set null to sysvar" (#32988)
close pingcap/tidb#32987
2022-03-10 23:13:51 +08:00
77730b6d9e sessionctx,executor: disallowed set null to sysvar (#32879)
close pingcap/tidb#32850
2022-03-10 01:13:49 +08:00
0cf21535b6 sessionctx/variable: Remove "advanced" memory sysvars (#32724)
close pingcap/tidb#32286
2022-03-09 23:57:49 +08:00
74d74b0a7b session: fix global sysdate_is_now won't work (#32785)
close pingcap/tidb#32784
2022-03-04 11:55:46 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
8134942c32 *: add a global system variable to control the memory quota for the bindCache (#32613)
ref pingcap/tidb#32466
2022-03-01 11:37:45 +08:00
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