summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-19 08:24:55 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-19 08:24:55 +0200
commit9165243f9f5fda2dfefb4625231b95860ea8672e (patch)
tree6e7d1350a0aaa8a84232cc8b4e4d3a71af9b3c54 /schema.sql
parentca8a3205f89ebbffdd54ae39262cd792e0bacc21 (diff)
downloadpgfuse-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.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 48afd0e..0550656 100644
--- a/schema.sql
+++ b/schema.sql
@@ -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