|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21543 unsupported field type errors with lvarchars
Submitted: 2003-01-09 06:26 UTC Modified: 2003-01-13 17:32 UTC
From: oliver dot faenger at cityweb dot de Assigned:
Status: Closed Package: Informix related
PHP Version: 4.3.0 OS: All
Private report: No CVE-ID: None
 [2003-01-09 06:26 UTC] oliver dot faenger at cityweb dot de
lvarchars are not supported, because 'ext/informix/config.m4' gets a wrong version number from 'esql -V'.
So HAVE_IFX_IUS is not set.

with this patch the problem should be solved:

--- php-4.3.0/ext/informix/        2003-01-09 11:15:07.000000000 +0100
+++ php-4.3.0/ext/informix/config.m4    2003-01-09 11:15:11.000000000 +0100
@@ -44,7 +44,7 @@

   AC_MSG_CHECKING([Informix version])
-  IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1 s/^[^0-9]*\([0-9]\)\.\([0-9]*\).*/\1\2/p'`]
+  IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1 s/^.*Version \([0-9]\)\.\([0-9]*\).*$/\1\2/p'`]



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-09 19:55 UTC]
What is the output of 'esql -V' for you to require this?
The version detection works fine here..
(and what OS? Is it GNU sed you have there?)

 [2003-01-13 09:41 UTC] oliver dot faenger at cityweb dot de
sorry, it seems that i had a problem submitting the answer a few days ago.

here is the version info from out RH8 linux box:
# $INFORMIXDIR/bin/esql -V
IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.UC2
Software Serial Number RDS#.....
 [2003-01-13 17:32 UTC]
Ah, they've changed the version line in later releases.
Your patch is now committed to CVS, thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 06:01:34 2024 UTC