Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 89015
Status: resolved
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: bohica [...] ntlworld.com
Cc:
AdminCc:

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



Subject: You cannot issue a warning in the STORE method
DBD::ODBC maps the ReadOnly attribute to SQL_ACCESS_MODE. Some ODBC drivers (SQLite in this case) cannot (legitimately for ODBC) set SQL_ACCESS_MODE and return SQL_SUCCESS_WITH_INFO, option value changed. It has been decided that a DBD should report a warning in this case but when I changed DBD::ODBC to do this the warning is not seen (despite use warnings, -w and PrintWarn => 1). See https://github.com/mjegh/dbi/commit/3b2d8216f2028040dc6b2b1d1b3ebcfaa264a3ae I will add a test case and changes for DBD::NullP to illustrate this and issue a pull request. Martin -- Martin J. Evans Wetherby, UK
Fixed in current dev release