sqlite3_busy_timeout() private method

private sqlite3_busy_timeout ( IntPtr db, int ms ) : int
db System.IntPtr
ms int
return int
Esempio n. 1
0
        internal override void SetTimeout(int nTimeoutMS)
        {
            int n = UnsafeNativeMethods.sqlite3_busy_timeout(_sql, nTimeoutMS);

            if (n > 0)
            {
                throw new SqliteException(n, SQLiteLastError());
            }
        }