db: don't split by NULL vs non-NULL when there are only non-NULL values
commit4fec46bbec9f30a0466c0c85a2e3fb840dc59153
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Jan 2018 13:25:17 +0000 (11 16:25 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Jan 2018 13:25:17 +0000 (11 16:25 +0300)
tree47761654465a4e7f00bb32beb10de930bb9242fb
parentc6f96b25a5e9430869fa32849fad1304ca7e32a1
db: don't split by NULL vs non-NULL when there are only non-NULL values

Check if we have any NULL values before splitting it into NULL vs non-NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_db.c