Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 57467
Status: resolved
Priority: 0/
Queue: DBIx-Class

Owner: Nobody in particular
Requestors: mjh [...]

Bug Information
Severity: (no value)
Broken in: 0.08121
Fixed in: 0.08122

Subject: schema create=static fails on MS-SQL when using a specified database
Download (untitled) / with headers
text/plain 733b
Dumping the schema via catalyst model helper: /script/ model MyDB DBIC::Schema MySchema create=static "dbi:Sybase:server=myserver;database=mydb;port=1433;" mylogin mypassword fails on _get_server_version, as the version stored procedure is in the master db, not the used db. (DBD::Sybase using freetds for the communication layer from a linux machine: Mandriva 2009.5, perl 5.10.0, updated cpan packages using local::lib). in DBIx/Class/Storage/DBI/Sybase/ replacing: my $product_version = $self->_get_dbh->selectrow_hashref('xp_msver ProductVersion'); with: my $product_version = $self->_get_dbh->selectrow_hashref('master.dbo.xp_msver ProductVersion'); solved the problem.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to