Firebird and PostgreSQL driver cross dependency

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
personalsoft_fabiano
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 13.02.2009, 18:55
Location: Americana/SP

Firebird and PostgreSQL driver cross dependency

Post by personalsoft_fabiano »

Hi,

The Firebird zdbc implementation uses a class from PostgreSQL implementation:

TZInterbaseNumberState = class (TZPostgreSQLNumberState)

It cause an error if i set Zeos.inc to compile just the Firebird driver.

I think there should be no cross dependency among zdbc drivers.

The solution here should be one of:
1) Copy the TZPostgreSQLNumberState implementation to the firebird unit, as TZInterbaseNumberState
2) Rename TZPostgreSQLNumberState to something generic (ex: TZAbstractNumberState) and move it to some zeos generic unit

What do you think? Is it the right list to post this?

Regards,

Fabiano
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Take a look here

It looks like those patches have been not applied
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Fabiano,

The issue has been tackled the way I proposed in the post seawolf refers to. It has been merged with 6.6-patches, but this was done after the 6.6.4 release. When I find some time to merge the other wating bug fixes and package the 6.6.5 release this change will be included. It's not perfect, but it fixes the compilation issue.

When you want to start studying and coding a good solution for the 7.X release, please do so and post he result here or even better on the user patches forum.

Mark
Image
Post Reply