boostorg / boostorg/mysql

Connection pool: per-operation metadata_mode

Aperta
#192 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C++
Stelle
299
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.