Steffen Goeldner wrote: > > Steffen Goeldner wrote: > > > > DBD::ODBC's get_info() method returns strange results for some > > info types, e.g.: > > > > SQL_XOPEN_CLI_YEAR 10000 892942641 > > > > instead of > > > > SQL_XOPEN_CLI_YEAR 10000 1995 > > > > I'm quite sure the attached patch fixes that. > > Further, the script dumps for unsupported info types, e.g.: > > SQL_MAXIMUM_STMT_OCTETS: rc == -1 > > The attached patch seems to fix that. > However, comments from XS-experts would be appreciated.
FYI: My script <http:[EMAIL PROTECTED]/msg00882.html> still dumps for some info types, e.g.: SQL_DRIVER_HSTMT SQL_DRIVER_HDESC DBD::ODBC does not print an error. Thus, it seems this occurs in the ODBC driver itself (MS Access). Well, I think these info types are not very useful for DBI anyway. For now, I simple skip these info types: next if /^SQL_DRIVER_H/; Steffen
