Don't read nodes twice in SqlStorage (#3836)

This commit is contained in:
Gilberto Garcia 2024-02-15 14:03:02 -06:00 committed by GitHub
parent 96008f6338
commit 7d89c97907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -874,7 +874,7 @@ public class SqlStorage implements StorageImplementation {
while (rs.next()) { while (rs.next()) {
Node node = readNode(rs); Node node = readNode(rs);
if (node != null) { if (node != null) {
nodes.add(readNode(rs)); nodes.add(node);
} }
} }
} }