Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issues #18 #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

fix issues #18 #19

wants to merge 3 commits into from

Conversation

vaseninm
Copy link

I fix it. Problem with type conversion

fixes #18

@cebe
Copy link
Member

cebe commented May 26, 2015

can you add a failing test case?

@vaseninm
Copy link
Author

@cebe done :)

@cebe cebe added this to the 2.0.5 milestone May 27, 2015
@cebe cebe self-assigned this May 27, 2015
@cebe
Copy link
Member

cebe commented Mar 1, 2016

I'm afraid this will break compatibility with existing data in redis. Upgrading to new version will result in some records to not be found anymore.

@cebe cebe modified the milestones: 2.0.x, 2.0.5 Mar 1, 2016
@cebe cebe added the severity:BC breaking Breaks backwards compatibility label Mar 1, 2016
@andruha
Copy link
Contributor

andruha commented Mar 1, 2016

I think this solution is better

@cebe cebe modified the milestones: 2.0.x, 2.1.0 Dec 5, 2017
@samdark samdark removed this from the 2.1.0 milestone Sep 23, 2018
@samdark samdark modified the milestones: 2.0.12, 2.1.0 Mar 13, 2020
@@ -323,9 +323,11 @@ public static function buildKey($key)
}
ksort($key); // ensure order is always the same
$isNumeric = true;
foreach ($key as $value) {
foreach ($key as &$value) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not forget to unset($value) after cycle end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:BC breaking Breaks backwards compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

integer-string-integer pks bug
5 participants