NAME
DBIO::Sybase::Storage::FreeTDS - Base class for drivers using DBD::Sybase over FreeTDS.
VERSION
version 0.900000
DESCRIPTION
Base storage class for DBD::Sybase connections using the FreeTDS library. It is a subclass of DBIO::Sybase::Storage and is mixed in automatically by DBIO::Sybase::Storage when FreeTDS is detected.
Provides FreeTDS-specific transaction management (explicit BEGIN TRAN, COMMIT, ROLLBACK) and text size handling via SET TEXTSIZE, since $dbh->{LongReadLen} is not available under FreeTDS.
METHODS
set_textsize
When using DBD::Sybase with FreeTDS, $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.
SEE ALSO
DBIO::Sybase::Storage - Sybase storage dispatcher (mixes this in)
DBIO::Sybase::Storage::ASE - Sybase ASE storage
DBIO::MSSQL::Storage::Sybase - MSSQL via DBD::Sybase
AUTHOR
DBIO & DBIx::Class Authors
COPYRIGHT AND LICENSE
Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.