Patch level : 12.0 nopatch
Files correlati : ba1.exe Commento: migliorata protezione aggiornamento tracciati
This commit is contained in:
parent
208e9f8357
commit
5aa4a8cc34
@ -1990,6 +1990,15 @@ int TSystemisamfile::recover(TDir & dir, TTrec & rec)
|
||||
|
||||
if (fchk < 0)
|
||||
return -1;
|
||||
TDir refdir;
|
||||
|
||||
refdir.get(dir.num(), _nolock, _studir, _sysdirop);
|
||||
if(dir.filename()!= refdir.filename())
|
||||
{
|
||||
dir.set_name(refdir.filename());
|
||||
dir.put(num(), _nordir, _sysdirop);
|
||||
}
|
||||
|
||||
if (lenrec != lendir)
|
||||
{
|
||||
lendir = lenrec;
|
||||
|
Loading…
x
Reference in New Issue
Block a user