[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_PdDbResultRows

Overview

Send to the client the number of rows last affected by a exec.

Syntax

    void Ns_PdDbResultRows(void *handle);

Description

This function sends to the client with Ns_PdSendString the number of rows affected by last exec command.

Psuedo-code Example

    void
    Ns_PdDbResultRows(void *handle)
    {
        DBMSState *state = (DBMSState *)handle;
        char rowcntbuf[128];
     
        Ns_PdLog(Trace, "resultrows:");
        sprintf(rowcntbuf, "%d", state->lastRowCnt);
        Ns_PdSendString(rowcntbuf);
    }

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.