Hi Michael,

On Sat, Mar 30, 2013 at 05:26:04PM -0400, Michael Lam wrote:
> As fir the cws hsqldb19 branch, i did check through it and the
> patches from there are currently being used. Beside that I didn't
> see any relevant changes, for example the check for 1.8.x in the
> configure script. I ran into that while working on another issue.
> One thing I am looking into at the moment is recovery in Base, that
> are code that is checking for the version of hsql but I have not
> been able to locate it.

Did you take a look at the driver code? This should be the place to
start:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/connectivity/source/inc/hsqldb/
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/connectivity/source/drivers/hsqldb/

Build with debug symbols, and set break points on the main entry point,
the class implementing the component
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/connectivity/source/inc/hsqldb/HDriver.hxx
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/connectivity/source/drivers/hsqldb/HDriver.cxx

ODriverDelegator::connect seems to read the version from the properties
file in <odb file>/database/properties:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/connectivity/source/drivers/hsqldb/HDriver.cxx#261

You need to understand some UNO concepts (the basics: what is a UNO
component; and the Base related one: how is a driver implemented
http://wiki.openoffice.org/wiki/Documentation/DevGuide/Database/Driver_Service).
 


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpsDqHdgWpqp.pgp
Description: PGP signature

Reply via email to