Skip to content

Commit f02c047

Browse files
authored
Added log for orphan tables (#13)
* I think somehow we are adding all tables as orphans, added log * Removed unneeded clone --------- Co-authored-by: Boppy <[email protected]>
1 parent 50e357a commit f02c047

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/core/src/host/wasm_common/module_host_actor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ impl<T: WasmInstance> WasmInstanceActor<T> {
555555
// but for now it's an incompatible schema change
556556
for orphan in known_tables.into_keys() {
557557
if !orphan.starts_with("st_") {
558+
self.system_logger()
559+
.warn(format!("Orphaned table: {}", orphan).as_str());
558560
tainted.push(orphan);
559561
}
560562
}

0 commit comments

Comments
 (0)