incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1422829 - /incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py
Date Mon, 17 Dec 2012 10:18:45 GMT
Author: jure
Date: Mon Dec 17 10:18:45 2012
New Revision: 1422829

URL: http://svn.apache.org/viewvc?rev=1422829&view=rev
Log:
Properly evaluate DELETE conditions


Modified:
    incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py

Modified: incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py?rev=1422829&r1=1422828&r2=1422829&view=diff
==============================================================================
--- incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py (original)
+++ incubator/bloodhound/branches/bep_0003_multiproduct/trac/trac/bloodhound/db.py Mon Dec
17 10:18:45 2012
@@ -449,8 +449,6 @@ class BloodhoundProductSQLTranslate(obje
         else:
             raise Exception("Invalid DELETE statement, expected table name")
         start_token = self._replace_table_name(parent, table_name_token, tablename)
-        if not tablename in self._translate_tables:
-            return
         self._update_delete_where_limit(tablename, parent, start_token)
         return
 
@@ -470,3 +468,4 @@ class BloodhoundProductSQLTranslate(obje
         except Exception:
             raise Exception("Failed to translate SQL '%s'" % sql)
         return translated_sql
+



Mime
View raw message