]> git.mxchange.org Git - hub.git/commitdiff
Also add session id.
authorRoland Haeder <roland@mxchange.org>
Tue, 22 Jul 2014 19:41:55 +0000 (21:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 22 Jul 2014 19:41:55 +0000 (21:41 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php

index e7759ba14931f17a7024b9aa924d2462666e700e..769d854d9e2fd7f4d84ae5839d060a342e1ac017 100644 (file)
@@ -200,6 +200,7 @@ class NodeDistributedHashTableDatabaseWrapper extends BaseDatabaseWrapper implem
                $searchInstance->addCriteria(self::DB_COLUMN_EXTERNAL_IP, $ipPort[0]);
                $searchInstance->addCriteria(self::DB_COLUMN_LISTEN_PORT, $ipPort[1]);
                $searchInstance->addCriteria(self::DB_COLUMN_NODE_ID    , $nodeInstance->getNodeId());
+               $searchInstance->addCriteria(self::DB_COLUMN_SESSION_ID , $nodeInstance->getSessionId());
                $searchInstance->setLimit(1);
 
                // Query database and get a result instance back