Remove vtab() function from VTabCursor trait

This commit is contained in:
gwenn
2018-07-14 19:10:28 +02:00
parent e2df03f474
commit 0c371834aa
5 changed files with 5 additions and 15 deletions

View File

@@ -182,9 +182,6 @@ impl SeriesTabCursor {
impl VTabCursor for SeriesTabCursor {
type Table = SeriesTab;
fn vtab(&self) -> &SeriesTab {
unsafe { &*(self.base.pVtab as *const SeriesTab) }
}
fn filter(&mut self, idx_num: c_int, _idx_str: Option<&str>, args: &Values) -> Result<()> {
let idx_num = QueryPlanFlags::from_bits_truncate(idx_num);
let mut i = 0;