[Open Office] experimental patch - port xmlhelp to db-4.4

Hanno Meyer-Thurow h.mth at web.de
Tue Jan 3 05:19:29 EST 2006


Hi Miklos,
hi list,

I fixed my segfault and solved the issues of 'Help' with db-4.4.
There were still issues with db-4.3? May be this helps.

	xmlhelp/source/cxxhelp/provider/db.hxx,
	xmlhelp/source/cxxhelp/provider/db.cxx, added some functions
	to cache temporary database environment and its logging.

	xmlhelp/source/cxxhelp/provider/urlparameter.cxx, allocate
	memory for key/data pair.

	xmlhelp/source/cxxhelp/provider/databases.cxx, add
	in-memory transactional database envirnoment for database
	open calls. Add memory (re-)allocation for key/data pairs.

Why transactional?
Because there is no other way to access Help->Index Tab for me.
It is empty otherwise.

Why do I cache the database environment to memory?
Because I do not want to write temporary .db and .log files
to the harddrive which do not get deleted after use. And where
the heck should I point dbhome (path to temporary files) to?
And who cleans out that waste afterwards?

One really ugly thing!
To hardwire the cache-size for the database environment (1MB)
and logging (512KB). At least I have no issues with given sizes.


Any help to this issue is appreciated!
Thanks in advance!


Regards,
Hanno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ooo-db-4.4.diff
Type: text/x-patch
Size: 6887 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060103/fce15d75/ooo-db-4.4.bin


More information about the Openoffice mailing list