From 72d82f4bcecdaffb079aeb07b377271421f5e94b Mon Sep 17 00:00:00 2001 From: Yves Date: Thu, 14 Aug 2025 12:26:26 -0700 Subject: [PATCH] Format --- src/include/utils/helpers.hpp | 2 +- src/watcher.cpp | 10 +++++----- test/sql/ui.test | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/include/utils/helpers.hpp b/src/include/utils/helpers.hpp index 7e8c649..fee6462 100644 --- a/src/include/utils/helpers.hpp +++ b/src/include/utils/helpers.hpp @@ -11,7 +11,7 @@ namespace duckdb { typedef std::string (*simple_tf_t)(ClientContext &); struct RunOnceTableFunctionState : GlobalTableFunctionState { - RunOnceTableFunctionState() : run(false) {}; + RunOnceTableFunctionState() : run(false){}; std::atomic run; static unique_ptr Init(ClientContext &, diff --git a/src/watcher.cpp b/src/watcher.cpp index 8b4b567..c71f251 100644 --- a/src/watcher.cpp +++ b/src/watcher.cpp @@ -62,11 +62,11 @@ void Watcher::Watch() { break; // DB went away, nothing to watch } - if (watched_database == nullptr) { - watched_database = db.get(); - } else if (watched_database != db.get()) { - break; // DB changed, stop watching, will be restarted - } + if (watched_database == nullptr) { + watched_database = db.get(); + } else if (watched_database != db.get()) { + break; // DB changed, stop watching, will be restarted + } duckdb::Connection con{*db}; auto polling_interval = GetPollingInterval(*con.context); diff --git a/test/sql/ui.test b/test/sql/ui.test index 8146b70..4255892 100644 --- a/test/sql/ui.test +++ b/test/sql/ui.test @@ -1,3 +1,4 @@ # name: test/sql/ui.test # description: test ui extension -# group: [ui] +# group: [sql] +