Retain exact attribute counts in rdb as parsed

This commit is contained in:
Thomas Krijnen
2025-08-28 11:15:05 +02:00
parent 2c6956ec02
commit b6712602e2
4 changed files with 13 additions and 5 deletions
+4
View File
@@ -96,6 +96,10 @@ void RocksDbSerializer::write_streaming_() {
IfcParse::InstanceStreamer streamer(input_filename);
// We do not want to coerce attribute counts here, because we want
// to store exactly what is in the file for validation purposes
streamer.coerce_attribute_count = false;
while (streamer) {
auto inst = streamer.read_instance();
if (inst) {