Esempio n. 1
0
int ODBCWrapper::bindDoubleParameter(int stmtId, int slot, double *dblp)
{
    Statement *stmt = stmts[stmtId];
    if (!stmt) return MOB_INVALID_STMTID;

    try
    {
        stmt->bindDoubleParameter(slot, dblp);
    }
    catch (ODBCException *e)
    {
        handleException(e);
        return MOB_NG;
    }

    return MOB_OK;
}