Commit 126cb387 authored by Rafael De Lima Prado's avatar Rafael De Lima Prado
Browse files

database: Change function verify null to one that already exist, COALESCE


Signed-off-by: Rafael De Lima Prado's avatarRafael de Lima Prado <rlp09@inf.ufpr.br>
parent 61b6fb49
......@@ -191,7 +191,7 @@ BEGIN
d.os_distro,
d.processor,
simplify_memory(d.memory),
simplify_hd(d.disk1_size + CAST(verify_null(d.disk2_size) AS integer))
simplify_hd(d.disk1_size + COALESCE(d.disk2_size,0))
FROM
(SELECT
macaddr,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment