Notes:
Fixed a memory leak that wrought havoc with
MisuseException errors. Test cases now pass
beautifully, and everything is happy.
As part of this fix, it should be noted that when an
error occurs while stepping through a result set, the
underlying VM will be automatically closed. Calling
#step again will return nil.
Changes:
2004-09-20 11:45 minam
* lib/sqlite/version.rb: Version bump.
2004-09-20 11:44 minam
* test/: tc_api_core.rb, tc_database.rb: Updated test cases for
changes in code (no more ":error" key, fixed problem with memory
leak, etc.).
2004-09-20 11:43 minam
* lib/sqlite/: resultset.rb, statement.rb: Errors are now always
raised, instead of reported explicitly via the ":error" key in
the result set. This cleaned up a lot of cruft.
2004-09-20 11:39 minam
* lib/sqlite/database.rb: Got rid of the whole "fragile_error"
nonsense. Made better use of set_result_error now that it is
working correctly. Fixed how callbacks are handled for the
create_function and create_aggregate APIs.
2004-09-20 11:37 minam
* ext/sqlite-api.c: It is no longer an error to finalize a
finalized VM (it just silently ignores it). Fixed memory leak
when reporting a MisuseException ('msg' was NULL, but was being
freed). VM is now finalized automatically when an error is
detected during step.
|