Send to the client the id last affected by a exec.
void Ns_PdDbResultId(void *handle);
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.
Ns_PdDbResultId(void *handle) { char *idstr; DBMSState *state = (DBMSState *) handle; Ns_PdLog(Trace, "resultid:"); idstr = PdGetLastOIDAffected(handle); if (idstr == NULL) { idstr = ""; } Ns_PdSendString(idstr); }