Loading src/database/pgsql.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ namespace blogi { PGresult *pres = PQexec(_dbconn,sql->c_str()); int pstate=PQresultStatus(pres); if(pstate != PGRES_TUPLES_OK) { if( pstate!=PGRES_COMMAND_OK) { libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << PQerrorMessage(_dbconn); PQclear(pres); Loading Loading
src/database/pgsql.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ namespace blogi { PGresult *pres = PQexec(_dbconn,sql->c_str()); int pstate=PQresultStatus(pres); if(pstate != PGRES_TUPLES_OK) { if( pstate!=PGRES_COMMAND_OK) { libhttppp::HTTPException exp; exp[libhttppp::HTTPException::Critical] << PQerrorMessage(_dbconn); PQclear(pres); Loading