i use the sqlite wrapper cocos2dx-db from here: https://github.com/stubma/cocos2dx-db (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)