projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remove some duplicate code
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
DB2.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/DB2.pm
b/lib/DBIx/Class/Storage/DBI/DB2.pm
index
7b48741
..
b36ab13
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/DB2.pm
+++ b/
lib/DBIx/Class/Storage/DBI/DB2.pm
@@
-21,11
+21,11
@@
sub datetime_parser_type { "DateTime::Format::DB2"; }
sub _sql_maker_opts {
my ( $self, $opts ) = @_;
-
+
if ( $opts ) {
$self->{_sql_maker_opts} = { %$opts };
}
-
+
return { limit_dialect => 'RowNumberOver', %{$self->{_sql_maker_opts}||{}} };
}