Name
Ns_PdDbResultId -- Send to the client the id last
affected by a exec.
Syntax
void Ns_PdDbResultId (void
*handle);
Description
This function sends to the client with Ns_PdSendString the
id of the last object affected an by exec command or a null
terminated string.
Pseudo-code Example
Ns_PdDbResultId(void *handle) {
char *idstr;
DBMSState *state = (DBMSState *) handle;
Ns_PdLog(Trace, "resultid:");
idstr = PdGetLastOIDAffected(handle);
if (idstr == NULL) {
idstr = "";
}
Ns_PdSendString(idstr);
}
|