iOS - sqlite3_column_origin_name
Did anyone tried this function (sqlite3_column_origin_name) on Objective-C? It exists in sqlite3.h but I get an 开发者_运维技巧error when I try to use it:
Undefined symbols for architecture i386: "_sqlite3_column_origin_name", referenced from: +[SQLCommunication executeSelect:] in SQLCommunication.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status
Thanks
I use sqlite3_column_name(). I also find sqlite3_column_origin_name() does not work in IOS.
For resolve your question see this link and changing the definition #define SQLITE_ENABLE_FTS4
to this #define SQLITE_ENABLE_COLUMN_METADATA
精彩评论