mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-03 15:24:22 +01:00
enable indexes
This commit is contained in:
@@ -703,7 +703,7 @@ fn reopen_database(env: &mut SimulatorEnv) {
|
||||
|
||||
// 2. Re-open database
|
||||
let db_path = env.db_path.clone();
|
||||
let db = match turso_core::Database::open_file(env.io.clone(), &db_path, false, false) {
|
||||
let db = match turso_core::Database::open_file(env.io.clone(), &db_path, false, true) {
|
||||
Ok(db) => db,
|
||||
Err(e) => {
|
||||
panic!("error opening simulator test file {:?}: {:?}", db_path, e);
|
||||
|
||||
@@ -139,7 +139,7 @@ impl SimulatorEnv {
|
||||
std::fs::remove_file(wal_path).unwrap();
|
||||
}
|
||||
|
||||
let db = match Database::open_file(io.clone(), db_path.to_str().unwrap(), false, false) {
|
||||
let db = match Database::open_file(io.clone(), db_path.to_str().unwrap(), false, true) {
|
||||
Ok(db) => db,
|
||||
Err(e) => {
|
||||
panic!("error opening simulator test file {:?}: {:?}", db_path, e);
|
||||
|
||||
Reference in New Issue
Block a user