The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::DBIC::Versioned:MySQL - Subclass with specific methods for MySQL

VERSION

version 0.02

FIELDS

mysqld_config

The configuration hash to pass into Test::mysqld when creating a new empty database. By default it contains {'skip-networking' => 1} to disable network access to the test database.

my_cnf

The current my_cnf in the running database as it was when the database was created.

METHODS

DEMOLISH

The Moose destructor. This is defined so that the test_db is cleanly stopped when it goes out of scope, and to avoid filling RAM and disc with unused databases.

Moose will call this automaticaly. It should not be called by users of this class.

run_sql

As Documented in the superclass, Runs some SQL commands on the database.

NB: This method splits the SQL script into statements by splitting on semicolons. If there are semicolons in string literals (escaped or not) it will break.