From: Marc Mims Date: Tue, 18 Jul 2006 21:12:54 +0000 (+0000) Subject: Use _sql_maker_opts, now. X-Git-Tag: v0.07002~75^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=32a46300823ea3189061ca6e904b3899f9177cda;p=dbsrgits%2FDBIx-Class.git Use _sql_maker_opts, now. --- diff --git a/lib/DBIx/Class/Storage/DBI/ODBC/DB2_400_SQL.pm b/lib/DBIx/Class/Storage/DBI/ODBC/DB2_400_SQL.pm index d4e6218..c39a622 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/DB2_400_SQL.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/DB2_400_SQL.pm @@ -23,13 +23,13 @@ sub last_insert_id return @res ? $res[0] : undef; } -sub _sql_maker_args { +sub _sql_maker_opts { my ($self) = @_; - return ( + return { limit_dialect => 'FetchFirst', name_sep => $self->_dbh->get_info(41) - ); + }; } 1; @@ -50,7 +50,7 @@ over ODBC This class implements support specific to DB2/400 over ODBC, including auto-increment primary keys, SQL::Abstract::Limit dialect, and name separator -for for connections using either SQL naming or System naming. +for connections using either SQL naming or System naming. =head1 AUTHORS