Now is it mature for use in production?

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
louis
Expert Boarder
Expert Boarder
Posts: 107
Joined: 02.01.2009, 19:41

Now is it mature for use in production?

Post by louis »

Hallo,
version 7.2 is mature for use in production?

Thanks
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Now is it mature for use in production?

Post by marsupilami »

Hello Louis,

currently this is a good question. It largely depends on the driver that you want to use. The drivers ASA, ado, firebird, interbase, freetds, mariadb, mysql, oracle, postgresql and sqlite should be fairly safe for usage.

All drivers that are dblib drivers, which means freetds, mssql and sybase are not safe for production usage currently because we are doing necessary modifications to make these drivers align to the internal Zeos API specifications. Until we finish this they can misbehave in some situations.

In any case we will try to fix any bug you find as soon as possible.

With best regards,

Jan
louis
Expert Boarder
Expert Boarder
Posts: 107
Joined: 02.01.2009, 19:41

Re: Now is it mature for use in production?

Post by louis »

Hallo,
thanks for your reply, I use Firebird with Delphi 2010.

I try to compile my application with version 7.2.0 revision 3806 but I have this exception: Type mismatch for field 'MINIMO', expecting: Float actual: Single.

I must change all persistent fields of type TFloatFields to type TSingleFields but all fields in Firebird tables are of type "Float"

With the ZEOS 7.1.4 all works ok with TFloatFields.

From DB.pas Source and Delphi Help:
TFloatField is a Double: The range of the Double type is from 5.0 x 10^-324 through 1.7 x 10^308.
TSingleFields is a Single: The range for the Single type is from 1.5 x 10^-45 through 3.4 x 10^38.

Firebird FLOAT column store a range from -1.79E + 308 through 1.79E + 308, likes Delphi TFloatField.

I risk a loss of data?

Wy ZEOS 7.2.0 changes the type? There is a bug?

Thanks
miab3
Zeos Test Team
Zeos Test Team
Posts: 1310
Joined: 11.05.2012, 12:32
Location: Poland

Re: Now is it mature for use in production?

Post by miab3 »

@Louis

FIREBIRD:
Float 32 bits 3.4 x 10^-38 to 3.4 x 10^38 Accurate to 7 digits in ZEOS 7.2 TSingleField
Double Precision 64 bits 1.7 x 10^-308 to 1.7 x 10^308 Accurate to 15 digits in ZEOS 7.2 TFloatField
http://www.firebirdsql.org/en/firebird- ... fications/

Michal
louis
Expert Boarder
Expert Boarder
Posts: 107
Joined: 02.01.2009, 19:41

Re: Now is it mature for use in production?

Post by louis »

@miab3

Ops, I'm sorry :oops:
I read the types of Firebird from this page http://www.firebirdsql.org/manual/migra ... types.html

Ok, I change all my TFloatFields into TSingleFields.

Thanks.
Post Reply