Merge branch 'current/for_cpan_index' into current/dq
[dbsrgits/DBIx-Class.git] / t / sqlmaker / msaccess.t
index 2805d03..5b5b6ce 100644 (file)
@@ -35,7 +35,7 @@ is_same_sql_bind(
         LEFT JOIN [track] [tracks]
           ON [tracks].[cd] = [cds].[cdid]
       )
-    WHERE ( [artistid] = ? )
+    WHERE [artistid] = ?
   )',
   [
     [{ sqlt_datatype => 'integer', dbic_colname => 'artistid' }
@@ -67,7 +67,7 @@ is_same_sql_bind(
         INNER JOIN [artist] [artist]
           ON [artist].[artistid] = [cd].[artist]
       )
-    WHERE ( [trackid] = ? )
+    WHERE [trackid] = ?
   )',
   [
     [{ sqlt_datatype => 'integer', dbic_colname => 'trackid' }
@@ -79,7 +79,7 @@ is_same_sql_bind(
 
 my $sa = $schema->storage->sql_maker;
 # the legacy tests assume no quoting - leave things as-is
-local $sa->{quote_char};
+$sa->quote_char(undef);
 
 #  my ($self, $table, $fields, $where, $order, @rest) = @_;
 my ($sql, @bind) = $sa->select(