#19528 [Fbk->Opn]: odbc_fetch_row() doesn't returned true if there is one row only

From: Date: Wed, 05 Mar 2003 20:37:54 +0000
Subject: #19528 [Fbk->Opn]: odbc_fetch_row() doesn't returned true if there is one row only
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34923@lists.php.net to get a copy of this message
ID: 19528 User updated by: scott at abcoa dot com Reported By: scott at abcoa dot com -Status: Feedback +Status: Open Bug Type: ODBC related Operating System: AIX (UNIX) PHP Version: 4.2.2 New Comment: I'm not sure if I would want to try it. Seem that I would need to use the driver manager and the driver. It reminded me of OpenLink that became too much and I threw it out in the past. I like the idea of having PHP's ODBC to work with DB2 by using the '--with-ibm-db2' prefix because it give me fewer softwares to work with. I mean DB2 is not only database I had to deal with, but of some different database softwares as well as some for Windows. I mean no offense. I didn't really have that problem way back in the past. Maybe the problem will fix itself in the near future. Who know! Previous Comments: ------------------------------------------------------------------------ [2003-03-04 10:36:43] kalowsky@php.net Any chance you can try building with unixODBC as the driver, and connecting via that? It seems to be the recommended means from IBM for connecting to DB2 systems. ------------------------------------------------------------------------ [2003-01-27 14:37:58] ranson at ea dot com I am having trouble with this as well, and have put in the bug workaround. It seeks to work but I have noticed that it skips my first row and duplicates my last row. ------------------------------------------------------------------------ [2002-10-02 12:06:17] kalowsky@php.net Updating summary ------------------------------------------------------------------------ [2002-09-27 12:16:06] scott at abcoa dot com I looked at few IBM books and IBM website and could find no such documentation about sql.log. I also tried typing in the command "find . -name '*log' -print" and got a few IBM DB2 logs but they aren't related to sql.log. Right now, I'm out of luck. Someone else will know more about it better than I do. ------------------------------------------------------------------------ [2002-09-26 15:53:58] kalowsky@php.net I'm not intimately familiar with the DB2 system, but there has to be a way to turn on ODBC logging. This is a fairly standard debugging method. Can you please check your documentation for it... it would make tracking this bug down infinately easier. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19528 -- Edit this bug report at http://bugs.php.net/?id=19528&edit=1

« previous php.bugs (#34923) next »