projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Moved some SQL parsing of ORDER BY from _select_args() to retrieve_from_sql() where...
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Cursor.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Cursor.pm
b/lib/DBIx/Class/Storage/DBI/Cursor.pm
index
6c90191
..
60df379
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Cursor.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Cursor.pm
@@
-72,7
+72,7
@@
sub as_query {
my @args = $storage->_select_args(@{$self->{args}});
my ($sql, $bind) = $storage->_prep_for_execute(@args[0 .. 2], [@args[4 .. $#args]]);
- return \[ $sql, @$bind ];
+ return \[ "($sql)", @$bind ];
}
=head2 next