This is an automated email from the git hooks/post-receive script. New commit to branch pollen-udpate-1.6 in repository pollen_1.x. See http://git.chorem.org/pollen_1.x.git commit 8c1a5697a936c0e334228c7893fd52fe52cacc11 Author: Eric Chatellier <eric.chatellier@gmail.com> Date: Sun Nov 15 18:36:45 2015 +0100 Strange: all migration queries are not working :( --- .../chorem/pollen/entities/migration/PollenMigrationCallbackV1_5.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollen-services/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_5.java b/pollen-services/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_5.java index 83c1fbd..b39b07f 100644 --- a/pollen-services/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_5.java +++ b/pollen-services/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_5.java @@ -130,7 +130,7 @@ public class PollenMigrationCallbackV1_5 extends TopiaMigrationCallbackByClassNG protected PreparedStatement prepareQuery(Connection connection) throws SQLException { PreparedStatement ps = connection.prepareStatement( "SELECT p.pollid FROM poll p WHERE " + - "(SELECT COUNT(pa) > COUNT(DISTINCT(pa.useraccount)) " + + "(SELECT COUNT(pa.*) > COUNT(DISTINCT(pa.useraccount)) " + "FROM vote v,pollaccount pa WHERE " + "v.poll = p.topiaid AND v.pollaccount = pa.topiaid " + "AND pa.useraccount IS NOT NULL);"); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.