[fpc-devel] DB Bug in 2.0.1?
Alexandrov Alexandru
alexandru.alexandrov at gmail.com
Thu Jul 21 13:02:52 CEST 2005
On 7/21/05, Micha Nelissen <micha at neli.hopto.org> wrote:
> On Thu, 21 Jul 2005 13:25:05 +0300
> Alexandrov Alexandru <alexandru.alexandrov at gmail.com> wrote:
>
> > 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 :-)
> >
> > 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.
>
> I see, the backward compatible translation thingy. Why didn't you report this to me ?
>
> 'Official' TDbf has never had the SUPPORT_BACKWARD_FIELDDATA defined for FPC.
>
> Micha
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
I have sent an patch (2 month ago) to improve the compatibility with
some older tdataset components.
I have included corrections to all related components: interbase,
mysql3 and 4, sqldb, tdbf.
I don't know who is maintainer for each component.
this was about tdbf:
--- dbase/dbf_common.inc (revision 171)
+++ dbase/dbf_common.inc (working copy)
@@ -170,6 +170,7 @@
{$define SUPPORT_INT64}
{$define SUPPORT_DEFAULT_PARAMS}
{$define SUPPORT_NEW_TRANSLATE}
+ {$define SUPPORT_BACKWARD_FIELDDATA}
{$define SUPPORT_NEW_FIELDDATA}
{$define SUPPORT_FIELDDEF_TPERSISTENT}
{$define SUPPORT_FIELDTYPES_V4}
Alex
More information about the fpc-devel
mailing list