From: Simon Brandhof Date: Tue, 14 Feb 2012 11:03:39 +0000 (+0100) Subject: Fix PurgeDao for MySQL - new attempt X-Git-Tag: 2.14~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ff3dcea5161c74d31ee8fc61cce8cdfab6609a0;p=sonarqube.git Fix PurgeDao for MySQL - new attempt --- diff --git a/sonar-core/src/main/resources/org/sonar/core/purge/PurgeVendorMapper-mysql.xml b/sonar-core/src/main/resources/org/sonar/core/purge/PurgeVendorMapper-mysql.xml index d3449ac8622..69578003f58 100644 --- a/sonar-core/src/main/resources/org/sonar/core/purge/PurgeVendorMapper-mysql.xml +++ b/sonar-core/src/main/resources/org/sonar/core/purge/PurgeVendorMapper-mysql.xml @@ -4,11 +4,11 @@ - delete rc from review_comments rc, reviews r where rc.review_id=r.id and r.resource_id=#{id} + delete rc from review_comments as rc, reviews as r where rc.review_id=r.id and r.resource_id=#{id} - delete apr from action_plans_reviews apr, action_plans ap where ap.id=apr.action_plan_id and ap.project_id=#{id} + delete apr from action_plans_reviews as apr, action_plans as ap where ap.id=apr.action_plan_id and ap.project_id=#{id}