diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-19 08:24:55 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-19 08:24:55 +0200 |
commit | 9165243f9f5fda2dfefb4625231b95860ea8672e (patch) | |
tree | 6e7d1350a0aaa8a84232cc8b4e4d3a71af9b3c54 /schema.sql | |
parent | ca8a3205f89ebbffdd54ae39262cd792e0bacc21 (diff) | |
download | pgfuse-9165243f9f5fda2dfefb4625231b95860ea8672e.tar.gz pgfuse-9165243f9f5fda2dfefb4625231b95860ea8672e.tar.bz2 |
reference counting pushed to database
implemented simple strategy: don't allow files to be open twice
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ CREATE TABLE dir ( mode INTEGER NOT NULL DEFAULT 0, uid INTEGER NOT NULL DEFAULT 0, gid INTEGER NOT NULL DEFAULT 0, - inuse BOOL DEFAULT false, + ref_count INTEGER NOT NULL DEFAULT 0, ctime TIMESTAMP, mtime TIMESTAMP, atime TIMESTAMP |