Allow deletion of records on DROP
tables (#2298)
This commit is contained in:
parent
773cb5f130
commit
cbbde1fae1
1 changed files with 0 additions and 4 deletions
|
@ -24,10 +24,6 @@ impl<'a> Document<'a> {
|
||||||
if !opt.force && !self.changed() {
|
if !opt.force && !self.changed() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
// Check if the table is a view
|
|
||||||
if self.tb(opt, txn).await?.drop {
|
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
// Clone transaction
|
// Clone transaction
|
||||||
let run = txn.clone();
|
let run = txn.clone();
|
||||||
// Claim transaction
|
// Claim transaction
|
||||||
|
|
Loading…
Reference in a new issue