Mercurial > dedupe
diff MemoryDBLink.cpp @ 92:f49023c61dac
Support for bulk insertion.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Mon, 21 Oct 2013 20:03:39 +0200 |
| parents | af7962f3274b |
| children | 6c6f3a5f96ea |
line wrap: on
line diff
--- a/MemoryDBLink.cpp Mon Oct 21 16:21:54 2013 +0200 +++ b/MemoryDBLink.cpp Mon Oct 21 20:03:39 2013 +0200 @@ -3,7 +3,7 @@ #include <QtCore/QStringList> void MemoryDBLink::addFile(const QString& path, quint64 size, - const QDateTime& dtime, const QByteArray& hash) + const QDateTime& dtime, const QByteArray& hash, bool) { addFile(DBInfo(path, size, dtime, hash)); } @@ -85,7 +85,8 @@ } void MemoryDBLink::updateFile(const QString& path, quint64 size, - const QDateTime& dtime, const QByteArray& hash) + const QDateTime& dtime, const QByteArray& hash, + bool) { updateFile(DBInfo(path, size, dtime, hash)); }
