On Wed, Jan 15, 2014 at 6:48 AM, Clemens Ladisch <clem...@ladisch.de> wrote:

>
> And a NULL column name is considered a bug:
> <http://www.sqlite.org/cgi/src/info/260587d272>
>
>
Not so much a "bug" as "undesirable".  Note that even with the change
referenced above, sqlite3_column_name() might still return NULL if there is
an out-of-memory error.  (This is very unlikely to happen, but it is
possible.)  So the shell has been updated to test that case too.
http://www.sqlite.org/src/info/ac15455abc

We run extension OOM testing on the core library and probably would have
caught the above problem there.  But the level of testing on the
command-line shell is much lower.  And as this problem was in the
command-line shell, not the core library, it managed to slip through.


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to