lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME
From: Phillip Hellewell (phellewell_at_spillman.com)
Date: 01/21/05
- Previous message: Chad Terry: "Re: Truncating trailing spaces - looking for alternative solutions"
- Next in thread: Steffen Goeldner: "Re: lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME"
- Reply: Steffen Goeldner: "Re: lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Jan 2005 12:03:34 -0700 To: <dbi-users@perl.org>
Hello,
I'm using DBI and DBD:ODBC in my perl script. I'm also using
DBI::Const::GetInfoType. I was trying to get the database name using
$dbh->get_info( $GetInfoType{SQL_DATABASE_NAME} ), and it returned 0,
but $dbh->get_info( 16 ) worked! So I looked in
lib/DBI/Const/GetInfo/ODBC.pm, and sure enough, it is missing a case for
16 in the %InfoTypes hash. This is the version of the ODBC.pm file I am
using:
# $Id: ODBC.pm,v 1.3 2003/02/26 17:56:01 timbo Exp $
Is my file outdated, or was SQL_DATABASE_NAME just left out by
accident? Was it left out on purpose?
Thanks,
Phillip Hellewell
- Previous message: Chad Terry: "Re: Truncating trailing spaces - looking for alternative solutions"
- Next in thread: Steffen Goeldner: "Re: lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME"
- Reply: Steffen Goeldner: "Re: lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|