Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Aug 15, 2024
1 parent 3a76a57 commit fe64c92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flex/engines/graph_db/runtime/common/rt_any.cc
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,9 @@ void RTAny::sink(const gs::ReadTransaction& txn, int id,
sink_any(prop, e->mutable_properties(0)->mutable_value());
} else if (prop_names.size() > 1) {
auto rv = prop.AsRecordView();
CHECK(rv.size() == prop_names.size());
if (rv.size() != prop_names.size()) {
LOG(ERROR) << "record view size not match with prop names";
}
for (size_t i = 0; i < prop_names.size(); ++i) {
auto props = e->add_properties();
props->mutable_key()->set_name(prop_names[i]);
Expand Down

0 comments on commit fe64c92

Please sign in to comment.