Re: PDO ODBC and db2 v7.2
| From: | Wez Furlong | Date: | Tue, 31 May 2005 17:00:31 +0000 |
| Subject: | Re: PDO ODBC and db2 v7.2 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2399@lists.php.net to get a copy of this message | ||
If it wasn't ODBC v3 compliant, it wouldn't have built, so I doubt
that is the problem.
Things to try/check:
- build a debug build of php and pdo/pdo_odbc
- get a backtrace
- if you're on a 32-bit arch, get a valgrind trace too
In other words, please open a bug report :)
--Wez.
On 5/31/05, Justin Hannus <jhannus@128kb.com> wrote:
> Forgive me if this posted twice...
>
> Does anyone know if PDO_ODBC support db2 v7.2?
>
> I've read the article Wez wrote on IBM's developerWorks site but it
> pertains to v8.1 and talks about PDO supporting ODBCv3 compliant
> clients. I'm not sure if db2 7.2 is ODBCv3 comliant or if its even a
> factor but PDO_ODBC segfaults after a:
>
> 'SQLSTATE[22003]: Numeric value out of range: -99999 [IBM][CLI Driver]
> CLI0111E Numeric value out of range. SQLSTATE=22003
> (SQLFetchScroll[-99999] at
> /home/jhannus/local/src/PDO_ODBC-0.2/odbc_stmt.c:300)'
>
>
> Justin Hannus
> Software Engineer | Lycos Inc.
> justin.hannus@lycos-inc.com
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>