Corretto catch dell'errore in TCursor::lock.

git-svn-id: svn://10.65.10.50/trunk@1583 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-07-10 12:42:40 +00:00
parent 00b28074d6
commit 6ce2fb740e

View File

@ -1,4 +1,4 @@
// $Id: relation.cpp,v 1.52 1995-07-07 14:43:41 guy Exp $ // $Id: relation.cpp,v 1.53 1995-07-10 12:42:40 angelo Exp $
// relation.cpp // relation.cpp
// fv 12/8/93 // fv 12/8/93
// relation class for isam files // relation class for isam files
@ -1114,7 +1114,7 @@ int TCursor::lock(TReclock l)
default: default:
break; break;
} }
if (rt < NOERR) rt=get_error(rt); if (rt != NOERR) rt=get_error(rt);
return(rt); return(rt);
} }