Fix cursor type in RedisModuleScanCursor (#10698)
Changed cursor's type from `int` to `unsigned long` allows handling database or key with more than 2^31 elements
This commit is contained in:
parent
6b44e4ea92
commit
a3df2777e8
@ -9809,7 +9809,7 @@ typedef struct {
|
||||
} ScanCBData;
|
||||
|
||||
typedef struct RedisModuleScanCursor{
|
||||
int cursor;
|
||||
unsigned long cursor;
|
||||
int done;
|
||||
}RedisModuleScanCursor;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user