unused, cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 03 Dec 2009 12:44:57 +0100
branchstable
changeset 3988 833cfe0fcf5f
parent 3987 f85ef29f6214
child 3989 8b471739fb33
unused, cleanup
server/sources/rql2sql.py
--- a/server/sources/rql2sql.py	Thu Dec 03 12:44:30 2009 +0100
+++ b/server/sources/rql2sql.py	Thu Dec 03 12:44:57 2009 +0100
@@ -710,7 +710,6 @@
                     sql = 'NOT EXISTS(SELECT 1 FROM %s WHERE %s)' % (
                         ', '.join(tables), ' AND '.join(restrictions))
             else:
-                lhssql = self._inlined_var_sql(lhsvar, relation.r_type)
                 sql = '%s IS NULL' % self._inlined_var_sql(lhsvar, relation.r_type)
             return sql
         lhssql = self._inlined_var_sql(lhsvar, relation.r_type)