Mercurial > hg > orthanc-databases
diff MySQL/Plugins/MySQLIndex.cpp @ 305:87f0e29a1dc1
added Dictionary::Clear()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 12 Jul 2021 09:40:01 +0200 |
parents | 3a52e27a2d80 |
children | 8de3a1ecac11 |
line wrap: on
line diff
--- a/MySQL/Plugins/MySQLIndex.cpp Fri Jul 09 17:23:24 2021 +0200 +++ b/MySQL/Plugins/MySQLIndex.cpp Mon Jul 12 09:40:01 2021 +0200 @@ -352,6 +352,12 @@ DatabaseManager& manager, int64_t id) { + /** + * Contrarily to PostgreSQL and SQLite, the MySQL dialect doesn't + * support cascaded delete inside the same table. This has to be + * manually reimplemented. + **/ + ClearDeletedFiles(manager); // Recursive exploration of resources to be deleted, from the "id"