| 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__ | ||