提交 d7ba6040 编写于 作者: S slzhou

fix: c plugin libLoaded = false

上级 75706266
...@@ -530,7 +530,7 @@ int32_t udfdInitUdf(char *udfName, SUdf *udf) { ...@@ -530,7 +530,7 @@ int32_t udfdInitUdf(char *udfName, SUdf *udf) {
uv_mutex_lock(&global.scriptPluginsMutex); uv_mutex_lock(&global.scriptPluginsMutex);
SUdfScriptPlugin *scriptPlugin = global.scriptPlugins[udf->scriptType]; SUdfScriptPlugin *scriptPlugin = global.scriptPlugins[udf->scriptType];
if (scriptPlugin == NULL || scriptPlugin->libLoaded == false) { if (scriptPlugin == NULL) {
err = udfdInitScriptPlugin(udf->scriptType); err = udfdInitScriptPlugin(udf->scriptType);
if (err != 0) { if (err != 0) {
uv_mutex_unlock(&global.scriptPluginsMutex); uv_mutex_unlock(&global.scriptPluginsMutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册