예제 #1
0
        /// <summary>
        /// Retrieve runtime status information about the
        /// performance of SQLite, and optionally to reset various highwater marks.
        /// </summary>
        /// <seealso href="https://www.sqlite.org/c3ref/status.html"/>
        /// <param name="statusCode">The specific parameter to measure.</param>
        /// <param name="current">The current value of the performance metric.</param>
        /// <param name="highwater">The highwater value of the performance metric.</param>
        /// <param name="reset">If <see langword="true"/>, then the highest record value is reset.</param>
        public static void Status(SQLiteStatusCode statusCode, out int current, out int highwater, bool reset)
        {
            int rc = raw.sqlite3_status((int)statusCode, out current, out highwater, reset ? 1 : 0);

            SQLiteException.CheckOk(rc);
        }
예제 #2
0
 /// <summary>
 /// Retrieve runtime status information about the 
 /// performance of SQLite, and optionally to reset various highwater marks.
 /// </summary>
 /// <seealso href="https://www.sqlite.org/c3ref/status.html"/>
 /// <param name="statusCode">The specific parameter to measure.</param>
 /// <param name="current">The current value of the performance metric.</param>
 /// <param name="highwater">The highwater value of the performance metric.</param>
 /// <param name="reset">If <see langword="true"/>, then the highest record value is reset.</param>
 public static void Status(SQLiteStatusCode statusCode, out int current, out int highwater, bool reset)
 {
     int rc = raw.sqlite3_status((int)statusCode, out current, out highwater, reset ? 1 : 0);
     SQLiteException.CheckOk(rc);
 }