From 29e500017d510fe76ae1d0434f044050158677d3 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 8 Jul 2022 21:56:33 +0100 Subject: [PATCH] Ensure foreign table views are updated when redefined --- lib/src/sql/statements/define.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/sql/statements/define.rs b/lib/src/sql/statements/define.rs index 7974e72e..7f1947b5 100644 --- a/lib/src/sql/statements/define.rs +++ b/lib/src/sql/statements/define.rs @@ -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