go-redis icon indicating copy to clipboard operation
go-redis copied to clipboard

redis.size() overloading doesn't work

Open drs-project opened this issue 4 years ago • 0 comments

First of all thanks a lot for sharing your nice redis lib for octave!

I just tried to compile it with octave 6.2.0. When running the r = redis() command octave enters an infinite loop calling r.size().

Renaming the function size to size2 in redis.m and test_redis.m solves the problem and all tests pass. So I think it is a problem with overloading the size function. I couldn't find out from where size() is called continuously. And I'm not sure if this problem is caused by go-redis or by octave, but I wanted to share my work-around in case someone is running into the same problem...

Have a good day!

drs-project avatar Aug 11 '21 12:08 drs-project