projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
changed the way we get the DSN for debugging in replication
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Replicated
/
Replicant.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm
b/lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm
index
1fdac83
..
d97120b
100644
(file)
--- 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);
};