projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c964e
)
Bug #584797 - Do not set internal SQLite3 structures on error
author
Milan Crha
<mcrha@redhat.com>
Thu, 4 Jun 2009 18:45:01 +0000
(20:45 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Thu, 4 Jun 2009 18:45:01 +0000
(20:45 +0200)
camel/camel-db.c
patch
|
blob
|
history
diff --git
a/camel/camel-db.c
b/camel/camel-db.c
index
37ff79f
..
34007e6
100644
(file)
--- a/
camel/camel-db.c
+++ b/
camel/camel-db.c
@@
-282,6
+282,9
@@
camel_sqlite3_vfs_xOpen (sqlite3_vfs *pVfs, const gchar *zPath, sqlite3_file *pF
res = old_vfs->xOpen (old_vfs, zPath, cFile->old_vfs_file, flags, pOutFlags);
+ if (res != SQLITE_OK)
+ return res;
+
g_static_rec_mutex_lock (&only_once_lock);
/* cFile->old_vfs_file->pMethods is NULL when open failed for some reason,