Hi,

the shell does not always check the return value of sqlite3_column_name()
for being NULL:

  $ sqlite3
  SQLite version 3.8.3 2014-01-11 12:52:25
  Enter ".help" for instructions
  Enter SQL statements terminated with a ";"
  sqlite> .header on
  sqlite> values(1);
  (null)
  1
  sqlite> .mode html
  sqlite> values(1);
  Segmentation fault


And I guess NULL should not be returned in the first place if there is
no error.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to