Code pointers for replace HSQLDB for Firebird

David Ostrovsky d.ostrovsky at idaia.de
Thu Mar 21 00:26:42 PDT 2013


On Wed, 2013-03-20 at 22:44 -0300, Marcos Souza wrote:
> Hi guys!
> 
> 
> As suggested by Cecric and Muthu, I'm here to ask some code pointers
> to work in the HSQLDB replacement for Firebird.
> 
> 
> I'm reading https://bugs.freedesktop.org/show_bug.cgi?id=51781 from
> Lionel, and trying to understand what needs to be done to achieve
> this, but some code pointers are better!

You find tons of documentation in this bug description
https://bugs.freedesktop.org/show_bug.cgi?id=51780

To be frankly i would divide that task in 2:
1. create native connectivity driver for Firebird.
2. default to Firebird driver.

In connectivity/source/drivers you can find the current drivers.
Your best choice would be to follow the newest postgresql driver.

First steps would be:
1. create a git/gerrit branch, say feature/firebird
2. include firebird in our build machinery, start with system one, and
add internal one later:
 sudo zypper search firebird | grep devel
 firebird-devel | UDF suppperaoort library for Firebird SQL server
 (if you need help with setting things up, just ask on that list)
3. create small cpp unit test that does some CRUD operations against
firebird and include it in the build process, so 
 make CppunitTest_connectivity_firebird
just works (check manually that it really did with isql ;-).
4. create FServices, FDriver, FConnection, FStatement, FTables...
classes for the native driver.
5. ask again at this point ;-)

David



More information about the LibreOffice mailing list