Merge lp:~zorba-coders/zorba/bug935639 into lp:zorba
Proposed by
Rodolfo Ochoa
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Rodolfo Ochoa | ||||
Approved revision: | 10692 | ||||
Merged at revision: | 10717 | ||||
Proposed branch: | lp:~zorba-coders/zorba/bug935639 | ||||
Merge into: | lp:zorba | ||||
Diff against target: |
274 lines (+165/-7) 9 files modified
doc/zorba/indexpage.dox.in (+2/-0) doc/zorba/memory_leaks.dox (+141/-0) include/zorba/pregenerated/diagnostic_list.h (+2/-0) modules/com/zorba-xquery/www/modules/pregenerated/errors.xq (+4/-0) src/diagnostics/diagnostic_en.xml (+4/-0) src/diagnostics/pregenerated/diagnostic_list.cpp (+3/-0) src/diagnostics/pregenerated/dict_en.cpp (+1/-0) src/store/naive/node_items.cpp (+1/-1) src/store/naive/string_pool.cpp (+7/-6) |
||||
To merge this branch: | bzr merge lp:~zorba-coders/zorba/bug935639 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Brantner | Approve | ||
Markos Zaharioudakis | Approve | ||
Cezar Andrei | Approve | ||
Review via email: mp+94900@code.launchpad.net |
Commit message
This fixes the error:
n strings remain in the pool.
and change it to a more comprehensive error with reference to document that helps to prevent the error.
Description of the change
The problem can't be solved by technical means, the developer have to take care of resource usage, as in C++ the user must release all objects before shutdown the store, the same thing applies for XQJ.
So. the best workaround this problem is to show a more friendly message around the Strings Pool and create documentation that explain this issue. At the end, this issue affects every API usage from our clients.
Please check my changes and help me with English usage in the new document I created.
To post a comment you must log in.
The Zorba XQuery Processor manage => The Zorba XQuery Processor manages
automaticall => automatically