Skip to content

Commit

Permalink
Fix merged id export
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Aug 30, 2024
1 parent afc1b67 commit 03023d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dbtoken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,11 @@ Dbtoken::write_ids(const char *in_path, const char *out_path)
goto next_line;
}

dump_id(out, ec, name);
auto len = ec->get_len();
dump_id(out, ec, name.substr(covered, len));

covered += ec->get_len();
ti += ec->get_len();
covered += len;
ti += len;
}
next_line:
continue;
Expand Down

0 comments on commit 03023d0

Please sign in to comment.