projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c02d9
)
modular backend: set node indexing on version table instead of node table
author
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 11 Aug 2011 14:34:39 +0000
(17:34 +0300)
committer
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 11 Aug 2011 14:34:39 +0000
(17:34 +0300)
pithos/backends/lib/node.py
patch
|
blob
|
history
diff --git
a/pithos/backends/lib/node.py
b/pithos/backends/lib/node.py
index
d862301
..
da93b9f
100644
(file)
--- a/
pithos/backends/lib/node.py
+++ b/
pithos/backends/lib/node.py
@@
-139,10
+139,10
@@
class Node(DBWorker):
on update cascade
on delete cascade ) """)
execute(""" create index if not exists idx_versions_node
- on nodes(node) """)
+ on versions(node) """)
# TODO: Sort out if more indexes are needed.
# execute(""" create index if not exists idx_versions_mtime
- # on nodes(mtime) """)
+ # on versions(mtime) """)
execute(""" create table if not exists attributes
( serial integer,