Skip to content

Commit

Permalink
fix tcr8
Browse files Browse the repository at this point in the history
  • Loading branch information
spasserby authored and tugraph committed Sep 25, 2023
1 parent 5099afa commit b7cd9b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lgraph_api/lgraph_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ void Result::Load(const std::string &output) {
auto title = col.key();
switch (GetType(title)) {
case LGraphType::INTEGER:
record->Insert(title, FieldData(std::forward<int>(col.value().get<int>())));
record->Insert(title,
FieldData(std::forward<int64_t>(col.value().get<int64_t>())));
break;
case LGraphType::FLOAT:
record->Insert(title, FieldData(std::forward<float>(col.value().get<float>())));
Expand Down

0 comments on commit b7cd9b3

Please sign in to comment.