TiDB commits

TiDB, PD, TiKVのコミットを記録しています。

TiDB commits on 2022-03-25

github.com

expr: add function push down results comparing testcase by Yisaer · Pull Request #33401 · pingcap/tidb · GitHub

ORD関数を用いた際のpush downの実行計画のテストがTiDBとTiKVで異なっていたのを修正しています。

planner: fix the join scope with explicit parents by AilinKid · Pull Request #33311 · pingcap/tidb · GitHub

ast, parser: fix parse join by wjhuang2016 · Pull Request #1129 · pingcap/parser · GitHub以降にTiDBのパーサーが明示的に括弧をつけていたSQLを再構成することによって発生したことにより、joinのscopeが正しくなくなる(?)事象があったのを修正しています。

executor: migrate test-infra to testify for executor_test.go testSuiteWithData by tisonkun · Pull Request #33402 · pingcap/tidb · GitHub

executor_test.goのtestSuiteWithDataをtest-infraからtestify に移行しています。

statistics: fix data race in HandleUpdateStats by xuyifangreeneyes · Pull Request #33260 · pingcap/tidb · GitHub

HandleUpdateStatsで発生しうるレースコンディションを修正しています。

expr: switch off funticon push down which caused unstable test by Yisaer · Pull Request #33421 · pingcap/tidb · GitHub

tanとyearweek関数のpushdownをしないように変更しています。copr-testで時々failするようになったからとのこと。

lightning: support inject external storage when as library by lance6716 · Pull Request #33303 · pingcap/tidb · GitHub

Lightningをライブラリとして利用したとき、external storageを利用できるように変更しています。

executor, infoschema: Add foreign key constraint to infoschema.table_constraints by espresso98 · Pull Request #33360 · pingcap/tidb · GitHub

infoschema.table_constraintsに外部キー制約を追加しています。このテーブルの出力結果をMySQL互換にするためのもので、外部キー制約は実装されていません。

config: be compatible with deprecated stmt-summary config items by qw4990 · Pull Request #33449 · pingcap/tidb · GitHub

deprecatedになったstmt-summaryに関する設定の互換性が保たれるように修正しています。

*: migrate tidb-tools by hawkingrei · Pull Request #33296 · pingcap/tidb · GitHub

tidb-toolsをtidbに移行して、tidb-toolへの依存性を取り除いています。

br: fix the missing retry for pd batch scan error by 3pointer · Pull Request #33420 · pingcap/tidb · GitHub

BRでPDがErrPDBatchScanRegionエラーのときにリトライするように修正しています。

build(deps): bump minimist from 1.2.5 to 1.2.6 in /br/web by dependabot[bot] · Pull Request #33405 · pingcap/tidb · GitHub

minimistのバージョンを1.2.5から1.2.6に変更しています。