pgconnection.cc.patch
text/plain
Filename: pgconnection.cc.patch
Type: text/plain
Part: 0
*** pgconnection.cc Wed Jun 30 13:24:41 1999
--- pgconnection.cc.bak Wed Jun 30 13:16:54 1999
***************
*** 119,136 ****
} // End ExecTuplesOk()
- // return the number of tuples affected by an INSERT, UPDATE or DELETE
- long int PgConnection::TuplesAffected() {
- const char *numaffected=PQcmdTuples(pgResult);
-
- // if it returns a null, it was probably a SELECT
- if (!numaffected)
- return 0;
-
- // otherwise convert the string to a long
- return atol(numaffected);
- }
-
// Don't know why these next two need to be part of Connection
--- 119,124 ----