YapDatabase icon indicating copy to clipboard operation
YapDatabase copied to clipboard

Fetching a nil value with iterateIndexedValues(inColumn:) causes crash.

Open MythicLionMan opened this issue 5 years ago • 0 comments

Unlike objects, the values in a YapDatabaseSecondaryIndexTransaction may be nil. The nullability specifier on enumerateIndexedValues:inColumn:matchingQuery:using: and its Swift counterpart are incorrect however. This means that calling the method from swift when a column value results in nil will cause a crash.

I've pushed a fix for this issue in PR #525

MythicLionMan avatar Jul 20 '20 23:07 MythicLionMan