projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bb5b7a0
)
don't negate undef in Slice/FetchFirst
Matt S Trout [Mon, 18 Mar 2013 00:37:29 +0000 (
00:37
+0000)]
lib/Data/Query/Renderer/SQL/Slice/FetchFirst.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Data/Query/Renderer/SQL/Slice/FetchFirst.pm
b/lib/Data/Query/Renderer/SQL/Slice/FetchFirst.pm
index
0bb96e0
..
f2741d6
100644
(file)
--- a/
lib/Data/Query/Renderer/SQL/Slice/FetchFirst.pm
+++ b/
lib/Data/Query/Renderer/SQL/Slice/FetchFirst.pm
@@
-72,7
+72,7
@@
sub _render_slice {
: (),
],
compose {
- Order($b->{by}, !$b->{reverse}, -$b->{nulls}, $a)
+ Order($b->{by}, !$b->{reverse}, -($b->{nulls}||0), $a)
} (
@outside_order,
Alias(