Explorar o código

* Fixed gotcha in r21364. SQL Null instead of nil. Mantis #22108 by Ludo

git-svn-id: trunk@21373 -
marco %!s(int64=13) %!d(string=hai) anos
pai
achega
283ed5971a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-db/src/base/bufdataset.pas

+ 1 - 1
packages/fcl-db/src/base/bufdataset.pas

@@ -3145,7 +3145,7 @@ function TCustomBufDataset.Lookup(const KeyFields: string;
 var
   bm:TBookmark;
 begin
-  result:=nil;
+  result:=Null;
   bm:=GetBookmark;
   DisableControls;
   try