diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-14 12:03:39 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-14 12:04:07 +0100 |
commit | 2ff3dcea5161c74d31ee8fc61cce8cdfab6609a0 (patch) | |
tree | 10ad5cdd1d3c815fd5a1b7b4eb867d440d2b78c9 /sonar-core/src | |
parent | ec8c11c161a2cc2c790549338433c68ad9f0067f (diff) | |
download | sonarqube-2ff3dcea5161c74d31ee8fc61cce8cdfab6609a0.tar.gz sonarqube-2ff3dcea5161c74d31ee8fc61cce8cdfab6609a0.zip |
Fix PurgeDao for MySQL - new attempt
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/purge/PurgeVendorMapper-mysql.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <mapper namespace="org.sonar.core.purge.PurgeVendorMapper"> <delete id="deleteResourceReviewComments" parameterType="long"> - 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> <delete id="deleteResourceActionPlansReviews" parameterType="long"> - 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} </delete> </mapper> |