The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::Storage::DBI::Sybase - Base class for drivers using DBD::Sybase

DESCRIPTION

This is the base class/dispatcher for Storage's designed to work with DBD::Sybase

METHODS

using_freetds

Whether or not DBD::Sybase was compiled against FreeTDS. If false, it means the Sybase OpenClient libraries were used.

set_textsize

When using FreeTDS and/or MSSQL, $dbh->{LongReadLen} is not available, use this function instead. It does:

  $dbh->do("SET TEXTSIZE $bytes");

Takes the number of bytes, or uses the LongReadLen value from your connect_info if omitted, lastly falls back to the 32768 which is the DBD::Sybase default.

AUTHORS

See "CONTRIBUTORS" in DBIx::Class.

LICENSE

You may distribute this code under the same terms as Perl itself.