| 1857 | } |
| 1858 | |
| 1859 | void Context::setUserScriptsPath(const String & path) |
| 1860 | { |
| 1861 | { |
| 1862 | std::lock_guard lock(shared->mutex); |
| 1863 | shared->user_scripts_path = path; |
| 1864 | } |
| 1865 | |
| 1866 | auto * wasm_module_manager = initWasmModuleManager(); |
| 1867 | if (wasm_module_manager) |
| 1868 | { |
| 1869 | auto & function_storage = getUserDefinedSQLObjectsStorage(); |
| 1870 | function_storage.loadObjects(); |
| 1871 | UserDefinedSQLFunctionFactory::instance().loadFunctions(function_storage, *wasm_module_manager); |
| 1872 | } |
| 1873 | } |
| 1874 | |
| 1875 | void Context::addOrUpdateWarningMessage(WarningType warning, const PreformattedMessage & message) const |
| 1876 | { |
no test coverage detected