From 59d7e733eb856af4b547a565b4ed964b886d9ff0 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 4 Jul 2022 17:53:37 +0100 Subject: [PATCH] Ignore errors when automatically adding NS, DB, or TB definitions --- lib/src/kvs/tx.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/kvs/tx.rs b/lib/src/kvs/tx.rs index a6d47540..d0db20ab 100644 --- a/lib/src/kvs/tx.rs +++ b/lib/src/kvs/tx.rs @@ -719,7 +719,7 @@ impl Transaction { let val = DefineNamespaceStatement { name: ns.to_owned().into(), }; - let _ = self.put(key, &val).await?; + let _ = self.put(key, &val).await; Ok(val) } /// Add a database with a default configuration. @@ -728,7 +728,7 @@ impl Transaction { let val = DefineDatabaseStatement { name: db.to_owned().into(), }; - let _ = self.put(key, &val).await?; + let _ = self.put(key, &val).await; Ok(val) } /// Add a table with a default configuration. @@ -743,7 +743,7 @@ impl Transaction { name: tb.to_owned().into(), ..DefineTableStatement::default() }; - let _ = self.put(key, &val).await?; + let _ = self.put(key, &val).await; Ok(val) } /// Writes the full database contents as binary SQL.