[BuildMonitor] add 'ORDER BY id desc LIMIT 1'
authorSungHun Hwang <sh0924.hwang@samsung.com>
Tue, 14 Feb 2017 11:03:42 +0000 (20:03 +0900)
committerSoonKyu Park <sk7.park@samsung.com>
Thu, 23 Feb 2017 08:35:19 +0000 (17:35 +0900)
commit7eb3160dfa21fbd031a9858b82e9263f41eb89a6
treeef194e8563b7d51b789f6d74c07af367e01e0978
parent89ec2c0d013e06b860db0c82a48df922dcb1344b
[BuildMonitor] add 'ORDER BY id desc LIMIT 1'

add 'ORDER BY id desc(ending) LIMIT 1' when selecting the build_snapshot_id
to prevent getting the wrong build_snapshot_id

Change-Id: I6dcba6fbbcd2a4ef6c0dc2b3b1cfc596619efcad
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
job_buildmonitor.py