Commit 5dca77fe authored by jan.koester's avatar jan.koester
Browse files

ok check that

parent 3d442582
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);