Issue #140: make auto-backup/restore feature stable against running multiple application instances:

* use unique date/time with milliseconds as ini sections
* open ini file for each read + write, separately, don't keep it open all the time
This commit is contained in:
Ansgar Becker
2019-04-10 12:19:40 +02:00
parent f43c37a65f
commit 430ea3bde6
4 changed files with 132 additions and 50 deletions

View File

@ -83,7 +83,7 @@ const
GRIDMAXDATA: Integer = 256;
BACKUP_MAXFILESIZE: Integer = 10 * SIZE_MB;
BACKUP_FILEPATTERN: String = 'query-tab-%d.sql';
BACKUP_FILEPATTERN: String = 'query-tab-%s.sql';
VTREE_NOTLOADED = 0;
VTREE_NOTLOADED_PURGECACHE = 1;