mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-22 08:25:29 +01:00
Fix EXPLAIN when querying
This commit is contained in:
@@ -58,7 +58,11 @@ impl Connection {
|
||||
vdbe::ProgramState::new(self.pager.clone(), program.max_registers);
|
||||
Ok(Some(Rows::new(state, program)))
|
||||
}
|
||||
Cmd::Explain(_stmt) => Ok(None),
|
||||
Cmd::Explain(stmt) => {
|
||||
let program = vdbe::translate(&self.schema, stmt)?;
|
||||
program.explain();
|
||||
Ok(None)
|
||||
}
|
||||
Cmd::ExplainQueryPlan(_stmt) => Ok(None),
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user