Forward StringIds of path/ldpath/program.

Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/4fc4ad3d
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/4fc4ad3d
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/4fc4ad3d

Branch: refs/heads/master
Commit: 4fc4ad3d0723339fc5fcfca5fd073c8a8de0f8bd
Parents: 8175d44
Author: Dave George <[email protected]>
Authored: Thu Apr 12 18:52:50 2018 +0000
Committer: Dave George <[email protected]>
Committed: Thu Apr 12 18:52:50 2018 +0000

----------------------------------------------------------------------
 core/sqf/monitor/linux/reqqueue.cxx | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/4fc4ad3d/core/sqf/monitor/linux/reqqueue.cxx
----------------------------------------------------------------------
diff --git a/core/sqf/monitor/linux/reqqueue.cxx 
b/core/sqf/monitor/linux/reqqueue.cxx
index 6825652..ac559c2 100644
--- a/core/sqf/monitor/linux/reqqueue.cxx
+++ b/core/sqf/monitor/linux/reqqueue.cxx
@@ -1499,6 +1499,13 @@ void CIntNewProcReq::performRequest()
              lnode->GetState() == State_Shutdown ) )
         {   // Create the CProcess object and store the various
             // process parameters.
+#ifndef NAMESERVER_PROCESS
+            // cause strings to be forwarded
+            string path;
+            Config->strIdToString( pathStrId_, path );
+            Config->strIdToString( ldpathStrId_, path );
+            Config->strIdToString( programStrId_, path );
+#endif
             CProcess *newProcess ;
             newProcess = lnode->GetNode()->
                 CreateProcess ( parentProcess,

Reply via email to