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,