Introduce VTabConnection and OrderBy

This commit is contained in:
gwenn
2018-07-09 18:53:52 +02:00
parent ce0c9a6344
commit ce39b9a3c0
4 changed files with 82 additions and 27 deletions

View File

@@ -7,7 +7,7 @@ use std::rc::Rc;
use error::error_from_sqlite_code;
use ffi;
use types::{ToSql, ToSqlOutput, Value};
use vtab::{self, Context, IndexInfo, Module, VTab, VTabCursor, Values};
use vtab::{self, Context, IndexInfo, Module, VTab, VTabConnection, VTabCursor, Values};
use {Connection, Error, Result};
// http://sqlite.org/bindptr.html
@@ -64,7 +64,7 @@ impl Module for ArrayModule {
}
fn connect(
_: &mut ffi::sqlite3,
_: &mut VTabConnection,
_aux: Option<&()>,
_args: &[&[u8]],
) -> Result<(String, ArrayTab)> {