[Bast-commits] r6770 -
DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Tue Jun 23 14:42:32 GMT 2009
Author: caelum
Date: 2009-06-23 14:42:32 +0000 (Tue, 23 Jun 2009)
New Revision: 6770
Modified:
DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/NoBindVars.pm
DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/Sybase.pm
Log:
minor changes
Modified: DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/NoBindVars.pm
===================================================================
--- DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/NoBindVars.pm 2009-06-23 14:38:33 UTC (rev 6769)
+++ DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/NoBindVars.pm 2009-06-23 14:42:32 UTC (rev 6770)
@@ -56,10 +56,7 @@
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';
Modified: DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/Sybase.pm
===================================================================
--- DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/Sybase.pm 2009-06-23 14:38:33 UTC (rev 6769)
+++ DBIx-Class/0.08/branches/sybase/lib/DBIx/Class/Storage/DBI/Sybase.pm 2009-06-23 14:42:32 UTC (rev 6770)
@@ -62,9 +62,6 @@
$dbh->{syb_binary_images} = 1;
}
-{
- my $old_dbd_warned = 0;
-
=head2 connect_call_datetime_setup
Used as:
@@ -84,6 +81,9 @@
=cut
+{
+ my $old_dbd_warned = 0;
+
sub connect_call_datetime_setup {
my $self = shift;
my $dbh = $self->_dbh;
@@ -188,9 +188,7 @@
setting you need to work with C<IMAGE> columns.
Due to limitations in L<DBD::Sybase> and this driver, it is only possible to
-select one C<TEXT> or C<IMAGE> column at a time, and it must be at the end of
-your C<select> list (one way to insure that is to define the column last in your
-C<Result> class.)
+select one C<TEXT> or C<IMAGE> column at a time.
=head1 AUTHORS
More information about the Bast-commits
mailing list