add sql_maker to @rdbms_specific_methods
[dbsrgits/DBIx-Class.git] / t / 74mssql.t
index f8b3849..b56c7e0 100644 (file)
@@ -204,6 +204,15 @@ SQL
     ok (($have_rno == $rno_detected),
       'row_number() over support detected correctly');
   }
+
+  {
+    my $schema = DBICTest::Schema->clone;
+    $schema->connection($dsn, $user, $pass);
+
+    like $schema->storage->sql_maker->{limit_dialect},
+      qr/^(?:Top|RowNumberOver)\z/,
+      'sql_maker is correct on unconnected schema';
+  }
 }
 
 # test op-induced autoconnect