sensor: fix the group-by statements of SQL queries to split the timeline properly 03/78203/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 4 Jul 2016 12:29:11 +0000 (21:29 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 4 Jul 2016 12:29:11 +0000 (21:29 +0900)
commitca277c1446f956cb719a964e27106635b495c046
tree534460aa243b00c070038dddb7cf6d77a62b0566
parent8eef6c1859998bb83a0eb8129405386740ba8208
sensor: fix the group-by statements of SQL queries to split the timeline properly

In SQL, deviding an integer by an integer produces an integer.
The integers need to be casted into real.

Change-Id: I71d407f94fb00503a67255e4935df405e766d757
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/sensor/TypesInternal.h
src/sensor/pedometer/PedometerQuerier.cpp
src/sensor/pressure/PressureQuerier.cpp