projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b1f9d92
)
changed the way we get the DSN for debugging in replication
John Napiorkowski [Mon, 10 Nov 2008 16:12:28 +0000 (16:12 +0000)]
lib/DBIx/Class/Storage/DBI/Replicated/Replicant.pm
patch
|
blob
|
blame
|
history
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);
};