diff options
Diffstat (limited to 'setup')
-rw-r--r-- | setup/default.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/default.xml b/setup/default.xml index 419eaef45..e427d05e5 100644 --- a/setup/default.xml +++ b/setup/default.xml @@ -49,7 +49,7 @@ </entry> <entry key='database.selectPrecedingPosition'> - SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime lte :time ORDER BY fixTime DESC LIMIT 1 + SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime <= :time ORDER BY fixTime DESC LIMIT 1 </entry> <entry key='database.selectLatestPositions'> |