Skip to content

Commit

Permalink
Merge pull request #1301 from kuzudb/fix-get-rel-property
Browse files Browse the repository at this point in the history
Fix `getRelPropertyNames` result
  • Loading branch information
mewim committed Feb 21, 2023
2 parents 3d17b60 + 8fa0a1b commit 25224b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ std::string Connection::getRelPropertyNames(const std::string& relTableName) {
catalog->getReadOnlyVersion()->getRelTableSchema(relTableID)->getBoundTableID(FWD);
auto srcTableSchema = catalog->getReadOnlyVersion()->getNodeTableSchema(srcTableID);
auto dstTableID =
catalog->getReadOnlyVersion()->getRelTableSchema(relTableID)->getBoundTableID(FWD);
catalog->getReadOnlyVersion()->getRelTableSchema(relTableID)->getBoundTableID(BWD);
auto dstTableSchema = catalog->getReadOnlyVersion()->getNodeTableSchema(dstTableID);
std::string result = relTableName + " src node: " + srcTableSchema->tableName + "\n";
result += relTableName + " dst node: " + dstTableSchema->tableName + "\n";
Expand Down

0 comments on commit 25224b8

Please sign in to comment.