boostorg / boostorg/mysql

Connection pool: per-operation metadata_mode

Offen
#192 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C++
Sterne
299
Forks
43
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`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`.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.