@@ -74,7 +74,7 @@ void RegisterTF(DatabaseInstance &instance, const char *name) {
|
|||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|
||||||
#define RESISTER_TF(name, func) \
|
#define REGISTER_TF(name, func) \
|
||||||
internal::RegisterTF<decltype(&func), &func>(instance, name)
|
internal::RegisterTF<decltype(&func), &func>(instance, name)
|
||||||
|
|
||||||
} // namespace duckdb
|
} // namespace duckdb
|
||||||
|
|||||||
@@ -111,9 +111,9 @@ static void LoadInternal(DatabaseInstance &instance) {
|
|||||||
LogicalType::UINTEGER, Value::UINTEGER(def));
|
LogicalType::UINTEGER, Value::UINTEGER(def));
|
||||||
}
|
}
|
||||||
|
|
||||||
RESISTER_TF("start_ui", StartUIFunction);
|
REGISTER_TF("start_ui", StartUIFunction);
|
||||||
RESISTER_TF("start_ui_server", StartUIServerFunction);
|
REGISTER_TF("start_ui_server", StartUIServerFunction);
|
||||||
RESISTER_TF("stop_ui_server", StopUIServerFunction);
|
REGISTER_TF("stop_ui_server", StopUIServerFunction);
|
||||||
{
|
{
|
||||||
TableFunction tf("ui_is_started", {}, IsUIStartedTableFunc,
|
TableFunction tf("ui_is_started", {}, IsUIStartedTableFunc,
|
||||||
internal::SingleBoolResultBind,
|
internal::SingleBoolResultBind,
|
||||||
|
|||||||
Reference in New Issue
Block a user