Eli Mesika has uploaded a new change for review. Change subject: core:delete_async_tasks_and_compensation_data... ......................................................................
core:delete_async_tasks_and_compensation_data... delete_async_tasks_and_compensation_data.sql exits on KeyError Adding a CASCADE to the TRUNCATE commands to force tables cleanup. Change-Id: I097bf1f388f082f768cd50c33d11ea1e9f081004 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=949229 Signed-off-by: Eli Mesika <[email protected]> --- M backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/39/13739/1 diff --git a/backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql b/backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql index 925bd69..6100640 100644 --- a/backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql +++ b/backend/manager/dbscripts/delete_async_tasks_and_compensation_data.sql @@ -1,5 +1,5 @@ -truncate table async_tasks; +truncate table async_tasks CASCADE; -truncate table business_entity_snapshot; +truncate table business_entity_snapshot CASCADE; -- To view, visit http://gerrit.ovirt.org/13739 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I097bf1f388f082f768cd50c33d11ea1e9f081004 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
