# HG changeset patch # User Richard Jones # Date 1202360502 0 # Node ID b1e81ad3fa6a23dcf36ee130502182edc56c128e # Parent 85e52526a791bb63944e22d2929f5dc927face21 don't recompute the index name diff -r 85e52526a791 -r b1e81ad3fa6a roundup/backends/rdbms_common.py --- 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):