oops
authorsylvain.thenault@logilab.fr
Fri, 09 Jan 2009 16:59:59 +0100
changeset 381 e51deabc9b6a
parent 380 06e7f2932afe
child 382 03964dd370e7
oops
server/checkintegrity.py
--- a/server/checkintegrity.py	Fri Jan 09 15:29:51 2009 +0100
+++ b/server/checkintegrity.py	Fri Jan 09 16:59:59 2009 +0100
@@ -198,7 +198,7 @@
                         if fix:
                             sql = 'UPDATE %s SET %s = NULL WHERE eid=%s;' % (
                                 subjtype, rtype, eid)
-                            session.system_sql()
+                            session.system_sql(sql)
             continue
         cursor = session.system_sql('SELECT eid_from FROM %s_relation;' % rtype)
         for row in cursor.fetchall():