From: John Napiorkowski Date: Mon, 10 Nov 2008 16:12:28 +0000 (+0000) Subject: changed the way we get the DSN for debugging in replication X-Git-Tag: v0.08240~248 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=16df8aa967d1d9e24c038a274ab5793270fee122;hp=b1f9d92eb466f2624ecd5dc65f8c75eb726b49d6;p=dbsrgits%2FDBIx-Class.git changed the way we get the DSN for debugging in replication --- diff --git a/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm b/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm index 1fdac83..d97120b 100644 --- a/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm +++ b/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm @@ -60,7 +60,7 @@ advice iof the _query_start method to add more debuggin around '_query_start' => sub { my ($method, $self, $sql, @bind) = @_; - my $dsn = $self->connect_info->[0]; + my $dsn = $self->_dbi_connect_info->[0]; $self->$method("DSN: $dsn SQL: $sql", @bind); };