Req #62578 [Opn->Wfx]: New datatypes support required
Edit report at https://bugs.php.net/bug.php?id=62578&edit=1
ID: 62578
Updated by: krakjoe@php.net
Reported by: nohezp at gmail dot com
Summary: New datatypes support required
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Sybase-ct (ctlib) related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The sybase maintainer has backed away from the project, since nobody new has come forward it has
been removed in version 7 of PHP.
For this reason, I'm marking the bug as won't fix, it can still be found by any maintainer
that might come along and revive sybase as a PECL project.
Previous Comments:
------------------------------------------------------------------------
[2012-07-16 10:48:06] nohezp at gmail dot com
Description:
------------
sybase_ct extension does not support the new datatypes "DATE" & "TIME" and
possibly many more datatypes that have been added by the vendor. Request to
get all the datatypes supported in the extension.
Test script:
---------------
<?php
sybase_min_client_severity(11);
sybase_min_server_severity(11);
$dbms = "sybase";
$server = "SYBASE";
$db = "cidb";
$uid = "selector";
$pwd = "";
$p_dbcon= @sybase_connect($server, $uid, $pwd);
$isok = isset($p_dbcon) && is_resource($p_dbcon);
printf("PHP NATIVE : %-10s : CONNECT : %s\n", $dbms, $isok ? "OK" :
"NOT-OK");
if($isok)
{
$q= sybase_query("create table #try (a date null, b time null)");
$q= sybase_query("insert #try values('1Jan2011',
'05:00:00')");
$q= sybase_query("select * from #try");
$recs= sybase_fetch_assoc($q);
$i= 0;
foreach($recs as $k => $v) { printf("%5d | %s\n", $i, $v); $i++; };
};
printf("PHP NATIVE : %-10s : DB-SEL : %s\n", $dbms, @sybase_select_db($db) ?
"OK" : "NOT-OK");
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62578&edit=1
Thread (2 messages)