Hi,

 Some days ago Jeff Urlwin wrote:
> Flemming,
>
> Thanks for the patch.  Does SAPDB support Data sources?  If not, we should
> probably define DBD_ODBC_NO_DATASOURCES, too.
>
> Jeff

If I understand the SAP ODBC documentation correctly, SAP DB only
supports Data sources under Windows.

Unless I add this at line 294 in DBD-ODBC-0.31 Makefile.PL:
     print SQLH "#define DBD_ODBC_NO_DATASOURCES\n"
 I get this error when I call DBI->data_sources('ODBC'):
 "panic: dbd_error on bad handle type..."

 I use SAPDB 7.3.0.18, Red Hat 7.2, DBI 1.20 and DBD-ODBC 0.31.

Defining DBD_ODBC_NO_DATASOURCES is probably a good idea!

 # schoen


Reply via email to