Re: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version

From: Date: Wed, 29 Dec 1999 00:20:34 +0000
Subject: Re: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-8632@lists.php.net to get a copy of this message
[Cc'ed to Nick Gorham] On Tue, Dec 28, 1999 at 02:00:58PM -0800, Brian Leyton wrote: [..] > > Looks like SQL_SUCCEEDED was added in version 1.15 of php_odbc.c. Here's > the email from the archives that shows what he did (SQL_SUCCEEDED is way at > the end). Not being much of a C programmer, I'm a bit out of my league > here - I think I see what he's trying to do, but I don't know enough to know > if he's doing it right. I did grep libiodbc & found symbols named > SQL_SUCCESS and SQL_SUCCESS_WITH_INFO. Do you think that he meant to use > one of those?: > > lurcher Thu Dec 9 04:59:17 1999 EDT > > Modified files: > /php4 NEWS > /php4/ext/odbc php_odbc.c > Log: > > Report all ODBC error's not just the top of the stack Nick, iODBC does not contain SQL_SUCCEED, so this change breaks the iODBC support in PHP 4. You should check for the availability of SQL_SUCCEED and provide an optional replacement which works without SQL_SUCCEED. -- Regards, Sascha Schumann Consultant

« previous php.version4 (#8632) next »