projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added preserve_case option
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI
/
SQLAnywhere.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/SQLAnywhere.pm
b/lib/DBIx/Class/Schema/Loader/DBI/SQLAnywhere.pm
index
f6b6479
..
63cacda
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/SQLAnywhere.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/SQLAnywhere.pm
@@
-25,8
+25,14
@@
See L<DBIx::Class::Schema::Loader::Base>.
sub _setup {
my $self = shift;
+ $self->next::method(@_);
+
$self->{db_schema} ||=
($self->schema->storage->dbh->selectrow_array('select user'))[0];
+
+ if (not defined $self->preserve_case) {
+ $self->preserve_case(0);
+ }
}
sub _tables_list {