浏览代码

HPCC-11555 Mangled GeneratedDll name doesn't need RTM_CREATE_ADD

RTM_CREATE_ADD a leftover from before the mangled GeneratedDll
id's were introduced.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 11 年之前
父节点
当前提交
7ddfd2c454
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/dllserver/dllserver.cpp

+ 2 - 2
common/dllserver/dllserver.cpp

@@ -582,8 +582,8 @@ void DllServer::doRegisterDll(const char * name, const char * kind, const char *
         xpath.append("/GeneratedDlls/");
         getMangledTag(xpath, name);
 
-        conn.setown(querySDS().connect(xpath, myProcessSession(), RTM_LOCK_WRITE|RTM_CREATE_ADD, CONNECTION_TIMEOUT));
-        assertex(conn); // RTM_CREATE_ADD will create GeneratedDlls parent node if it doesn't exist.
+        conn.setown(querySDS().connect(xpath, myProcessSession(), RTM_LOCK_WRITE|RTM_CREATE_QUERY, CONNECTION_TIMEOUT));
+        assertex(conn); // RTM_CREATE_QUERY will create GeneratedDlls parent node if it doesn't exist.
 
         IPropertyTree * entry = conn->queryRoot();
         entry->setProp("@name", name);