Bug #12166 Updated: SQL_CUR_DEFAULT constant not defined in php_odbc.dll
| From: | jlim at natsoft dot com dot my | Date: | Tue, 21 Aug 2001 09:30:36 +0000 |
| Subject: | Bug #12166 Updated: SQL_CUR_DEFAULT constant not defined in php_odbc.dll | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63945@lists.php.net to get a copy of this message | ||
ID: 12166
User updated by: jlim@natsoft.com.my
Reported By: jlim@natsoft.com.my
Old Status: Closed
Status: Open
Bug Type: ODBC related
Operating System: Windows ME
PHP Version: 4.0.6
New Comment:
I meant the PHP Manual entry for odbc_connect().
Previous Comments:
------------------------------------------------------------------------
[2001-08-20 12:03:35] sniper@php.net
no feedback.
------------------------------------------------------------------------
[2001-07-17 08:42:13] kalowsky@php.net
Which docs are you referring to? The ODBC docs for PHP? The ODBC v3 docs? The ODBC v3.5 docs?
please note that my name is kalowsky, not kowalsky.
------------------------------------------------------------------------
[2001-07-16 22:32:16] jlim@natsoft.com.my
Hi Kowalsky
If you check in microsoft's sqlext.h you will see that
SQL_CUR_DEFAULT is set to SQL_CUR_USE_DRIVER
so it is a constant. Also if you check the odbc_connect( ) docs, it says that SQL_CUR_DEFAULT is an
acceptable parameter to pass into odbc_connect(). So it should be defined, or the documentation be
corrected.
Regards, John
------------------------------------------------------------------------
[2001-07-16 08:31:20] kalowsky@php.net
this is supposed to be defined by your ODBC driver, not by PHP... after all, how is PHP to know what
your DB's default cursor is?
------------------------------------------------------------------------
[2001-07-14 11:14:19] jlim@natsoft.com.my
SQL_CUR_DEFAULT, which is a constant that can be passed into odbc_connect, is not defined in the
odbc extension. I get a warning that it an undefined constant when I use it. A quick check in the
source code confirmed it.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12166&edit=1