#26555 [Opn->Asn]: lvarchar not recognized
| From: | sniper@php.net | Date: | Mon, 12 Jan 2004 12:05:03 +0000 |
| Subject: | #26555 [Opn->Asn]: lvarchar not recognized | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53174@lists.php.net to get a copy of this message | ||
ID: 26555
Updated by: sniper@php.net
Reported By: jkaufman at wamnetgov dot com
-Status: Open
+Status: Assigned
Bug Type: Informix related
Operating System: Mandrake 9.1
PHP Version: 4CVS-2003-12-9
-Assigned To:
+Assigned To: nobbie
New Comment:
Assigned to the ext/informix maintainer, Corne'.
Previous Comments:
------------------------------------------------------------------------
[2003-12-10 13:18:33] jkaufman at wamnetgov dot com
Forgot to mention that the informix sdk is:
IBM INFORMIX-Client SDK 2.81.UC1 PRODUCT RELEASE
INFORMIX-ESQL/C Version 9.53
DATE: 04 Feb 2003
------------------------------------------------------------------------
[2003-12-10 12:53:51] jkaufman at wamnetgov dot com
I don't *know* that the interpretation of lvarchar in ifx.c is wrong
just because I see a void type, but I do know this. I modified my db
schema and changed the lvarchar(1000) to char(500) and the query works
fine. I would prefer the lvarchar approach (it uses less db space and I
500 characters is not enough for my app), but it does demonstrate that
there is something amiss in the way php handles lvarchar.
------------------------------------------------------------------------
[2003-12-09 14:41:20] sniper@php.net
What informix sdk do you have installed?
(and if your c-client, the imap thing, is linked with ssl, you need to
use --with-imap-ssl)
------------------------------------------------------------------------
[2003-12-09 12:40:35] jkaufman at wamnetgov dot com
I built using the snapshot. First problem is that '--with-imap' did not
include '-lssl', though php-4.3.3 did. I removed that option from my
configure statement and rebuilt.
The problem is still present. ifx.c shows:
#line 1768 "/usr/src/php4-STABLE-200312091430/ext/informix/ifx.ec"
ifx_int8_t int8_var;
#line 1769 "/usr/src/php4-STABLE-200312091430/ext/informix/ifx.ec"
void *lvar_tmp = 0;
------------------------------------------------------------------------
[2003-12-08 18:47:32] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
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/26555
--
Edit this bug report at http://bugs.php.net/?id=26555&edit=1