From fba280ff64318b58b59ab37fa53c4aa209bc9b46 Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 20 Apr 2017 20:33:18 +0200 Subject: [PATCH] Some limits are not available in 3.6.8 --- libsqlite3-sys/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsqlite3-sys/src/lib.rs b/libsqlite3-sys/src/lib.rs index 4f24e3b..23abef0 100644 --- a/libsqlite3-sys/src/lib.rs +++ b/libsqlite3-sys/src/lib.rs @@ -39,9 +39,9 @@ pub enum Limit { /// The maximum index number of any parameter in an SQL statement. SQLITE_LIMIT_VARIABLE_NUMBER = SQLITE_LIMIT_VARIABLE_NUMBER as isize, /// The maximum depth of recursion for triggers. - SQLITE_LIMIT_TRIGGER_DEPTH = SQLITE_LIMIT_TRIGGER_DEPTH as isize, + SQLITE_LIMIT_TRIGGER_DEPTH = 10, /// The maximum number of auxiliary worker threads that a single prepared statement may start. - SQLITE_LIMIT_WORKER_THREADS = SQLITE_LIMIT_WORKER_THREADS as isize, + SQLITE_LIMIT_WORKER_THREADS = 11, } include!(concat!(env!("OUT_DIR"), "/bindgen.rs"));