FMDB executeupdate在调用时挂起

时间:2013-11-14 02:06:56

标签: fmdb

我使用FMDB在obj-c中继续执行sqlite db,但每次调用executeupdate时都会挂起

BOOL isSuccess = YES;

[self openFMDB];
NSString* currentDatetime = [self getCurrentDatetime];

isSuccess = [fmDB executeUpdate:@"UPDATE liquors_list SET l_last_open = ? WHERE l_id = ?",[NSString stringWithFormat:@"%@",currentDatetime],[NSString stringWithFormat:@"%@",liquorID],Nil];

return isSuccess;

0 个答案:

没有答案