if (prepared_) {
return;
}
- // clear previous prepared statements
+ // clear previously prepared statements
clearPrepared();
// Prepare all statements queries with all known fields datatype
for (auto it = connection.statements_.begin();
/// and from PgSqlHostDataSource.
PgSqlHolder& handle() const {
auto result = handles_.resource();
- // thread_local std::shared_ptr<PgSqlHolder> result(std::make_shared<PgSqlHolder>());
if (connected_) {
result->openDatabase(*(const_cast<PgSqlConnection*>(this)));
}