mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
committed by
Matt Stancliff
parent
d9462d2780
commit
39be4bf496
@@ -109,7 +109,7 @@ void sdsupdatelen(sds s) {
|
||||
sh->len = reallen;
|
||||
}
|
||||
|
||||
/* Modify an sds string on-place to make it empty (zero length).
|
||||
/* Modify an sds string in-place to make it empty (zero length).
|
||||
* However all the existing buffer is not discarded but set as free space
|
||||
* so that next append operations will not require allocations up to the
|
||||
* number of bytes previously available. */
|
||||
|
||||
Reference in New Issue
Block a user