Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 375:d1ea72f1c967
major fix of storescu
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 16 Apr 2013 17:33:44 +0200 |
parents | fc856d175d18 |
children | 4d5f0857ec9c |
comparison
equal
deleted
inserted
replaced
374:42e87c17cab8 | 375:d1ea72f1c967 |
---|---|
783 | 783 |
784 // If we have not reached the Patient level, find the parent of | 784 // If we have not reached the Patient level, find the parent of |
785 // the current resource | 785 // the current resource |
786 if (!done) | 786 if (!done) |
787 { | 787 { |
788 assert(db_->LookupParent(currentId, currentId)); | 788 bool ok = db_->LookupParent(currentId, currentId); |
789 assert(ok); | |
789 } | 790 } |
790 } | 791 } |
791 | 792 |
792 // No need for a SQLite::Transaction here, as we only insert 1 record | 793 // No need for a SQLite::Transaction here, as we only insert 1 record |
793 db_->LogExportedResource(type, | 794 db_->LogExportedResource(type, |