Closed
Conversation
Collaborator
|
I don't fully understand the problem that is being solved here. Could you list out the steps to replicate? |
Contributor
Author
|
it should have same effect why you have those lines in _run few lines later I think. |
Collaborator
|
I am still not sure I understand what is happening here. Could you please
state the steps required to recreate the issue?
On 22 Mar 2017 4:50 p.m., "Fayland Lam" <[email protected]> wrote:
it should have same effect why you have those lines in _run few lines later
I think.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#319 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD-vx4Vz2s1S74e0LGTCptPnlrZRwEhks5roMSngaJpZM4Mkod8>
.
|
Contributor
Author
|
dummy code: NOTE first 3 lines set $CACHE. and second part first line ->count() setup ->_values if you go dump the _values, you'll find the first ->count does not clear it b/c it returned from the cache. hope it clears Thanks |
treffynnon
added a commit
that referenced
this pull request
Jan 3, 2018
Collaborator
|
Thank you for the pull request. I have written a test and implemented it slightly differently to remove duplication, but it is now merged into develop with commit 5f220f3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sorry i'm using ST3 so it removes extra space in lines.
the fix is mainly
in _run
we'll need reset the _values etc. or else we'll get
Invalid parameter number: number of bound variables does not match number of tokens
b/c I checked, the _values are just duplicated.
I'll provide a test later but from a rough glance, I think it's a bug.
Thanks