Skip Menu |

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

Report information
The Basics
Id: 58197
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: hui_nan [...] mail.ru
Cc:
AdminCc:

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



/usr/local/share/perl/5.10.0/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL _Server.pm line 61 must be my $product_version = $self->_get_dbh- Show quoted text
>selectrow_hashref('master..xp_msver ProductVersion');
or the request to the version after the database is changed fails with: DBIx::Class::ResultSet::next(): DBI Exception: DBD::Sybase::db selectrow_hashref failed: Server message number=2812 severity=16 state=62 line=1 server=LIB_SRV text=Could not find stored procedure 'xp_msver'. [for Statement "xp_msver ProductVersion"] at get_records.pl line 80 This happens when we try to fetch a row. If one inserts something like "print qq{$resultset rows found\n};" before the retrieval of the records the problem magically disappears.
Subject: MSSQL _get_version issues
On Mon Jun 07 09:02:39 2010, crusoe wrote: Show quoted text
> /usr/local/share/perl/5.10.0/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL > _Server.pm > > line 61 must be > > my $product_version = $self->_get_dbh-
> >selectrow_hashref('master..xp_msver ProductVersion');
> > or the request to the version after the database is changed fails with: > > DBIx::Class::ResultSet::next(): DBI Exception: DBD::Sybase::db > selectrow_hashref failed: Server message number=2812 severity=16 > state=62 line=1 server=LIB_SRV text=Could not find stored procedure > 'xp_msver'. [for Statement "xp_msver ProductVersion"] at get_records.pl > line 80 > > This happens when we try to fetch a row. If one inserts something like > "print qq{$resultset rows found\n};" before the retrieval of the records > the problem magically disappears.
A DBIC version fixing the issue was uploaded several days before you filed this bug. Please upgrade.