Page 1 of 1

tagexport() after tagload(), in memory, dirty tags

Posted: 26 May 2023 16:41
by highend
If I export dirty tags into a file:
tagexport("D:\1.dat", "", , 2);

and after restarting the instance without saving import them back into memory:
tagload("D:\1.dat", 2);

they aren't marked as dirty so that text tagexport(, "", , 6); doesn't see them now.

They are in memory only at this point, non-written. They must be considered as dirty in this case...

Re: tagexport() after tagload(), in memory, dirty tags

Posted: 27 May 2023 09:49
by admin
tagload flag 2 merges the loaded tags temporarily, that's not the same as dirty; they are not saved to disk when you save tags:

Code: Select all

2: include     (temporarily merge into current DB in memory; not saved to disk)