Tyler MacDonald > DBIx-Migration-Directories-0.10 > DBIx::Migration::Directories::Database::mysql

Download:
DBIx-Migration-Directories-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: DBIx-Migration-Directories-0.11

NAME ^

DBIx::Migration::Directories::Database::mysql - Handle quirks with DBD::mysql

SYNOPSIS ^

  my $dbh = DBIx::Transaction->connect('DBI:mysql:database=test');

  my $migration = DBIx::Migration::Directories->new(
    dbh     => $dbh,
    schema  => 'MySchema',
    ...
  );

DESCRIPTION ^

The following methods had to be written differently so that they behave properly under MySQL:

sql_table_exists($table)

See "sql_table_exists" in DBIx::Migration::Directories::Base.

MySQL 4.x does not support the SQL standard "information_schema". This sql_table_exists method instead uses MySQL's custom "SHOW TABLES" syntax to verify the existance of a table.

AUTHOR ^

Tyler "Crackerjack" MacDonald <japh@crackerjack.net>

LICENSE ^

Copyright 2008 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>

This is free software; You may distribute it under the same terms as perl itself.

SEE ALSO ^

DBIx::Migration::Directories, DBD::mysql