To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90531





------- Additional comments from [EMAIL PROTECTED] Wed Jul 16 11:54:19 +0000 
2008 -------
fs->os: In general, I think the SwNewDBMgr's habit of caching connections is
broken by design. Keeping a connection longer than you need it is a waste of
resources, without giving the user a chance to control the behavior.

I would say that every operation at the DB manager should dispose the connection
it just created, at least on a high level. That is, some kind of guard
  {
    DBClient aGuard( ... );
    SwNewDBMgr::doSomething();
    SwNewDBMgr::doSomethingElse();
  }
 - where the connection would be freed when the (last) guard dies. This would
probably help to get rid of a lot more similar issues (though it's also a bigger
change, of course).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to