The docstring for sqlite-select says "By default, the return value is a list where the first element is a list of column names, and the rest of the elements are the matching data." But this isn't true, by default, the value of RETURN-TYPE in that function is nil, which does not prepend the list of column names. I don't think anything more is necessary then removing this line, because the rest of the docstring has sufficient explanation. Patch included.