mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Fix zsetAdd() top comment spelling.
This commit is contained in:
parent
5fece85491
commit
086c1db2d9
@ -1301,14 +1301,14 @@ int zsetScore(robj *zobj, sds member, double *score) {
|
|||||||
* none could be set if we re-added an element using the same score it used
|
* none could be set if we re-added an element using the same score it used
|
||||||
* to have, or in the case a zero increment is used).
|
* to have, or in the case a zero increment is used).
|
||||||
*
|
*
|
||||||
* The function returns 0 on erorr, currently only when the increment
|
* The function returns 0 on error, currently only when the increment
|
||||||
* produces a NAN condition, or when the 'score' value is NAN since the
|
* produces a NAN condition, or when the 'score' value is NAN since the
|
||||||
* start.
|
* start.
|
||||||
*
|
*
|
||||||
* The commad as a side effect of adding a new element may convert the sorted
|
* The command as a side effect of adding a new element may convert the sorted
|
||||||
* set internal encoding from ziplist to hashtable+skiplist.
|
* set internal encoding from ziplist to hashtable+skiplist.
|
||||||
*
|
*
|
||||||
* Memory managemnet of 'ele':
|
* Memory management of 'ele':
|
||||||
*
|
*
|
||||||
* The function does not take ownership of the 'ele' SDS string, but copies
|
* The function does not take ownership of the 'ele' SDS string, but copies
|
||||||
* it if needed. */
|
* it if needed. */
|
||||||
|
Loading…
Reference in New Issue
Block a user