Bug #76531 [NEW]: Can't get dateTime field with Sybase 16 ODBC driver

From: Date: Tue, 26 Jun 2018 08:57:13 +0000
Subject: Bug #76531 [NEW]: Can't get dateTime field with Sybase 16 ODBC driver
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215981@lists.php.net to get a copy of this message
From: t dot raab at sanitas dot at Operating system: Windows 7 PHP version: 7.2.7 Package: ODBC related Bug Type: Bug Bug description:Can't get dateTime field with Sybase 16 ODBC driver Description: ------------ Dear All, as Sybase support was dropped in PHP version 7, we are migrating our legacy application to connect to a SYBASE ASE database via ODBC. Our application is finally working quite well with ASE 15.5. The problem is that sooner or later the database will be updated to Sybase ASE 16 and we found that retrieving any dateTime field with the newer Sybase 16 ODBC driver returns an empty string. We also found that connecting via pdo_odbc retrieves the dateTime fields correctly, so we believe the error lies in PHP's odbc module. Unfortunately switching to PDO is not an option, as it is not possible to retrieve the field data type via PDO. -- Edit bug report at https://bugs.php.net/bug.php?id=76531&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76531&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76531&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76531&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76531&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76531&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76531&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76531&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76531&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76531&r=support Expected behavior: https://bugs.php.net/fix.php?id=76531&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76531&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76531&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76531&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76531&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76531&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76531&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76531&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76531&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76531&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76531&r=mysqlcfg

« previous php.bugs (#215981) next »