Skip to content

redis.size() overloading doesn't work #8

@drs-project

Description

@drs-project

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions