Ns_PdDbSpReturnCode

Name

Ns_PdDbSpReturnCode -- Get return code of stored procedure

Syntax

void Ns_PdDbSpReturnCode (void *handle)

Description

This function gets the return code from a previously executed stored procedure.

Pseudo-code Example

void
Ns_PdDbSpReturnCode (void *handle) {
  DBMSState *state = (DBMSState *)handle;
  char       rc[15];
  sprintf(rc, "%d", state->returnCode);
  Ns_PdLog(Trace, "spreturncode: %s", rc);
  Ns_PdSendString(rc);
}