From 1a763ab00cf5d7bd7368230453d09de239f17014 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 22 Jul 2014 21:41:55 +0200 Subject: [PATCH] Also add session id. Signed-off-by: Roland Haeder --- .../node/class_NodeDistributedHashTableDatabaseWrapper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/hub/main/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php b/application/hub/main/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php index e7759ba14..769d854d9 100644 --- a/application/hub/main/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php +++ b/application/hub/main/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php @@ -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 -- 2.39.5