Field estimatedRows is not available with SQLite 3.7.7

This commit is contained in:
gwenn 2017-04-21 21:50:38 +02:00
parent 6371c0c6ec
commit 197d1161c3

View File

@ -120,7 +120,9 @@ impl IndexInfo {
(*self.0).estimatedCost = estimated_ost; (*self.0).estimatedCost = estimated_ost;
} }
} }
/// Estimated number of rows returned /// Estimated number of rows returned
#[cfg(feature = "bundled")]
pub fn set_estimated_rows(&mut self, estimated_rows: i64) { pub fn set_estimated_rows(&mut self, estimated_rows: i64) {
unsafe { unsafe {
(*self.0).estimatedRows = estimated_rows; (*self.0).estimatedRows = estimated_rows;
@ -586,4 +588,5 @@ pub fn mprintf(err_msg: &str) -> *mut c_char {
pub mod int_array; pub mod int_array;
#[cfg(feature = "csvtab")] #[cfg(feature = "csvtab")]
pub mod csvtab; pub mod csvtab;
#[cfg(feature = "bundled")]
pub mod series; pub mod series;