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

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

    return MOB_OK;
}