$self->schema->storage->sql_maker->name_sep('.');
+ if (not defined $self->unquoted_ddl) {
+ warn <<'EOF';
+
+WARNING: Assuming mixed-case Firebird DDL, see the unquoted_ddl option in
+perldoc DBIx::Class::Schema::Loader::DBI::InterBase
+for more information.
+
+EOF
+ }
+
if (not $self->unquoted_ddl) {
$self->schema->storage->sql_maker->quote_char('"');
}
} : ()),
],
extra => {
- count => 6,
+ count => 7,
run => sub {
$schema = shift;
my $guard = Scope::Guard->new(\&cleanup_extra);
- $schema->_loader->{unquoted_ddl} = 0;
- $schema->_loader->_setup;
+ delete $schema->_loader->{unquoted_ddl};
+
+ my $warning;
+ {
+ local $SIG{__WARN__} = sub { $warning = shift };
+ $schema->_loader->_setup;
+ }
+ like $warning, qr/unquoted_ddl option/,
+ 'warning mentions unquoted_ddl option';
+
{
local $SIG{__WARN__} = sub {};
$schema->rescan;