From: Rafael Kitover Date: Tue, 23 Jun 2009 14:42:32 +0000 (+0000) Subject: minor changes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9041a97a57cd2831d20e3b25772b29f9af3d8ef9;p=dbsrgits%2FDBIx-Class-Historic.git minor changes --- diff --git a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm index 637e411..b900f58 100644 --- a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm +++ b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm @@ -56,10 +56,7 @@ sub _prep_for_execute { my $col = shift @$bound; my $name_sep = $self->_sql_maker_opts->{name_sep} || '.'; - my $quote_char = $self->_sql_maker_opts->{quote_char} || ''; - $quote_char = join '', @$quote_char if ref $quote_char eq 'ARRAY'; - $col =~ s/[\Q${quote_char}\E]//g if $quote_char; $col =~ s/^([^\Q${name_sep}\E]*)\Q${name_sep}\E//; my $alias = $1 || 'me'; diff --git a/lib/DBIx/Class/Storage/DBI/Sybase.pm b/lib/DBIx/Class/Storage/DBI/Sybase.pm index f754cea..d92a60e 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase.pm @@ -62,9 +62,6 @@ sub connect_call_blob_setup { $dbh->{syb_binary_images} = 1; } -{ - my $old_dbd_warned = 0; - =head2 connect_call_datetime_setup Used as: @@ -84,6 +81,9 @@ C columns only have minute precision. =cut +{ + my $old_dbd_warned = 0; + sub connect_call_datetime_setup { my $self = shift; my $dbh = $self->_dbh; @@ -188,9 +188,7 @@ See L for a L setting you need to work with C columns. Due to limitations in L and this driver, it is only possible to -select one C or C column at a time, and it must be at the end of -your C