[Lazarus] Zeoslib and string encoding

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue May 10 15:15:20 CEST 2016


On 2016-05-10 12:05, Santiago A. wrote:
> El 10/05/2016 a las 12:35, Graeme Geldenhuys escribió:
> It used to work in delphi. What's wrong in FPC?
> Any workaround in addition to hardcoded division?

No, I don't have a solution.


> Wow. There is no persistent layer that uses a DB that works properly.
> Is that a FPC problem?

FPC does have more problems than Delphi - but most of the times it is
down to how the test suit was configured. I've been using FPC + SqlDB +
Interbase since 2006 - no issues here.

SqlDB_SQLite3 only has one very minor issue with milliseconds rounding
error.

Zeos_FB only has the FieldSize anomaly. Good thing is, Zeos returns a
larger size than what the application expects, so shouldn't have an
affect on your application. The other issue shown is actually a "dirty"
database issue. I need to improve the test suite to start each test run
with clean empty databases per persistence layer.

I'll not touch MySQL with a 10-foot pole, so I'll leave that to
contributors to resolve.

The test failures are all minor and very few considering the amount of
tests being run against each persistence layer. It looks worse than it
really is.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp




More information about the Lazarus mailing list