mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-18 14:50:24 +02:00
* Commented some unneeded buggy code
git-svn-id: trunk@6073 -
This commit is contained in:
parent
ea5a5ad02c
commit
85cf9db5e7
@ -648,14 +648,14 @@ var
|
|||||||
begin
|
begin
|
||||||
with cursor as TPQCursor do
|
with cursor as TPQCursor do
|
||||||
begin
|
begin
|
||||||
|
x := FieldBinding[FieldDef.FieldNo-1];
|
||||||
|
|
||||||
// Joost, 5 jan 2006: I disabled the following, since it's usefull for
|
// Joost, 5 jan 2006: I disabled the following, since it's usefull for
|
||||||
// debugging, but it also slows things down. In principle things can only go
|
// debugging, but it also slows things down. In principle things can only go
|
||||||
// wrong when FieldDefs is changed while the dataset is opened. A user just
|
// wrong when FieldDefs is changed while the dataset is opened. A user just
|
||||||
// shoudn't do that. ;) (The same is done in IBConnection)
|
// shoudn't do that. ;) (The same is done in IBConnection)
|
||||||
if PQfname(Res, x) <> FieldDef.Name then
|
//if PQfname(Res, x) <> FieldDef.Name then
|
||||||
DatabaseErrorFmt(SFieldNotFound,[FieldDef.Name],self);
|
// DatabaseErrorFmt(SFieldNotFound,[FieldDef.Name],self);
|
||||||
x := FieldBinding[FieldDef.FieldNo-1];
|
|
||||||
|
|
||||||
if pqgetisnull(res,CurTuple,x)=1 then
|
if pqgetisnull(res,CurTuple,x)=1 then
|
||||||
result := false
|
result := false
|
||||||
|
Loading…
Reference in New Issue
Block a user