Re: cvs: php4 /ext/odbc php_odbc.c
| From: | Sterling Hughes | Date: | Tue, 17 Apr 2001 01:52:49 +0000 |
| Subject: | Re: cvs: php4 /ext/odbc php_odbc.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5140@lists.php.net to get a copy of this message | ||
On Tue, 17 Apr 2001, Jani Taskinen wrote:
> On Mon, 16 Apr 2001, Sterling Hughes wrote:
>
> >>
> >> -#ifndef HAVE_DBMAKER
> >> - if ((*pv_onoff)) {
> >> -#else
> >> if (pv_onoff && (*pv_onoff)) {
> >> -#endif
> >> convert_to_long_ex(pv_onoff);
> >> rc = SQLSetConnectOption(conn->hdbc, SQL_AUTOCOMMIT,
> >> ((*pv_onoff)->value.lval) ?
> >>
> >
> >This should be breaking something, no?
> >
> >Either way an "if" statement is started therefore it needs to be finished.
> >
>
> Maybe you should get thicker glasses? :)
>
> #ifndef <-- see this ? :-p
>
Maybe *you* need glasses :)
#ifndef HAVE_DBMAKER
if ((*pv_onoff)) {
#else
if (pv_onoff && (*pv_onoff)) {
#else
Either way an "if" block is started but not finished.
As Dan pointed out, it looks as if the diff got truncated.
-Sterling