EV.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EV/Pool.pm ↑ Summary EV/TransactionContext.pm »
1 package DBIO::MySQL::EV;
2 28 our $VERSION = '0.900007';
3 # ABSTRACT: Async MySQL/MariaDB storage for DBIO via EV::MariaDB
4  
5 28 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 28 ▶use base 'DBIO::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 # Note for cross-repo readers (karr k14 / dbio-mysql-ev):
12 # A previous version of this file overrode `connection()` to force
13 # `storage_type('+DBIO::MySQL::EV::Storage')` on every connect. That hijack
14 # contradicted the inert-component model (ADR 0030): a loadable component
15 # must not switch the schema's storage class on its own. PostgreSQL's
16 # equivalent `DBIO::PostgreSQL::EV` has never had such an override; the
17 # MySQL copy was removed for parity. The `ev` mode registration itself has
18 # shipped in the dbio-mysql distribution since commit 8515206 --
19 # DBIO::MySQL::Storage calls register_async_mode(ev => ...) on the sync
20 # driver storage -- and is intentionally NOT duplicated here: the
21 # mode->transport map belongs on the class whose MRO the resolver walks.
22  
23 28 1;
24  
25 __END__
« EV/Pool.pm ↑ Summary EV/TransactionContext.pm »