changeset 3967:b1e81ad3fa6a 1.4.2

don't recompute the index name
author Richard Jones <richard@users.sourceforge.net>
date Thu, 07 Feb 2008 05:01:42 +0000
parents 85e52526a791
children 5857cd1a0db9
files roundup/backends/rdbms_common.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Thu Feb 07 03:55:14 2008 +0000
+++ b/roundup/backends/rdbms_common.py	Thu Feb 07 05:01:42 2008 +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.194 2008-02-07 03:28:34 richard Exp $
+#$Id: rdbms_common.py,v 1.195 2008-02-07 05:01:42 richard Exp $
 """ Relational database (SQL) backend common code.
 
 Basics:
@@ -595,7 +595,7 @@
         # and now the retired unique index too
         index_name = '_%s_key_retired_idx'%cn
         if self.sql_index_exists(table_name, index_name):
-            sql = 'drop index _%s_key_retired_idx'%cn
+            sql = 'drop index '+index_name
             self.sql(sql)
 
     def create_journal_table(self, spec):

Roundup Issue Tracker: http://roundup-tracker.org/