projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a218ef4
)
minor change
Rafael Kitover [Fri, 7 May 2010 12:56:57 +0000 (12:56 +0000)]
lib/DBIx/Class/Storage/DBI/MSSQL.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI/MSSQL.pm
b/lib/DBIx/Class/Storage/DBI/MSSQL.pm
index
dbba2fa
..
515ff9b
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/MSSQL.pm
+++ b/
lib/DBIx/Class/Storage/DBI/MSSQL.pm
@@
-217,7
+217,7
@@
sub sql_maker {
# So, we use a query to check if RNO is implemented.
$have_rno = 1 if (eval { local $@; ($self->_get_dbh
->selectrow_array('SELECT row_number() OVER (ORDER BY rand())')
- )[0] } || 0);
+ )[0] });
}
$self->{_sql_maker_opts} = {