Bug #54343 [NEW]: odbc_execute - Driver does not support this function

From: Date: Tue, 22 Mar 2011 09:54:11 +0000
Subject: Bug #54343 [NEW]: odbc_execute - Driver does not support this function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159698@lists.php.net to get a copy of this message
From:             
Operating system: linux reh5
PHP version:      5.3.6
Package:          ODBC related
Bug Type:         Bug
Bug description:odbc_execute - Driver does not support this function

Description:
------------
since php 5.3.5 odbc_execute failed
up to php 5.3.3 it works fine (with same conditions, same database and same
odbc-drivers)

Resource id #15
faultCode0faultStringWarning:odbc_execute(): SQL error: [unixODBC][Driver
Manager]Driver does not support this function, SQL state IM001 in
SQLDescribeParameter

We use 
postgresql 9.0.3, 
psqlODBC 08.03.0200-12.1,
UnixODBC 2.2.12-206.1



Test script:
---------------
$sql_prep = odbc_prepare($db, 'update testtab set testfield = ? where id =
1');
echo $sql_prep;
$rs = odbc_execute($sql_prep, array("dideldidum"));


-- 
Edit bug report at http://bugs.php.net/bug.php?id=54343&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=54343&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=54343&r=trysnapshot53
Try a snapshot (trunk):              http://bugs.php.net/fix.php?id=54343&r=trysnapshottrunk
Fixed in SVN:                        http://bugs.php.net/fix.php?id=54343&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54343&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=54343&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=54343&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=54343&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=54343&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=54343&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=54343&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=54343&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=54343&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=54343&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54343&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54343&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=54343&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=54343&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=54343&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=54343&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=54343&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#159698) next »