mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-02 14:54:23 +01:00
fix faulty Insert::Select generation within delete_select
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user