#21543 [Opn->Csd]: unsupported field type errors with lvarchars
| From: | sniper@php.net | Date: | Mon, 13 Jan 2003 23:32:12 +0000 |
| Subject: | #21543 [Opn->Csd]: unsupported field type errors with lvarchars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29934@lists.php.net to get a copy of this message | ||
ID: 21543
Updated by: sniper@php.net
Reported By: oliver.faenger@cityweb.de
-Status: Open
+Status: Closed
Bug Type: Informix related
Operating System: All
PHP Version: 4.3.0
New Comment:
Ah, they've changed the version line in later releases.
Your patch is now committed to CVS, thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-01-13 09:41:42] oliver.faenger@cityweb.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-09 19:55:28] 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-09 06:26:59] oliver.faenger@cityweb.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21543&edit=1