[fpc-devel] DB Bug in 2.0.1?
Alexandrov Alexandru
alexandru.alexandrov at gmail.com
Thu Jul 21 12:25:05 CEST 2005
On 7/21/05, Micha Nelissen <micha at neli.hopto.org> wrote:
> On Thu, 21 Jul 2005 06:51:12 +0200 (CEST)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>
> > Because of the bug report I did some research on this as well.
> > Up to and including D4, a TDateTimeRec was used internally.
> > As of Delphi 5, TDateTime was used.
> >
> > Since the first FPC TDataset implementation was based on a D3 spec,
> > this explains the confusion.
>
> Yes, but FPC already used TDateTime internally, according to TDbf :-)
>
> dbf_common.inc:
>
> {$ifdef DELPHI_5}
>
> ...
> {$define SUPPORT_NEW_FIELDDATA}
> ...
>
> SUPPORT_NEW_FIELDDATA means use TDateTime as internal format. Under {$ifdef FPC} I also have defined SUPPORT_NEW_FIELDDATA.
>
> (I know: the SUPPORT_ should be named HAS_ or so...)
>
> Regards from the not entirely ignorant tdbf maintainer as proven by this mail ;-)
>
> Micha
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
It is not about SUPPORT_NEW_FIELDDATA, but
SUPPORT_BACKWARD_FIELDDATA.
In fcp package, in dbf_common.inc it is defined
SUPPORT_BACKWARD_FIELDDATA but in
last package on sourceforge not.
Alex
More information about the fpc-devel
mailing list