NAME

DBIO::MySQL::Storage::MariaDB::Async - future_io async adapter for MariaDB-DSN connections (DBD::MariaDB binding)

VERSION

version 0.900001

DESCRIPTION

The future_io transport adapter resolved by convention for a dbi:MariaDB: connection. DBIO reblesses such a connection into DBIO::MySQL::Storage::MariaDB (the MariaDB driver storage subclass), so the core future_io resolver derives ref($storage) . '::Async' == DBIO::MySQL::Storage::MariaDB::Async (ADR 0030 refinement, karr #65).

It reuses all the shared transport control flow from DBIO::MySQL::Storage::Async and overrides only the five DBD-specific async primitives, swapping DBD::mysql's binding for DBD::MariaDB's mariadb_* one. This exactly mirrors the sync split, where DBIO::MySQL::Storage::MariaDB overrides DBIO::MySQL::Storage to read mariadb_insertid: a dbi:MariaDB: future_io connection drives DBD::MariaDB's mariadb_async binding, while a dbi:mysql: one drives DBD::mysql's async binding, so whichever DBD the user named in the DSN is the one used for async.

METHODS

_async_prepare_attrs

DBD::MariaDB arms an async query with { mariadb_async => 1 }.

_conn_socket_fd

DBD::MariaDB exposes the connection socket fd as $dbh->mariadb_sockfd.

_async_ready

DBD::MariaDB $sth->mariadb_async_ready.

_async_result

DBD::MariaDB $sth->mariadb_async_result.

_async_insertid

DBD::MariaDB per-statement $sth->{mariadb_insertid}.

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.