hooks/integrity.py
changeset 4530 a3c1549a68c6
parent 4517 0f3c10fc42b2
child 4835 13b0b96d7982
--- a/hooks/integrity.py	Tue Feb 09 19:51:19 2010 +0100
+++ b/hooks/integrity.py	Wed Feb 10 08:05:43 2010 +0100
@@ -41,7 +41,7 @@
     _UNIQUE_CONSTRAINTS_LOCK.acquire()
     asession.transaction_data['uniquecstrholder'] = True
     # register operation responsible to release the lock on commit/rollback
-    _ReleaseUniqueConstraintsHook(asession)
+    _ReleaseUniqueConstraintsOperation(asession)
 
 def _release_unique_cstr_lock(session):
     if 'uniquecstrholder' in session.transaction_data: