Ensure foreign table views are updated when redefined

This commit is contained in:
Tobie Morgan Hitchcock 2022-07-08 21:56:33 +01:00
parent d425f67a8b
commit 29e500017d

View file

@ -583,6 +583,8 @@ impl DefineTableStatement {
}
// Release the transaction
drop(run);
// Force tables to reprocess
let opt = &opt.force(true);
// Process each foreign table
for v in view.what.0.iter() {
// Process the view data