Re: Bug #12166 Updated: SQL_CUR_DEFAULT constant not defined in php_odbc.dll

From: Date: Fri, 27 Jul 2001 13:11:19 +0000
Subject: Re: 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-61406@lists.php.net to get a copy of this message
> ID: 12166 > Updated by: kalowsky > Reported By: jlim@natsoft.com.my > Old Status: Open > Status: Feedback > Bug Type: ODBC related > Operating System: Windows ME > PHP Version: 4.0.6 > New Comment: > > > Which docs are you referring to? The ODBC docs for PHP? The ODBC v3 docs? > The ODBC v3.5 docs? > Whoops, sorry for the name change. Silly me. I meant the ODBC docs in the PHP manual. - John > please note that my name is kalowsky, not kowalsky. > > > > Previous Comments: > ------------------------------------------------------------------------ > > [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. > > ------------------------------------------------------------------------ > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=12166&edit=2 > --- "Stressed spelled backwards is desserts." jlim@natsoft.com.my NATSOFT MALAYSIA (60)3-706 1216 Visit this web site for Asian and local Internet news http://webfeet.editthispage.com/ My PHP website: http://php.weblogs.com/

« previous php.dev (#61406) next »