Browse Source

* Fixed bug #7665 as suggested by David Mears

git-svn-id: trunk@5616 -
joost 18 years ago
parent
commit
a05469c221
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/db/memds/memds.pp

+ 1 - 1
fcl/db/memds/memds.pp

@@ -277,7 +277,7 @@ function TMemDataset.MDSGetFieldSize(FieldNo: integer): integer;
 begin
   case FieldDefs.Items[FieldNo-1].Datatype of
    ftString:   result:=FieldDefs.Items[FieldNo-1].Size+1;
-   ftBoolean:  result:=SizeOf(Boolean);
+   ftBoolean:  result:=SizeOf(Wordbool);
    ftFloat:    result:=SizeOf(Double);
    ftLargeInt: result:=SizeOf(int64);
    ftSmallInt: result:=SizeOf(SmallInt);