|
|
Get return code of stored procedure
void Ns_PdDbSpReturnCode (void *handle)
This function gets the return code from a previously executed stored procedure.
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);
}