Bug fix: ant target clear-aggr-data-from-db had an SQL syntax error

Former-commit-id: 335e3550cea336411615108297b3068bf226d490
This commit is contained in:
Daniel Collin 2016-02-09 15:37:42 +01:00
parent 1182878809
commit 0340538d71

View file

@ -49,7 +49,7 @@
<!-- update all internal sensors aggregation version to indicate for peers that they need to re-sync all data --> <!-- update all internal sensors aggregation version to indicate for peers that they need to re-sync all data -->
<exec executable="sqlite3"> <exec executable="sqlite3">
<arg line="hal.db 'UPDATE sensor SET aggr_version = aggr_version+1) WHERE id = (SELECT sensor.id FROM user, sensor WHERE user.external == 0 AND sensor.user_id = user.id)'" /> <arg line="hal.db 'UPDATE sensor SET aggr_version = (aggr_version+1) WHERE id = (SELECT sensor.id FROM user, sensor WHERE user.external == 0 AND sensor.user_id = user.id)'" />
</exec> </exec>
</target> </target>