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

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

    return MOB_OK;
}