@@ -7,9 +7,9 @@ use core::ffi::{CStr, c_char, c_int, c_void};
77use serde:: Serialize ;
88use serde_json:: value:: RawValue ;
99
10+ use powersync_sqlite_nostd:: ManagedStmt ;
11+ use powersync_sqlite_nostd:: { self as sqlite, ColumnType } ;
1012use sqlite:: { Connection , ResultCode , Value } ;
11- use sqlite_nostd:: ManagedStmt ;
12- use sqlite_nostd:: { self as sqlite, ColumnType } ;
1313
1414use crate :: error:: PowerSyncError ;
1515use crate :: ext:: SafeManagedStmt ;
@@ -101,7 +101,7 @@ impl VirtualTable {
101101 // Columns are (data TEXT, options INT HIDDEN)
102102 let data = args[ 0 ] . text ( ) ;
103103 let flags = match args[ 1 ] . value_type ( ) {
104- sqlite_nostd :: ColumnType :: Null => TableInfoFlags :: default ( ) ,
104+ sqlite :: ColumnType :: Null => TableInfoFlags :: default ( ) ,
105105 _ => TableInfoFlags ( args[ 1 ] . int ( ) as u32 ) ,
106106 } ;
107107
@@ -114,7 +114,7 @@ impl VirtualTable {
114114 CrudTransactionMode :: Simple ( simple) => {
115115 // Columns are (op TEXT, id TEXT, type TEXT, data TEXT, old_values TEXT, metadata TEXT, options INT HIDDEN)
116116 let flags = match args[ 6 ] . value_type ( ) {
117- sqlite_nostd :: ColumnType :: Null => TableInfoFlags :: default ( ) ,
117+ sqlite :: ColumnType :: Null => TableInfoFlags :: default ( ) ,
118118 _ => TableInfoFlags ( args[ 6 ] . int ( ) as u32 ) ,
119119 } ;
120120 let op = args[ 0 ] . text ( ) ;
@@ -364,7 +364,7 @@ extern "C" fn update(
364364// Insert-only virtual table.
365365// The primary functionality here is in begin, update, commit and rollback.
366366// connect and disconnect configures the table and allocates the required resources.
367- static MODULE : sqlite_nostd :: module = sqlite_nostd :: module {
367+ static MODULE : sqlite :: module = sqlite :: module {
368368 iVersion : 0 ,
369369 xCreate : None ,
370370 xConnect : Some ( connect) ,
0 commit comments