Problem with sqlite

Problem with sqlite
0.0 0



i use the sqlite wrapper cocos2dx-db from here: (thx for that)

Now i have a problem when i create a table with a column of data type ‘TEXT’. The app crashes while reading a string from the result (stringForColumn()).

I found out that in CCResultSet::stringForColumnIndex(int columnIdx) the “sqlite3_column_type” equals SQLITE_NULL and not SQLITE_TEXT as expected.
In SQLiteBrwoser the database file seems to be correct (the row contains a valid string). If i use a database table with integers only, it works fine.

Any suggestions to this? Thanks in advance.

(i can provide code and sql statements tomorrow, if neccessary)


I don’t think that is part of Cocos2dx … you might be better off posting your question to the author.