The comparator for this column never returns 0 unless the objects
being compared coincide.
},
[SCORECOL_SCORE] = {
.storage_type = OSL_NO_STORAGE,
},
[SCORECOL_SCORE] = {
.storage_type = OSL_NO_STORAGE,
- .storage_flags = OSL_RBTREE | OSL_FIXED_SIZE,
+ .storage_flags = OSL_RBTREE | OSL_FIXED_SIZE | OSL_UNIQUE,
.name = "score",
.compare_function = score_compare,
.data_size = sizeof(long)
.name = "score",
.compare_function = score_compare,
.data_size = sizeof(long)