Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Database connection should be closed if not needed|
|Product:||Writer||Reporter:||Oliver Specht <os_ooo>|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description Oliver Specht 2005-07-15 14:16:40 UTC
Some fields (hidden paragraph, conditional text) and some other objects can contain expressions that point to database content. If those expressions are evaluated by the calculator then there connections created to the databases. These connections are never closed. The correct behaviour is not to open such connections and return a void result in the evaluation. That way database expressions will only be evaluated if connections are already opened. That is the case for mail merges or actions like "data to field". Also when database fields are inserted or databases are exchanged the connections have to be closed when the action has been finished.