planner: fix limit in exists subquery will make TiDB plan not optimal by dayicklp · Pull Request #35476 · pingcap/tidb · GitHub existsにlimitつきのサブクエリーを利用した場合に、サブクエリー中でlimitが効いていない事象を修正しています。
ddl: CREATE/DROP INDEX, ALTER TABLE now use XXXStmt as param by lance6716 · Pull Request #35819 · pingcap/tidb · GitHub CREATE/DROP INDEX, ALTER文がパラメータにast.CreateIndexStmtなどをとるようにしています。DDL executorのロジックをDDL interfaceに移動する一環とのこと。
sessionctx: support encoding and decoding prepared statements by djshow832 · Pull Request #35808 · pingcap/tidb · GitHub prepared statementsのencodingとdecodingに対応しています。
txn: unify the management of transaction activation by TxnManager. by SpadeA-Tang · Pull Request #35679 · pingcap/tidb · GitHub これまでactivateTxnがTxnを呼び出していたのを、TxnがactivateTxnに呼び出させることにして、トランザクションの初期化などをtxnManagerが管理できるようにしています。
testkit: add a WithTiKV flag to support run unit test on real TiKV by tiancaiamao · Pull Request #35647 · pingcap/tidb · GitHub
-with-tikv
フラグを追加して、実際のTiKVを利用したユニットテストを実施できるようにしています。parser, ddl: support decoding binary literal in set/enum by tangenta · Pull Request #35822 · pingcap/tidb · GitHub set/numに対してバイナリーリテラル(例:0xD2BB)のデコーディングに対応しています。
executor: fix a nil point when @@tidb_enable_collect_execution_info is off and cop cache is on by tiancaiamao · Pull Request #35839 · pingcap/tidb · GitHub
@@tidb_enable_collect_execution_info
がoffの時に、resp.detailがnilとなり、結果的にpanicに陥る事象を修正しています。ddl: support drop columns for multi-schema change by tangenta · Pull Request #35737 · pingcap/tidb · GitHub multi schema changeで複数のカラムを削除できるようにしています。
planner: don't push down predicates over table dual by tangenta · Pull Request #35669 · pingcap/tidb · GitHub TableDualがviewまたはsubqueryに利用された場合に、誤ったpushdownがされないようにしています。
*: Remove some useless staleness code by lcwangchao · Pull Request #35849 · pingcap/tidb · GitHub 不要なstale readに関するhandleExecuteBuilderOptionを削除しています。
ddl: fix potential wrong column definition when setting default value by wjhuang2016 · Pull Request #35845 · pingcap/tidb · GitHub デフォルト値を設定したときに、誤ったカラム定義がされうる事象を修正しています。
*: add timeout for test cases by hawkingrei · Pull Request #35844 · pingcap/tidb · GitHub テストケースにタイムアウトを追加しています。
ddl: remove `onDropColumns` and `onAddColumns` by tangenta · Pull Request #35862 · pingcap/tidb · GitHub multi schema changeによって不要になったonDropColumnsとonAddColumnsを削除しています。
- schedule/placement/fit: stop searching once the number of candidates was not enough by AndreMouche · Pull Request #5246 · tikv/pd · GitHub candidate数が十分でないときは、それ以上の検索を行わないようにしています。
tests: natively support nextest by tabokie · Pull Request #12799 · tikv/tikv · GitHub GitHub - nextest-rs/nextest: A next-generation test runner for Rust.を利用するように変更しています。
encryption: fix issue with opening plaintext files by tabokie · Pull Request #12272 · tikv/tikv · GitHub key managerが暗号化されていないファイルを開けなかった事象を修正しています。
2022年6月20日に、Raft Engineのコミットはありませんでした。