shuiyouren / sqlitepersistentobjects

Automatically exported from code.google.com/p/sqlitepersistentobjects
0 stars 0 forks source link

UTF8String conversion problem #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There occurs a crash when "UTF8String" method is called specifically in 
"findByCriteria" method
It gives an EXC_BAD_ACCESS there. This problem with this crash is it does not 
occur always but it occurs frequently though. It crashes at the following line:

if (sqlite3_prepare_v2( database, [query UTF8String], -1, &statement, NULL) == 
SQLITE_OK)

I am using iOS5 and I have observed it more on iOS5 only.
I am kind of stuck due to this issue, so any help will be helpful.

Thanks in advance.

Original issue reported on code.google.com by spsriram...@gmail.com on 1 Dec 2011 at 4:46