summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2fffbdd)
raw | patch | inline | side by side (parent: 2fffbdd)
author | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 7 Oct 2003 08:34:58 +0000 (08:34 +0000) | ||
committer | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 7 Oct 2003 08:34:58 +0000 (08:34 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1905 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/rdbms_common.py | patch | blob | history |
index 4cdb2daf6bb4b8686b5f6f7beead5951e588db43..b88b2e2b10df2de6da30a1630a16d02a3754f34f 100644 (file)
-# $Id: rdbms_common.py,v 1.63 2003-10-07 07:17:54 anthonybaxter Exp $
+# $Id: rdbms_common.py,v 1.64 2003-10-07 08:34:58 anthonybaxter Exp $
''' Relational database (SQL) backend common code.
Basics:
if old_spec[0] != new_spec[0]:
if __debug__:
print >>hyperdb.DEBUG, 'update_class setting keyprop', `spec[0]`
- # XXX turn on indexing for the key property
+ # XXX turn on indexing for the key property.
# detect multilinks that have been removed, and drop their table
old_has = {}
None, or a TypeError is raised. The values of the key property on
all existing nodes must be unique or a ValueError is raised.
'''
- # XXX create an index on the key prop column
+ # XXX create an index on the key prop column. We should also
+ # record that we've created this index in the schema somewhere.
prop = self.getprops()[propname]
if not isinstance(prop, String):
raise TypeError, 'key properties must be String'