mirror of
https://github.com/SOCI/soci.git
synced 2026-02-15 02:38:42 -06:00
This wasn't done before in case of connection failure in connect(), so PQfinish() could be called with a dangling pointer from clean_up(), called from the dtor, later. Just initialize conn_ in ctor to fix this. Closes #822.