From: Matt S Trout Date: Sat, 28 Jul 2012 16:52:27 +0000 (+0000) Subject: switch rno to DQ slice X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b836fb39bc92219ab4d3dcdbe164d284c2a890a1;p=dbsrgits%2FDBIx-Class-Historic.git switch rno to DQ slice --- diff --git a/t/sqlmaker/limit_dialects/rno.t b/t/sqlmaker/limit_dialects/rno.t index 32f67c5..73d8f34 100644 --- a/t/sqlmaker/limit_dialects/rno.t +++ b/t/sqlmaker/limit_dialects/rno.t @@ -14,7 +14,12 @@ my ($TOTAL, $OFFSET) = ( my $schema = DBICTest->init_schema; -$schema->storage->_sql_maker->limit_dialect ('RowNumberOver'); +$schema->storage->_sql_maker->renderer_class( + Moo::Role->create_class_with_roles(qw( + Data::Query::Renderer::SQL::Naive + Data::Query::Renderer::SQL::Slice::RowNumberOver + )) +); my $rs_selectas_col = $schema->resultset ('BooksInLibrary')->search ({}, { '+select' => ['owner.name'],