From: Rafael Kitover Date: Fri, 17 Jul 2009 21:30:13 +0000 (+0000) Subject: some compatibility updated for older DBD::Sybase versions, some initial work on _sele... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5703eb149893635ad29b0a22c72700f61a2653dd;p=dbsrgits%2FDBIx-Class-Historic.git some compatibility updated for older DBD::Sybase versions, some initial work on _select_args for blobs --- diff --git a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm index 16b4aa3..9424d45 100644 --- a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm +++ b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm @@ -57,7 +57,7 @@ sub _prep_for_execute { my $name_sep = $self->_sql_maker_opts->{name_sep} || '.'; $col =~ s/^([^\Q${name_sep}\E]*)\Q${name_sep}\E//; - my $alias = $1 || 'me'; + my $alias = $1 || $rs_alias; my $rsrc = $alias2src->{$alias}; diff --git a/lib/DBIx/Class/Storage/DBI/Sybase.pm b/lib/DBIx/Class/Storage/DBI/Sybase.pm index cc8a0cc..2f27688 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase.pm @@ -31,6 +31,9 @@ without doing a C