projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
converted replicant to a role so that we can apply it after ensure_connected properly...
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
mysql.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/mysql.pm
b/lib/DBIx/Class/Storage/DBI/mysql.pm
index
002f50b
..
5c59d18
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/mysql.pm
+++ b/
lib/DBIx/Class/Storage/DBI/mysql.pm
@@
-40,6
+40,7
@@
sub is_replicating {
sub lag_behind_master {
my $self = shift @_;
+ return $self->dbh->selectrow_hashref('show slave status');
}
1;