aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rw-r--r--setup/default.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 54677d845..7ed3e35b2 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -22,7 +22,6 @@
<entry key='filter.enable'>true</entry>
<entry key='filter.future'>86400</entry>
- <entry key='filter.relative'>false</entry>
<entry key='event.ignoreDuplicateAlerts'>true</entry>
<entry key='processing.computedAttributes.enable'>true</entry>
@@ -53,14 +52,10 @@
SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime = :time LIMIT 1
</entry>
- <entry key='database.selectPrevPosition'>
+ <entry key='database.selectPrecedingPosition'>
SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime lte :time ORDER BY fixTime DESC LIMIT 1
</entry>
- <entry key='database.selectNextPosition'>
- SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime gt :time ORDER BY fixTime ASC LIMIT 1
- </entry>
-
<entry key='database.selectLatestPositions'>
SELECT tc_positions.* FROM tc_positions INNER JOIN tc_devices ON tc_positions.id = tc_devices.positionid;
</entry>