Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for DecrementalRestorer fails to close sqlite file descriptor
DecrementalRestorer does not use sqlite3_finalize() on sqlite statements after all statements are processed using sqlite3_step(). Calling sqlite3_close() without doing a sqlite_finalize(statement) is causing failure in closing sqlite file descriptor. This patch adds sqlite3_finalize() statements before doing close(). Change-Id: I39c1f28b058f5078537fcb9a228b449f2af033e6 Reviewed-on: http://review.couchbase.org/12267 Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com> Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
- Loading branch information