[DBIx-Class-Devel] [Perl5/DBIx-Class] Sybase ASE: Cope with updated value returned by `sp_server_info @attribute_id=1` (PR #148)

River Sierra notifications at github.com
Fri Sep 29 17:33:14 GMT 2023


In Adaptive Server Enterprise 16.0 SP03 PL13 and 16.0 SP04 PL03, the value returned from `sp_server_info @attribute_id=1` changes from `SQL Server` to `Adaptive Server Enterprise`. An effect of this is that the condition in `DBIx::Class::Storage::DBI::Sybase::_rebless` to detect Adaptive Server Enterprise no longer fires, which means that connections to such databases would no longer use the storage class they should use (`DBIx::Class::Storage::DBI::Sybase::ASE`) but instead the superclass `DBIx::Class::Storage::DBI::Sybase`.

This Pull Request updates the condition in `_rebless` to also accept the new product name returned by `sp_server_info @attribute_id=1` .
You can view, comment on, or merge this pull request online at:

  https://github.com/Perl5/DBIx-Class/pull/148

-- Commit Summary --

  * Cope with updated name for Sybase ASE

-- File Changes --

    M lib/DBIx/Class/Storage/DBI/Sybase.pm (2)

-- Patch Links --

https://github.com/Perl5/DBIx-Class/pull/148.patch
https://github.com/Perl5/DBIx-Class/pull/148.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/Perl5/DBIx-Class/pull/148
You are receiving this because you are subscribed to this thread.

Message ID: <Perl5/DBIx-Class/pull/148 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20230929/cb894ff5/attachment.htm>


More information about the DBIx-Class-Devel mailing list