| 1 | package DBIO::MySQL::Storage::MariaDB; | ||
| 2 | # ABSTRACT: MariaDB-specific storage for DBIO | ||
| 3 | |||
| 4 | 28 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 28 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 28 | our $VERSION = '0.900007'; | |
| 8 | |||
| 9 | 28 | ▶ | use base qw/DBIO::MySQL::Storage/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 28 | DBIO::Storage::DBI->register_driver('MariaDB' => __PACKAGE__); | |
| 12 | |||
| 13 | # No sql_maker_class of its own (karr #30). It used to point at | ||
| 14 | # DBIO::MySQL::SQLMaker::MariaDB for one reason -- the locking-read grammar -- | ||
| 15 | # and that is a SERVER question this class cannot answer: it is the DBD::MariaDB | ||
| 16 | # binding, and DBD::MariaDB reaches MySQL servers as readily as MariaDB ones. | ||
| 17 | # DBIO::MySQL::Storage/_lock_dialect now decides it from the server, so this | ||
| 18 | # class inherits DBIO::MySQL::SQLMaker like every other MySQL connection. | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | 28 | 1; | |
| 23 | |||
| 24 | __END__ | ||