[][src]Function sql_support::default_max_variable_number

pub fn default_max_variable_number() -> usize

Returns SQLITE_LIMIT_VARIABLE_NUMBER as read from an in-memory connection and cached. connection and cached. That means this will return the wrong value if it's set to a lower value for a connection using this will return the wrong thing, but doing so is rare enough that we explicitly don't support it (why would you want to lower this at runtime?).

If you call this and the actual value was set to a negative number or zero (nothing prevents this beyond a warning in the SQLite documentation), we panic. However, it's unlikely you can run useful queries if this happened anyway.