Skip to content
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.

formatCQL modifies params #103

Open
simpleseeker opened this issue Apr 9, 2013 · 4 comments
Open

formatCQL modifies params #103

simpleseeker opened this issue Apr 9, 2013 · 4 comments

Comments

@simpleseeker
Copy link

I have a variable that is an array that I would like to reuse for different queries. After a little digging, I undercover formatCQL modifying my param variable, which prevents me from reusing it.

@devdazed
Copy link
Contributor

yeah, the code goes through and pops off each of the params. I'll make a note of this in the latest CQL revamp.

@asilvas
Copy link

asilvas commented Jul 31, 2013

This hit us as well. Caught us off guard as we use consistency fallback levels for some failures to be re-executed. So our hack is to copy arrays for high-consistency requests, which is wasteful.

@devdazed devdazed closed this as completed May 6, 2014
@asilvas
Copy link

asilvas commented May 6, 2014

Was this fixed or not going to fix?

@devdazed
Copy link
Contributor

devdazed commented May 6, 2014

ah, I guess this is a bug, I'll reopen.

@devdazed devdazed reopened this May 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants