ID:               19528
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         ODBC related
 Operating System: AIX (UNIX)
 PHP Version:      4.2.2
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2002-10-02 12:06:17] [EMAIL PROTECTED]

Updating summary

------------------------------------------------------------------------

[2002-09-27 12:16:06] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2002-09-26 11:56:56] [EMAIL PROTECTED]

Oh! That's what it is.  No, I do not use the iODBC or OpenLink or
anything of that sort.  There is no such as odbc.ini feature for IBM
DB2.  I use this configure command before compiling PHP.

--clip--
./configure 
   --with-apache=../apache_1.3.26
   --with-ibm-db2=/usr/lpp/db2_06_01
   --with-openssl=../openssl-0.9.6d
   --with-mcrypt=../libmcrypt-2.5.2
   --without-mysql
   --with-config-file-path=../../apache/conf
   --enable-track-vars
   --with-curl
   --with-xml
--clip--

------------------------------------------------------------------------

[2002-09-26 11:46:27] [EMAIL PROTECTED]

Creating a sql.log is typically defined in your odbc.ini file, per DSN.
 You may have to alter that to turn on logging.  As per the specific
lines, that depends upon your vendors specific implementation.

------------------------------------------------------------------------

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

Reply via email to