[Monetdb-developers] [Monetdb-sql-checkins] sql/src/server rel_select.mx, May2009, 1.143.2.4, 1.143.2.5

Stefan de Konink stefan at konink.de
Fri Jul 31 08:26:16 CEST 2009


On Fri, 31 Jul 2009, Niels Nes wrote:

Here you still asign something that could be NULL.

>  	dnode *n = selection->h;
>
> -	(void) where;
> +	if (!selection)
> +		return sql_error(sql, 02, "SELECT: the selection or from part is missing");

So the asignment should be after the check.


Stefan





More information about the developers-list mailing list