Subject: | t/02simple.t failure on Debian with mysql ODBC driver |
MIME-Version: | 1.0 |
X-Mailer: | MIME-tools 5.504 (Entity 5.504) |
Content-Disposition: | inline |
X-RT-Interface: | Web |
Message-ID: | <rt-4.0.16-12020-1381320645-1003.0-0-0 [...] rt.cpan.org> |
Content-Type: | text/plain; charset="utf-8" |
Content-Transfer-Encoding: | binary |
X-RT-Original-Encoding: | utf-8 |
X-RT-Encrypt: | 0 |
X-RT-Sign: | 0 |
Content-Length: | 999 |
Hi,
I installed libmyodbc in debian from the repositories.
The t/02simple.t test fails on DBD::ODBC, latest version from CPAN, and also when run on the git master branch.
contents of /etc/odbcinst.ini
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/i386-linux-gnu/odbc/libmyodbc.so
Setup = /usr/lib/i386-linux-gnu/odbc/libodbcmyS.so
FileUsage = 1
# Perl 5.14.2
# osname=linux, osvers=2.6.32-5-686-bigmem, archname=i486-linux-gnu-thread-multi-64int
# Using DBI 1.622
# Using DBD::ODBC 1.44_3
# Using DBMS_NAME 'MySQL'
# Using DBMS_VER '5.5.31-0+wheezy1'
# Using DRIVER_NAME 'libmyodbc5.so'
# Using DRIVER_VER '05.01.0010'
# odbc_has_unicode 0
DBI_DSN=dbi:ODBC:DRIVER={MySQL};Server=localhost;Port=3306;Database=test
# Failed test 'ReadOnly set'
# at t/02simple.t line 57.
# got: '0'
# expected: '1'
# Looks like you failed 1 test of 66.
t/02simple.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/66 subtests
(less 3 skipped subtests: 62 okay)