projects
/
dbsrgits/SQL-Abstract.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed a bug in hashpair with literal SQL and bind value (ie. col => { op => \[$sql...
[dbsrgits/SQL-Abstract.git]
/
lib
/
SQL
/
Abstract.pm
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
6fb68e9
..
46d2a4f
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-547,7
+547,7
@@
sub _where_hashpair_HASHREF {
$sql = join ' ', $self->_convert($self->_quote($k)),
$self->_sqlcase($op),
$sub_sql;
- @bind = @sub_bind;
+ @bind = $self->_bindtype($k, @sub_bind);
},
UNDEF => sub { # CASE: col => {op => undef} : sql "IS (NOT)? NULL"