Skip to content

getAllKeys returns an empty array on server 1.5+ #367

Open
@scara

Description

@scara

Here is a run of the same code against server 1.4 and 1.5:

# docker-compose up
Starting mdl60037_memcached15_1
Starting mdl60037_memcached14_1
Recreating mdl60037_runner_1
Attaching to mdl60037_memcached15_1, mdl60037_memcached14_1, mdl60037_runner_1
runner_1       | Running memcached extension 3.0.2 against memcached server 1.4.39 (memcached14)...
runner_1       | Expecting 'int' key on memcached14 to be: (int)99...
runner_1       | int(99)
runner_1       | Expecting all keys on memcached14 to be: 'int' => (int)99...
runner_1       | array(1) {
runner_1       |   [0]=>
runner_1       |   string(3) "int"
runner_1       | }
runner_1       | Running memcached extension 3.0.2 against memcached server 1.5.1 (memcached15)...
runner_1       | Expecting 'int' key on memcached15 to be: (int)99...
runner_1       | int(99)
runner_1       | Expecting all keys on memcached15 to be: 'int' => (int)99...
runner_1       | array(0) {
runner_1       | }
mdl60037_runner_1 exited with code 0

Find attached the code: MDL-60037.zip.

Matteo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions