Michael Glauche wrote:

[...snip...]

> - is the database part somehow apart from the rest of the source ?
>    (did not take a closer look yet ...)

It looks like it is fairly well designed OO code, therefore, it should
be possible without too much effort.

Use the htlib/GDBM_db class as an example.  Essentially, extend
htlib/Database (let's say MySQL_db) and modify the code in
Database::getDatabaseInstance to use mySQL instead of GDBM.  Maybe you
could get fancy and have it use a config variable.

Of course, you might want to change the db config settings (many config
settings contain file names) to remove the gdbm endings.  Which might
require changes to 
EndingsDB.cc, which might require changes to...

:~)

[...snip...]

Michael J. Long

-- 
* Michael J. Long * #include "std/disclaimer.h"
*   Summa Four    * Work: [EMAIL PROTECTED]
* Manchester, NH  * Play: [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to