danieleteti / delphiredisclient

Redis client for Delphi
Apache License 2.0
307 stars 133 forks source link

When compiling 32 bits,Incr results may not be correct #18

Closed pony5551 closed 3 years ago

pony5551 commented 4 years ago
lKey := 'userdb1';
lRedis.&SET(lKey, 10000010004.ToString);

lv := lRedis.INCR(lKey);
WriteLn('lv = ', lv); //lv result is not 10000010005
pony5551 commented 4 years ago

function INCR(const aKey: string): NativeInt;

When compiling 32 bits,

Nativeint is integer