浏览代码

fcl-db: cosmetic

git-svn-id: trunk@26973 -
reiniero 11 年之前
父节点
当前提交
7f22ae17ff
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/fcl-db/src/dbase/dbf_fields.pas

+ 3 - 1
packages/fcl-db/src/dbase/dbf_fields.pas

@@ -448,6 +448,7 @@ end;
 procedure TDbfFieldDef.VCLToNative;
 procedure TDbfFieldDef.VCLToNative;
 begin
 begin
   FNativeFieldType := #0;
   FNativeFieldType := #0;
+  // to do: look into ftBytes support; e.g. Visual FoxPro varbytes?
   case FFieldType of
   case FFieldType of
     ftAutoInc  :
     ftAutoInc  :
       if DbfVersion=xVisualFoxPro then
       if DbfVersion=xVisualFoxPro then
@@ -474,7 +475,8 @@ begin
 {$ifdef SUPPORT_INT64}
 {$ifdef SUPPORT_INT64}
       , ftLargeInt
       , ftLargeInt
 {$endif}
 {$endif}
-               : FNativeFieldType := 'N';
+               :
+      FNativeFieldType := 'N'; //numerical
     ftDate     :
     ftDate     :
       FNativeFieldType := 'D'; //date
       FNativeFieldType := 'D'; //date
     ftMemo     :
     ftMemo     :