Port vtablog as an example of a writable VTab

This commit is contained in:
gwenn
2022-03-20 11:50:22 +01:00
committed by Thom Chiovoloni
parent 762321c15e
commit fe1150b0cf
6 changed files with 316 additions and 22 deletions

View File

@@ -153,7 +153,7 @@ unsafe impl<'vtab> VTab<'vtab> for SeriesTab {
Ok(())
}
fn open(&self) -> Result<SeriesTabCursor<'_>> {
fn open(&mut self) -> Result<SeriesTabCursor<'_>> {
Ok(SeriesTabCursor::new())
}
}