Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 3858:bb30bbfc7cdd
Indexing fixes.
- Add new rdbms-indexes to the tables for the full-text index. These
speed up adding new entries and finding old ones to remove.
- Remove getprops method from FileClass in backends/rdbms_common: This
forced indexing for the content property even if the user decided to
turn it off for a FileClass instance.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Jun 2007 07:35:51 +0000 |
| parents | cf8b716d9ac2 |
| children | 16faac822fe5 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Wed May 16 09:42:36 2007 +0000 +++ b/roundup/backends/rdbms_common.py Thu Jun 21 07:35:51 2007 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: rdbms_common.py,v 1.185 2007-04-11 20:04:06 forsberg Exp $ +#$Id: rdbms_common.py,v 1.186 2007-06-21 07:35:50 schlatterbeck Exp $ """ Relational database (SQL) backend common code. Basics: @@ -2627,18 +2627,6 @@ else: return Class.get(self, nodeid, propname) - def getprops(self, protected=1): - """In addition to the actual properties on the node, these methods - provide the "content" property. If the "protected" flag is true, - we include protected properties - those which may not be - modified. - - Note that the content prop is indexed separately, hence no indexme. - """ - d = Class.getprops(self, protected=protected).copy() - d['content'] = hyperdb.String(indexme='yes') - return d - def set(self, itemid, **propvalues): """ Snarf the "content" propvalue and update it in a file """
