<div dir="ltr">Hi David,<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/21 David Ostrovsky <span dir="ltr"><<a href="mailto:d.ostrovsky@idaia.de" target="_blank">d.ostrovsky@idaia.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, 2013-03-20 at 22:44 -0300, Marcos Souza wrote:<br>
> Hi guys!<br>
><br>
><br>
> As suggested by Cecric and Muthu, I'm here to ask some code pointers<br>
> to work in the HSQLDB replacement for Firebird.<br>
><br>
><br>
> I'm reading <a href="https://bugs.freedesktop.org/show_bug.cgi?id=51781" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=51781</a> from<br>
> Lionel, and trying to understand what needs to be done to achieve<br>
> this, but some code pointers are better!<br>
<br>
</div>You find tons of documentation in this bug description<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=51780" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=51780</a><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
To be frankly i would divide that task in 2:<br>
1. create native connectivity driver for Firebird.<br>
2. default to Firebird driver.<br>
<br>
In connectivity/source/drivers you can find the current drivers.<br>
Your best choice would be to follow the newest postgresql driver.<br>
<br>
First steps would be:<br>
1. create a git/gerrit branch, say feature/firebird<br>
2. include firebird in our build machinery, start with system one, and<br>
add internal one later:<br>
 sudo zypper search firebird | grep devel<br>
 firebird-devel | UDF suppperaoort library for Firebird SQL server<br>
 (if you need help with setting things up, just ask on that list)<br>
3. create small cpp unit test that does some CRUD operations against<br>
firebird and include it in the build process, so<br>
 make CppunitTest_connectivity_firebird<br>
just works (check manually that it really did with isql ;-).<br>
4. create FServices, FDriver, FConnection, FStatement, FTables...<br>
classes for the native driver.<br>
5. ask again at this point ;-)<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Thanks a lot for all this information! I'll read some code of postgresql and try to understand that code.<br></div><div><br>
</div><div>After some read, I will ask again about the branch and others things!<br><br><br></div><div>Thanks again foe the detailed explanation!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">
David<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Att,<br><br>Marcos Paulo de Souza<br>Acadêmico de Ciencia da Computação - FURB - SC<br>Github: <a href="https://github.com/marcosps/" target="_blank">https://github.com/marcosps/</a><br>
"Uma vida sem desafios é uma vida sem razão"<br>"A life without challenges, is a non reason life"
</div></div></div>