Skip to content

Commit 9694833

Browse files
author
Richard Jones
committed
don't recompute the index name
1 parent 696fc8a commit 9694833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
#$Id: rdbms_common.py,v 1.194 2008-02-07 03:28:34 richard Exp $
18+
#$Id: rdbms_common.py,v 1.195 2008-02-07 05:01:42 richard Exp $
1919
""" Relational database (SQL) backend common code.
2020
2121
Basics:
@@ -595,7 +595,7 @@ def drop_class_table_key_index(self, cn, key):
595595
# and now the retired unique index too
596596
index_name = '_%s_key_retired_idx'%cn
597597
if self.sql_index_exists(table_name, index_name):
598-
sql = 'drop index _%s_key_retired_idx'%cn
598+
sql = 'drop index '+index_name
599599
self.sql(sql)
600600

601601
def create_journal_table(self, spec):

0 commit comments

Comments
 (0)