fixed queryer relation issues

This commit is contained in:
2026-04-02 22:51:13 -04:00
parent 06f6a587de
commit 7876567ae7
9 changed files with 388 additions and 58 deletions

View File

@ -78,7 +78,7 @@ pub fn run_test_case(path: &str, suite_idx: usize, case_idx: usize) -> Result<()
let mut failures = Vec::<String>::new();
// For validate/merge/query, if setup failed we must structurally fail this test
let db_unwrapped = if test.action.as_str() != "compile" && test.action.as_str() != "database_compile" {
let db_unwrapped = if test.action.as_str() != "compile" {
match &**db {
Ok(valid_db) => Some(valid_db.clone()),
Err(drop) => {
@ -105,7 +105,7 @@ pub fn run_test_case(path: &str, suite_idx: usize, case_idx: usize) -> Result<()
// 4. Run Tests
match test.action.as_str() {
"compile" | "database_compile" => {
"compile" => {
let result = test.run_compile(db);
if let Err(e) = result {
println!("TEST COMPILE ERROR FOR '{}': {}", test.description, e);