|
|
Send to the client the number of rows last affected by a exec.
void Ns_PdDbResultRows(void *handle);
This function sends to the client with Ns_PdSendString the number of rows affected by last exec command.
void
Ns_PdDbResultRows(void *handle)
{
DBMSState *state = (DBMSState *)handle;
char rowcntbuf[128];
Ns_PdLog(Trace, "resultrows:");
sprintf(rowcntbuf, "%d", state->lastRowCnt);
Ns_PdSendString(rowcntbuf);
}