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

Add test for update with literal bind for ARRAY #44

Closed

Conversation

dim0xff
Copy link

@dim0xff dim0xff commented Apr 9, 2014

No description provided.

@dim0xff dim0xff changed the title Add test for update with literal bind for inflating column Add test for update with literal bind for ARRAY Apr 9, 2014
@dim0xff dim0xff closed this Apr 9, 2014
@dim0xff dim0xff reopened this Apr 9, 2014
@@ -116,7 +116,15 @@ sub _deflated_column {
my ($self, $col, $value) = @_;
# return $value unless ref $value && blessed($value); # If it's not an object, don't touch it
## Leave scalar refs (ala SQL::Abstract literal SQL), untouched, deflate all other refs
return $value unless (ref $value && ref($value) ne 'SCALAR');
## Also leave ref refs if it is ARRAY
return $value
Copy link
Author

Choose a reason for hiding this comment

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

@ribasushi
Copy link
Collaborator

This was addressed in a different way by 3705e3b2801
Thanks for the initial diagnosis!

@ribasushi ribasushi closed this Jun 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants