comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp @ 5216:450ac804d3af db-protobuf

simplifying IDatabaseWrapper::LogChange()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Apr 2023 14:49:33 +0200
parents 0ea402b4d901
children df39c7583a49 5874e5dd9a38
comparison
equal deleted inserted replaced
5215:8b6da4fdf9fe 5216:450ac804d3af
413 { 413 {
414 ServerIndexChange change(changeType, resourceType, publicId); 414 ServerIndexChange change(changeType, resourceType, publicId);
415 415
416 if (changeType <= ChangeType_INTERNAL_LastLogged) 416 if (changeType <= ChangeType_INTERNAL_LastLogged)
417 { 417 {
418 transaction_.LogChange(internalId, change); 418 transaction_.LogChange(changeType, resourceType, internalId, publicId, change.GetDate());
419 } 419 }
420 420
421 GetTransactionContext().SignalChange(change); 421 GetTransactionContext().SignalChange(change);
422 } 422 }
423 423