Modificato metodo TBaseisamfile::is_valid(). Aggiunta DB_tagget().
git-svn-id: svn://10.65.10.50/trunk@2157 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
aa029cbc5c
commit
36dc951242
@ -1062,7 +1062,10 @@ int TBaseisamfile::is_valid()
|
||||
int err = NOERR;
|
||||
getisfd(_isamfile,num());
|
||||
if ((filehnd()->fhnd = DB_open(filehnd()->d->SysName,0)) >= 0)
|
||||
{
|
||||
if (DB_tagget(filehnd()->fhnd) == -1) err = _ispatherr;
|
||||
DB_close(filehnd()->fhnd);
|
||||
}
|
||||
else
|
||||
err = get_error(filehnd()->fhnd);
|
||||
relisfd(_isamfile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user