zotonic/zotonic — pull request #238 by helllamer (2011-10-24 12:08:44+00:00)
Title: fix SQL RETURNING behaviour on empty result

z_db:q("SELECT * FROM rsc WHERE 1=2 RETURNING id", Context)

Result: 0

Expected result: []