SQLite Forum

Improve sqlite3_column_name() return value documentation
Login
The documentation for `sqlite3_column_name()`, [sqlite.org/c3ref/intro.html](https://sqlite.org/c3ref/intro.html), implies that `NULL` is only returned in case of memory error, however `NULL` may also be returned if the statement pointer is `NULL`, or the column index is out of bounds. The documentation should reflect this.

I guess `NULL` may also be returned if the column name is not set, but that seems very unlikely.