BugsBiteBugs / sqlitepersistentobjects

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

Error in SQLitePersistentObject's save #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 586                         else if ([propType isEqualToString:@"c"] ||     // char
 587                                          [propType isEqualToString:@"C"] ) // unsigned char
 588 
 589                         {
 590                                 NSString *theString = [theProperty stringValue];
 591                                 sqlite3_bind_text(stmt, colIndex, [theString UTF8String], -1, NULL);
 592                         }

colIndex isn't being incremented here like it is elsewhere, which will cause 
columns to get mixed 
up. 

Original issue reported on code.google.com by stepwh...@gmail.com on 14 Nov 2008 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by amle...@gmail.com on 17 Jan 2009 at 3:58