From 65d40e24078aa89791faf89667f253128d601294 Mon Sep 17 00:00:00 2001 From: Yves Date: Thu, 13 Mar 2025 11:00:07 +0100 Subject: [PATCH] Fix typo --- src/include/utils/helpers.hpp | 2 +- src/ui_extension.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/utils/helpers.hpp b/src/include/utils/helpers.hpp index ba923e7..6ecd11d 100644 --- a/src/include/utils/helpers.hpp +++ b/src/include/utils/helpers.hpp @@ -74,7 +74,7 @@ void RegisterTF(DatabaseInstance &instance, const char *name) { } // namespace internal -#define RESISTER_TF(name, func) \ +#define REGISTER_TF(name, func) \ internal::RegisterTF(instance, name) } // namespace duckdb diff --git a/src/ui_extension.cpp b/src/ui_extension.cpp index ed1d2d0..10acbfd 100644 --- a/src/ui_extension.cpp +++ b/src/ui_extension.cpp @@ -111,9 +111,9 @@ static void LoadInternal(DatabaseInstance &instance) { LogicalType::UINTEGER, Value::UINTEGER(def)); } - RESISTER_TF("start_ui", StartUIFunction); - RESISTER_TF("start_ui_server", StartUIServerFunction); - RESISTER_TF("stop_ui_server", StopUIServerFunction); + REGISTER_TF("start_ui", StartUIFunction); + REGISTER_TF("start_ui_server", StartUIServerFunction); + REGISTER_TF("stop_ui_server", StopUIServerFunction); { TableFunction tf("ui_is_started", {}, IsUIStartedTableFunc, internal::SingleBoolResultBind,