Avoid SQL syntax error: column IN ()#26
Merged
comewalk merged 10 commits intosixapart:masterfrom Mar 7, 2019
Merged
Conversation
ghost
approved these changes
Feb 12, 2019
usualoma
reviewed
Mar 7, 2019
| } elsif (ref($val) eq 'SCALAR') { | ||
| $col = $m->($col) if $m = $stmt->column_mutator; | ||
| $term = "$col $$val"; | ||
| } elsif (ref($val) eq 'REF') { |
Member
There was a problem hiding this comment.
@charsbar
I think we should also apply column_mutator at this block.
$col = $m->($col) if $m = $stmt->column_mutator;
comewalk
added a commit
that referenced
this pull request
Mar 7, 2019
Changelog diff is: diff --git a/Changes b/Changes index ed959bd..2784461 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ {{$NEXT}} +0.16 2019-03-07T07:07:14Z + + - Avoid SQL syntax error: column IN () (charsbar) #26 + - Add disconnect method explicitly to pass tests for windows (twata1) #25 + +0.15 2017-04-19T01:41:02Z + - Fix failed tests with Perl 5.25.11 (miniuchi) #24 0.14 2016-01-14T03:03:02Z
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.
cf. https://metacpan.org/source/TOKUHIROM/SQL-Maker-1.21/lib/SQL/Maker/Condition.pm#L114
More need to be done but for now.