Page 1 of 1

Now is it mature for use in production?

Posted: 02.02.2016, 17:46
by louis
Hallo,
version 7.2 is mature for use in production?

Thanks

Re: Now is it mature for use in production?

Posted: 03.02.2016, 00:10
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

Re: Now is it mature for use in production?

Posted: 03.02.2016, 18:20
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

Re: Now is it mature for use in production?

Posted: 03.02.2016, 19:46
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

Re: Now is it mature for use in production?

Posted: 03.02.2016, 20:00
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.