#44459 [Opn->Fbk]: sybase_fetch_result not returning column_source
| From: | jani@php.net | Date: | Sun, 26 Oct 2008 23:22:39 +0000 |
| Subject: | #44459 [Opn->Fbk]: sybase_fetch_result not returning column_source | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-130156@lists.php.net to get a copy of this message | ||
ID: 44459
Updated by: jani@php.net
Reported By: clark dot ryan at gmail dot com
-Status: Open
+Status: Feedback
-Bug Type: Sybase (dblib) related
+Bug Type: Sybase-ct (ctlib) related
Operating System: Windows XP
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2008-07-22 12:54:58] clark dot ryan at gmail dot com
As far as I know I am already using sybase_ct;
extension=php_sybase_ct.dll
That is from my php.ini, un-commented.
------------------------------------------------------------------------
[2008-07-21 12:08:28] pajoye@php.net
Can you try with sybase_ct, ext/sybase is dead now (5.3+) and only
sybase_ct remains in php and is actively maintained.
------------------------------------------------------------------------
[2008-03-25 11:04:27] felipe@php.net
It's returning a empty string, and this ever will occur with the actual
code.
------------------------------------------------------------------------
[2008-03-17 20:26:50] clark dot ryan at gmail dot com
Description:
------------
sybase_fetch_field is consistently returning me a NULL value for
column_source.
Reproduce code:
---------------
$conn = @sybase_pconnect('server','user','pass');
$query = "SELECT * FROM Products WHERE productID = 1";
$rs = sybase_query($query);
$row = sybase_fetch_field($rs);
echo '<pre>';
print_r($row);
echo '</pre>';
Expected result:
----------------
stdClass Object
(
[name] => productID
[max_length] => 11
[column_source] => 'Products'
[numeric] => 1
[type] => int
)
Actual result:
--------------
stdClass Object
(
[name] => productID
[max_length] => 11
[column_source] =>
[numeric] => 1
[type] => int
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44459&edit=1