mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix non-deduped merging in DB-based version
This commit is contained in:
@@ -506,7 +506,7 @@ VALUES ('" + tempname.Replace("'", "''") + "', '" +
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
string query = @"INSERT INTO roms
|
string query = @"INSERT INTO roms
|
||||||
(game, name, type, sysid, srcid, size, crc, md5, sha1, filename)
|
(game, name, type, sysid, srcid, size, crc, md5, sha1, dupe)
|
||||||
VALUES ('" + tempname.Replace("'", "''") + "', '" +
|
VALUES ('" + tempname.Replace("'", "''") + "', '" +
|
||||||
xtr.GetAttribute("name").Replace("'", "''") + "', '" +
|
xtr.GetAttribute("name").Replace("'", "''") + "', '" +
|
||||||
xtr.Name + "', " +
|
xtr.Name + "', " +
|
||||||
|
|||||||
Reference in New Issue
Block a user