mirror of
https://github.com/isar/rusqlite.git
synced 2026-03-29 09:39:11 +08:00
Remove vtab() function from VTabCursor trait
This commit is contained in:
@@ -126,9 +126,6 @@ impl ArrayTabCursor {
|
||||
impl VTabCursor for ArrayTabCursor {
|
||||
type Table = ArrayTab;
|
||||
|
||||
fn vtab(&self) -> &ArrayTab {
|
||||
unsafe { &*(self.base.pVtab as *const ArrayTab) }
|
||||
}
|
||||
fn filter(&mut self, idx_num: c_int, _idx_str: Option<&str>, args: &Values) -> Result<()> {
|
||||
if idx_num > 0 {
|
||||
self.ptr = try!(args.get_array(0));
|
||||
|
||||
Reference in New Issue
Block a user