Fix ownership model of DatabaseInstance
This commit is contained in:
@@ -35,12 +35,6 @@ bool ShouldRun(TableFunctionInput &input);
|
||||
|
||||
template <typename Func> struct CallFunctionHelper;
|
||||
|
||||
template <> struct CallFunctionHelper<std::string (*)()> {
|
||||
static std::string call(ClientContext &context, TableFunctionInput &input,
|
||||
std::string (*f)()) {
|
||||
return f();
|
||||
}
|
||||
};
|
||||
|
||||
template <> struct CallFunctionHelper<std::string (*)(ClientContext &)> {
|
||||
static std::string call(ClientContext &context, TableFunctionInput &input,
|
||||
|
||||
Reference in New Issue
Block a user