Add missing IndexConstraintOp entries

Remove conditional inclusions.
This commit is contained in:
gwenn 2020-01-26 18:14:52 +01:00
parent 5d06bc25a6
commit 8cc4440f45

View File

@ -254,23 +254,14 @@ pub enum IndexConstraintOp {
SQLITE_INDEX_CONSTRAINT_LT,
SQLITE_INDEX_CONSTRAINT_GE,
SQLITE_INDEX_CONSTRAINT_MATCH,
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_LIKE, // 3.10.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_GLOB, // 3.10.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_REGEXP, // 3.10.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_NE, // 3.21.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_ISNOT, // 3.21.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_ISNOTNULL, // 3.21.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_ISNULL, // 3.21.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_IS, // 3.21.0
#[cfg(feature = "modern_sqlite")]
SQLITE_INDEX_CONSTRAINT_FUNCTION(u8), // 3.25.0
}