markuman/go-redis

redis.size() overloading doesn't work

Opened this issue · 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!