From 863830cf3f9f306ba09481c8864def9914366d66 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 5 Aug 2022 15:46:49 +0100 Subject: [PATCH] Ensure FIELD definitions are not output two in SQL export CLoses #16 --- lib/src/kvs/tx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/kvs/tx.rs b/lib/src/kvs/tx.rs index 590513ae..4da1482a 100644 --- a/lib/src/kvs/tx.rs +++ b/lib/src/kvs/tx.rs @@ -861,7 +861,7 @@ impl Transaction { } } // Output INDEXS - let ixs = self.all_fd(ns, db, &tb.name).await?; + let ixs = self.all_ix(ns, db, &tb.name).await?; if !ixs.is_empty() { for ix in &ixs { chn.send(bytes!(format!("{};", ix))).await?;