TiDB commits

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

TiDB commits on 2022-03-30

github.com

executor: fix execute failed when table schema changed by lcwangchao · Pull Request #33519 · pingcap/tidb · GitHub

テーブルのスキーマが変更されたときにpanicが起きることがあった問題 execute prepared statement with binary protocol will panic when table schema changed · Issue #33509 · pingcap/tidb · GitHubを修正しています。

executor: fix KVRange bug for index join with dynamic partition pruning by bb7133 · Pull Request #33483 · pingcap/tidb · GitHub

パーティションプルニングとindex joinが同時に実行されたときに、KVRangeの問題により結果が正しくなかった事象を修正しています。

*: better gosec filtering by dveeden · Pull Request #31514 · pingcap/tidb · GitHub

gosecの設定を変更しています。Fix gosec warnings in all packages · Issue #31310 · pingcap/tidb · GitHubで報告された警告を修正するためとのこと。

DDL: Wrong Date type colunm's default value by Benjamin2037 · Pull Request #33571 · pingcap/tidb · GitHub

date型とdatetime型にデフォルト値を設定した場合、MySQLではそれぞれの日付部分のみがデフォルト値に設定される(時刻部分は切り捨てられる)動作にTiDBの動作を合わせています。

executor: support extractor for mem table region status by Yisaer · Pull Request #33498 · pingcap/tidb · GitHub

tikv_region_statusの検索でtable_idを条件にした場合にpush downするように変更しています。

topsql: fix the issue of TopSQL doesn't catch the scan_rows of DDL executions by crazycs520 · Pull Request #33370 · pingcap/tidb · GitHub

topsql がDDL実行時のscan_rowsを取得できなかった問題を修正しています。

*: make txnCommitBatchSize adjustable by SQL by jackysp · Pull Request #33507 · pingcap/tidb · GitHub

txnCommitBatchSizeSQLで変更できるように、tidb_txn_commit_batch_size変数を追加しています。