Parent Directory | Revision Log | Patch
revision 1.2 by shigio, Mon May 16 02:41:25 2005 UTC | revision 1.3 by h-iwamoto, Wed Aug 24 13:50:02 2005 UTC | |
---|---|---|
# | Line 66 static int bt_meta(BTREE *); | Line 66 static int bt_meta(BTREE *); |
66 | * RET_ERROR, RET_SUCCESS | * RET_ERROR, RET_SUCCESS |
67 | */ | */ |
68 | int | int |
69 | __bt_close(dbp) | __bt_close(dbp, abandon) |
70 | DB *dbp; | DB *dbp; |
71 | int abandon; | |
72 | { | { |
73 | BTREE *t; | BTREE *t; |
74 | int fd; | int fd; |
# | Line 81 __bt_close(dbp) | Line 82 __bt_close(dbp) |
82 | } | } |
83 | ||
84 | /* Sync the tree. */ | /* Sync the tree. */ |
85 | if (__bt_sync(dbp, 0) == RET_ERROR) | if (!abandon && __bt_sync(dbp, 0) == RET_ERROR) |
86 | return (RET_ERROR); | return (RET_ERROR); |
87 | ||
88 | /* Close the memory pool. */ | /* Close the memory pool. */ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |