mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Field estimatedRows is not available with SQLite 3.7.7
This commit is contained in:
parent
6371c0c6ec
commit
197d1161c3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user