Skip Menu |

This queue is for tickets about the DBD-Sybase CPAN distribution.

Report information
The Basics
Id: 93042
Status: new
Priority: 0/
Queue: DBD-Sybase

People
Owner: Nobody in particular
Requestors: sferencik [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.15
Fixed in: (no value)



Subject: utf8.t - skip all tests for SQL Server
It doesn't seem the UTF-8 support is working with SQL Server. I propose to skip all the tests (same as for Sybase 15-). --- t\utf8#1.t 2014-02-14 19:31:55.000000000 +-0100 +++ t\utf8.t 2014-02-14 19:30:33.000000000 +-0100 @@ -31,13 +31,14 @@ "dbi:Sybase:server=$Srv;database=$Db;charset=utf8", $Uid, $Pwd, { PrintError => 1 } ); $dbh->{syb_enable_utf8} = 1; -unless ( $dbh->{syb_server_version} ge '15' && $dbh->{syb_enable_utf8}) { +unless ( $dbh->{syb_server_version} ne 'Unknown' && $dbh->{syb_server_version} ge '15' + && $dbh->{syb_enable_utf8}) { plan skip_all => 'This test requires ASE 15 or later, and OpenClient 15.x or later'; } plan tests => 11; $dbh->do("create table #utf8test (uv univarchar(510), ut unitext)");