php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oliver dot faenger at cityweb dot de
New email:
PHP Version: OS:

 

 [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/config.m4.org        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 @@
   esac

   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'`]
   AC_MSG_RESULT($IFX_VERSION)
   AC_DEFINE_UNQUOTED(IFX_VERSION, $IFX_VERSION, [ ])




Oliver

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-09 19:55 UTC] sniper@php.net
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] sniper@php.net
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: Fri Apr 19 14:01:30 2024 UTC