Bug #10469 Updated: ODBC_result() fails on DB2 LONG VARCHAR columns

From: Date: Tue, 16 Apr 2002 18:18:35 +0000
Subject: Bug #10469 Updated: ODBC_result() fails on DB2 LONG VARCHAR columns
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5134@lists.php.net to get a copy of this message
ID: 10469 Updated by: kalowsky@php.net Reported By: ltning@anduin.net -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: Linux Slackware 7.1+ PHP Version: 4.0.4pl1 New Comment: is this bug still valid in the recent releases? Previous Comments: ------------------------------------------------------------------------ [2001-06-12 10:28:10] kalowsky@php.net not recognizing anything as a bug yet, i haven't gotten db2 installed to try these out :P ------------------------------------------------------------------------ [2001-06-08 16:14:35] ltning@anduin.net Heh.. Does that mean you recognize both as bugs, not user errors? I'd be real pleased to hear that, since I've been tearing out a considerable amount of hair over these two.. Hope you can figure it out asap, I'm currently working around the problems in various not-so-pretty ways.. -Eirik ------------------------------------------------------------------------ [2001-06-08 15:51:08] kalowsky@php.net saw the other bug too. i've seen it for awhile. it falls under the 2 problems i currently have. :\ ------------------------------------------------------------------------ [2001-06-02 05:02:03] ltning@anduin.net None of the two remedies you suggest make any difference. It's the odbc_longreadlen() I've been experimenting with too, but whatever I do it doesn't solve the problem, it just makes it more confusing ;) Actually.. The string in the LONG VARCHAR column might be as long or as short as you want, the same result arises anyhow. Btw, did you ever see the CHAR(x) FOR BIT DATA bug I've opened before? I was asked for feedback on it, and gave this, but nothing more happened... (It's used for the DB2 generation of unique keys...) -Eirik ------------------------------------------------------------------------ [2001-06-01 13:37:35] kalowsky@php.net depending upon the size and type of data you may need to try one of two things, or both. in your php.ini there is a line "odbc.defaultlrl" which may need to be increased. read the manual for more information on this. also you may need to call odbc_longreadlen first, again read the manual for more information on this. if either of these fixes the problem, great, if not ... as soon as I can get A) time, and B) DB2 installed on my linux box i'll check it out. ------------------------------------------------------------------------ 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/10469 -- Edit this bug report at http://bugs.php.net/?id=10469&edit=1

« previous php.bugs (#5134) next »