From: amy dot wimmersberger at pacourts dot us
Operating system: Windows Server 2003 SP1
PHP version: 5.2.6
PHP Bug Type: ODBC related
Bug description: Sybase ODBC Driver odbc_exec
Description:
------------
Sybase ODBC driver for ASE 15 loaded on Server and connectivity tested.
Error message on odbc_exec is "[Sybase][ODBC Driver]Optional feature not
implemented, SQL state HYC00 in SQLSetStmtOption."
Thank you
Reproduce code:
---------------
$ds=odbc_connect("WEB_PRD1","myloginname","mypassword");
print_r($ds); //prints resource id#
$rq = odbc_exec($ds, 'select * from UserOfficeCounty;');
Expected result:
----------------
I expect $rq to contain rows of user, office and county from the table.
Actual result:
--------------
Error message on odbc_exec is "[Sybase][ODBC Driver]Optional feature not
implemented, SQL state HYC00 in SQLSetStmtOption."
--
Edit bug report at http://bugs.php.net/?id=45341&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=45341&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=45341&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=45341&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45341&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=45341&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45341&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45341&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45341&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45341&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45341&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=45341&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=45341&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45341&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45341&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45341&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45341&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45341&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45341&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45341&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45341&r=mysqlcfg