Add missing format argument to ecpg_log() call

REL8_2_STABLE
Peter Eisentraut 14 years ago
parent eb9a98b6e2
commit 33e111f225
  1. 2
      src/interfaces/ecpg/ecpglib/execute.c

@ -1357,7 +1357,7 @@ ECPGexecute(struct statement * stmt)
if (PQresultStatus(results) == PGRES_COMMAND_OK) if (PQresultStatus(results) == PGRES_COMMAND_OK)
ECPGlog("ECPGexecute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno); ECPGlog("ECPGexecute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
else else
ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results)); ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results));
} }
break; break;
} }

Loading…
Cancel
Save