I am using FMDB to procedd sqlitedb in obj-c , but it hangs everytime i call 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;