-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge release-3.0 to release-3.1 #14788
Merged
Merged
Changes from all commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
e8e0fe9
planner/core: fix not null flag for using and natural join (#13735) (…
alivxxx bcf2f07
expression: fix the corner case of CAST int as unsigned real/decimal …
Deardrops 1db38d5
expression : fix function 'binSearch' in builtinIntervalRealSig not …
sre-bot 159c16d
fix single (#13563)
sre-bot 16781a3
types: Fix potential timezone related bugs caused by `gotime.Local` (…
sre-bot 84e4386
store/tikv: fix lockTTL too large if local time is behind timestamp (…
coocood 599d1c4
ddl: update the error message of "modify/change column" to make it ea…
zimulala ab73fde
executor: fix data race in TestFastAnalyze (#12910) (#13872)
sre-bot 251574b
privilege: using system session to execute internal sql of RBAC (#138…
b6a30b8
config: add configuration entry make TiDB version string configurable…
reafans 050a356
*: support split partition table region (#12213) (#13929)
crazycs520 0201879
*: wait for binlog recovering when using HTTP API (#13740) (#13892)
jackysp cfbe06a
privilege: fix privilege check of `GRANT ROLE` (#13896) (#13932)
sre-bot c1624d8
planner/core: raise 'No database selected' error for grant statement …
tiancaiamao e4bcdd4
executor: fix inconsistent of grants privileges with MySQL when execu…
e329379
executor: report error in `AddRecordLD` function (#13980)
cfzjywxk 9da133f
*: do not start slow-log timer before parsing (#13846) (#13898)
jackysp d006af9
bindinfo: fix bindinfo bugs when update cache (#13875) (#13891)
alivxxx 969a020
executor: change pessimistic lock wait start for one statement (#13990)
cfzjywxk cba3e1a
planner: fixup some bugs with `DEFAULT` expression (#13168)(#13211)(#…
Deardrops 35159fe
session: if txn invalid do not active it and return an error (#13935)…
jackysp ce88d7b
types: fix insert error when convert string to float (#13716) (#14011)
alivxxx 3a10bb8
privilege: fix `REVOKE` privilege check incompatibility with MySQL (#…
sre-bot b10d1a5
store/tikv: fix a memory leak in the batchClient for the large transa…
sre-bot c31b745
stats: remove the lower bound of auto analyze ratio (#13995) (#14015)
alivxxx be7cb4d
bindinfo, planner: fix sql bind when sql has symbol list (#13889) (#1…
SunRunAway d312f8a
ddl: fix index length calculation (#13779)
sre-bot 13b945d
*: lock unchanged rows for pessimistic transaction (#14045) (#14050)
coocood b9ba3ef
mocktikv: add the missing ConflictCommitTS (#14064) (#14080)
sre-bot 5d5b071
executor: init the final recv channel of hash agg with enough chunk (…
winoros 2ed7510
tikv: check lock timeout again after resolving lock (#14066) (#14083)
sticnarf a3ca490
executor: refine the check of onlyFullGroupBy when groupByItem is par…
XuHuaiyu 9a103ef
server: set `system_time_zone` from `systemTZ` (#13934) (#14086)
bb7133 3ff5455
planner: fix bug for logical rule outer join elimination (#13947) (#1…
lzmhhh123 d0502a6
privilege: make 'grant all privileges' work right (#11449) (#14092)
lysu 1866f27
table/tables: fix an error message when table has no partition for va…
sre-bot 4d34a76
bindinfo: remove last semicolon of bind sqls (#14110) (#14113)
alivxxx 7ea2a21
privilege: fix privilege check of `CREATE ROLE` and `DROP ROLE` (#139…
c598e4b
planner/core: add bit column test about display width range (#11985) …
tangenta f2ae63e
executor: add SHUTDOWN command and privilege check (#12804) (#14104)
lysu e4c2216
privilege: fix atomic problem of `DROP ROLE` (#14090) (#14130)
4cfaf04
planner: fix wrong stats for physical union scan (#14093) (#14133)
lzmhhh123 1c224aa
session: fix `show variable` result of `tidb_enable_window_function` …
sre-bot fda6d3b
gcworker: fix potential gcworker goroutine leak during tikv down (#13…
lysu 1686c6b
ddl: fix ErrGCTooEarly when adding an index to the partition table (#…
sre-bot 37b1d77
add binlog prewrite time to record binlog prewrite time consume (#14138)
cfzjywxk 9efbf48
session: support 'GLOBAL SCOPE' for `tidb_enable_table_partition` (#1…
bb7133 b52cccd
*: revert #10124 and remove sql mode `PadCharToFullLength` (#14007) (…
winoros 620a6c0
infoschema, util: Add more fields to table `events_statements_summary…
djshow832 c6c5fbf
infoschema, util: refresh statement summary table periodically (#1368…
djshow832 45c52c4
infoschema, util: add table `events_statements_summary_by_digest_hist…
djshow832 b47381b
infoschema: add 3 fields to statement summary table (#14096) (#14168)
djshow832 adbb8b9
set global variable tidb_txn_mode to pessimistic during bootstrap. (#…
sre-bot 36e428e
*: fix condition check push down for pessimistic transaction (#14141)…
jackysp 55a6b73
privilege: fix privilege problem after upgrade (#14177) (#14178)
70e025f
ddl: check foreign key constraint when drop,modify,change column (#14…
crazycs520 2f3f57a
executor: cherry-pick lock ctx to 3.0 (#14201)
cfzjywxk 1a32e51
executor: add lock keys duration metric (#14194)
cfzjywxk da1427a
store/tikv: fix CheckStreamTimeoutLoop goroutine leak (#13812) (#14227)
SunRunAway 4eb6c8e
executor: avoid `ProjectoinExec`'s goroutine leak (#14127) (#14226)
fzhedu eb355be
*: support certificate based authentication (#13955) (#14202)
lysu 37f099d
server: add lock keys duration in slow log (#14246)
cfzjywxk 90a37b9
fix missing register (#14256)
cfzjywxk 6adce23
store/tikv: keepalive with pd (#14118) (#14233)
nolouch 8f13cf1
executor: add rollback in `releaseSysSession` (#14272)
sre-bot 64abbbd
ddl: fix the bug that VIEWs can be dropped by `DROP TABLE` syn… (#14052)
sre-bot 1ee1b74
planner: support plan digest (#13124) (#14258)
crazycs520 d84aab8
infoschema: add plan digest to slow log and slow_query (#14000) (#14292)
crazycs520 e1d8b41
infoschema: add plan field to the statement summary tables (#14182) (…
sre-bot 81d276e
server: log last executed prepared stmt when panic (#12905) (#14322)
lysu 017b043
*: only add union scan when dirty table is not empty (#14265) (#14321)
winoros 09003c1
plan, partition: add fast access path for hash partition (#13772) (#1…
e2ecc32
executor: refactor union_scan executor by using txn_mem_buffer_reader…
crazycs520 3c90149
ddl: fix anonymous indexes on the `primary` column (#14250) (#14310)
sre-bot ca3e7ec
server: support tag sql in pprof result (#14312) (#14329)
lysu 00f0015
metrics,store: add a metric for ttlManager to record the lifet… (#14300)
sre-bot b89108b
executor: fix wrong behavior when `ENUM` column meet Aggregati… (#14364)
sre-bot 60dbae1
*: fix schema change validation for partitioned table when transactio…
tiancaiamao 294f393
executor: refactor union scan and dirty table (#11702) (#14057) (#14383)
crazycs520 cd8fa79
*: support auto_increment_increment & auto_increment_offset. (#14301…
AilinKid 43ec970
table: avoid write untouched index in auto commit and avoid get untou…
crazycs520 afd93cb
planner: apply max/min elimination when other aggregations exist (#14…
eurekaka ae23817
done (#14391)
wjhuang2016 948b5c6
planner: enhance the rule max_min_eliminate to support multiple agg (…
francis0407 bf155a7
ddl: check if the dropping index is primary key when doing "drop inde…
zimulala f0678b4
*: replace conf item `pprof_sql_cpu` with srv var `tidb_pprof_… (#14416)
lysu d1e0cfa
privilege: fix DBIsVisible privilege check (#14190) (#14386)
f4ea790
session: fix prepare stmt race in shutdown or kill (#14475)
sre-bot 87fdf87
executor: add check data visibility for point get (#14459) (#14480)
sre-bot 91f8a2a
*: fix transaction lazy initialization in pessimistic mode (#14446) (…
sre-bot 0d84245
expression,table: fix insert partitioned table bug when the time zone…
tiancaiamao 1c279e9
metrics: add statement deadlock detect duration (#14444) (#14484)
sre-bot 50963e7
store: fix potential panic in GC worker (#14403) (#14439)
jackysp 69dc332
expression, executor: correct the funcName for wrapWithIsTrue… (#14516)
sre-bot 82b8b7a
util: wrong memory count when use Tracker.ReplaceChild() (#14513) (#1…
sre-bot 2ddeb25
stats: fix panic when init stats for cm sketch (#14421) (#14470)
alivxxx 8286441
planner: enhance rule partition pruning (#14544) (#14546)
XuHuaiyu 52dae01
bindinfo: set default db for bindings correctly (#14077) (#14548)
alivxxx d91a052
expression: fix json_key not compatible with MySQL (#14556) (#14561)
hawkingrei e853ebd
ddl, stats: handle add/trunctate partition events (#14500) (#14566)
sre-bot b33e1a2
planner: reset plan id before optimizing point get (#14471) (#14595)
djshow832 1cc43bb
bindinfo: fix bugs when using bindings (#14263)
alivxxx e304158
metrics: add statement pessimistic retry count (#14619)
sre-bot 6441e1f
executor: merge overlapped ranges when build key ranges for indexJoin…
sre-bot 0c426b1
executor: add privilege check for show bindings (#14443) (#14618)
alivxxx 80d515c
*: make Backoff perceive the Killed flag to fix MAX_EXECUTION_TIME #1…
tiancaiamao ac3f7f7
executor, util: improve concurrency of statement summary(#14490) (#14…
djshow832 239c7c4
types: fix parse DATETIME/TIME from string incompatible with MySQL (#…
sre-bot cc67c19
plugin: support logging rejected connection attempts in audit log (#1…
lysu ce94978
server: add lock keys counter metric (#14634)
cfzjywxk f7f504b
json: do not escape html special values (#14518) (#14637)
sre-bot b1cdfae
ddl: add column name to errBlobKeyWithoutLength error (#13453) (#14377)
sre-bot 49b8ab9
executor: correctly handle panic for hashjoin build phase (#14056) (#…
XuHuaiyu c8d9c79
bindinfo: fix panic when load invalid sqls (#14645)
alivxxx 45fd958
expression: handle ErrTruncated when dividing decimals in non-… (#14673)
qw4990 58c2915
executor: grant table level privilege should check table exist (#1454…
tiancaiamao 05c0e50
Merge branch 'release-3.0' into zimuxia/merge-3.0-to-3.1
zimulala 50b23f7
*: tiny update
zimulala 8dbf2d7
planner/core: update tests
zimulala 8b01eba
*: make tests happy
zimulala cf21205
Merge 14537 to v3.1
zimulala 6762994
fix bind test
lzmhhh123 0c70ffb
ddl, config: fix data race
zimulala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL @lamxTyler