/ Check-in [a6cb4002]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Take care not to leave a zombie attached database if the attachment fails due to an encoding mismatch. Update attach logic to always use dynamically allocated error message strings. (CVS 6573)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a6cb4002ada311b56fa2b7430b98b9a0fa698a01
User & Date: drh 2009-04-30 05:19:04
Context
2009-04-30
05:40
Fix a memory leak introduced in the previous check-in. (CVS 6574) check-in: f082bf36 user: drh tags: trunk
05:19
Take care not to leave a zombie attached database if the attachment fails due to an encoding mismatch. Update attach logic to always use dynamically allocated error message strings. (CVS 6573) check-in: a6cb4002 user: drh tags: trunk
01:22
Remove always-true tests from attach.c. In btree.c, always test the return from sqlite3PagerSetPagesize() since it might return SQLITE_NOMEM. (CVS 6572) check-in: 8bf60b24 user: drh tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to src/attach.c.