boostorg / boostorg/mysql

Connection pool: per-operation metadata_mode

オープン
#192 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C++
スター
299
フォーク
43
PR マージ指標
30日以内にマージされた PR はありません

説明

`connection_pool` doesn't allow setting metadata mode, so there's no way to retrieve metadata strings from a pooled connection (the static interface still works, since it bypasses metadata mode).

Having a per-connection metadata mode is error prone, and a leftover from the time when we didn't have the universal `execute` and `start_execution` functions. Consider a per-operation metadata mode, deprecating `meta_mode` and `set_meta_mode` from `connection`, and removing the latter functions from `any_connection`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。