Re: PHP 4.0 Bug #6044 Updated: odbc_connect() returns with very strange error message (pointer error?)
| From: | Eirik Overby | Date: | Thu, 10 Aug 2000 14:33:20 +0000 |
| Subject: | Re: PHP 4.0 Bug #6044 Updated: odbc_connect() returns with very strange error message (pointer error?) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28422@lists.php.net to get a copy of this message | ||
>Did you set your DB2_INST (or something like that) env variable?
>It needs to be set in your web server's environment.
Yes. And I checked the other issue I mentioned - I had a corrupt NODE directory. This was caused by
the DB2
installation program :-/
So it works now.
Sorry for wasting your time...
Just a question, if possible:
Is there any way to access the SQLCA data structure from DB2? It seems to be the only way to get
information
about number of affected rows by a sql statement and such things.. Or are there other ways?
I am writing a mysql <-> odbc compatiblity class set, and to implement e.g. the
mysql_affected_rows
functionality, I need to figure this out..
Best regards,
Eirik Overby