Fixed in-place compose_connection. Thanks to dwc for the tests.
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Schema.pm
index 787a018..69b48d3 100644 (file)
@@ -241,6 +241,7 @@ sub compose_connection {
       $class->mk_classdata(resultset_instance => $source->resultset);
       $class->mk_classdata(class_resolver => $self);
     }
+    $self->connection(@info);
     return $self;
   }