fix faulty Insert::Select generation within delete_select

This commit is contained in:
alpaylan
2025-07-15 22:35:05 -04:00
parent 9347e43dfc
commit 28ecb083e1

View File

@@ -984,6 +984,15 @@ fn property_delete_select<R: rand::Rng>(
continue;
}
}
Query::Insert(Insert::Select {
table: t,
select: _,
}) => {
// A row that holds for the predicate will not be inserted.
if t == &table.name {
continue;
}
}
Query::Create(Create { table: t }) => {
// There will be no errors in the middle interactions.
// - Creating the same table is an error