Stage 2 changes for using in-mem database

This change makes it mostly functional, having a way to both parse and merge in one step and output from the database. The issue is that the output from Parse2 doesn't match Parse OR Parse + Merge. Duplicates don't seem to be added in the first case and there are a differing number of roms in the second.
This commit is contained in:
Matt Nadareski
2016-04-27 01:10:24 -07:00
parent bce1cc5839
commit e450eebfd7
3 changed files with 125 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ namespace SabreTools
{
_logger.Log("Total number of lines in database: " + slc.ExecuteScalar());
}
Output.WriteToDat2(_name + "-db", _desc + "-db", _version, _date, _cat, _author, _forceunpack, _old, "", dbc, _logger);
dbc.Close();
// If we're in Alldiff mode, we can only use the first 2 inputs