comparison Framework/Plugins/IndexBackend.cpp @ 432:8b7c1c423367 pg-transactions

new 'TransactionMode' config + rewrote ResourceDeletedFunc to avoid IF/THEN/ELSE pattern
author Alain Mazy <am@osimis.io>
date Mon, 11 Dec 2023 14:39:27 +0100
parents 7c1fe5d6c12c
children 5964ce6385a5
comparison
equal deleted inserted replaced
431:7c1fe5d6c12c 432:8b7c1c423367
468 output.SignalRemainingAncestor( 468 output.SignalRemainingAncestor(
469 statement.ReadString(1), 469 statement.ReadString(1),
470 static_cast<OrthancPluginResourceType>(statement.ReadInteger32(0))); 470 static_cast<OrthancPluginResourceType>(statement.ReadInteger32(0)));
471 471
472 // There is at most 1 remaining ancestor 472 // There is at most 1 remaining ancestor
473 assert((statement.Next(), statement.IsDone())); 473 //assert((statement.Next(), statement.IsDone()));
474 } 474 }
475 } 475 }
476 476
477 SignalDeletedFiles(output, manager); 477 SignalDeletedFiles(output, manager);
478 SignalDeletedResources(output, manager); 478 SignalDeletedResources(output, manager);