PHP 4.0 Bug #6590 Updated: sybase_affected_rows always returns 0.
| From: | sniper@php.net | Date: | Sat, 30 Dec 2000 18:53:19 +0000 |
| Subject: | PHP 4.0 Bug #6590 Updated: sybase_affected_rows always returns 0. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42611@lists.php.net to get a copy of this message | ||
ID: 6590
Updated by: sniper
Reported By: vikash@easygroup.com
Old-Status: Feedback
Status: Closed
Bug Type: Sybase-ct (ctlib) related
Assigned To:
Comments:
No feedback. Considered fixed.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-06 21:59:39] joey@php.net
This works just fine for me.
Can you try a more recent version?
Either 4.0.3pl1 or a snapshot.
---------------------------------------------------------------------------
[2000-09-07 04:38:45] vikash@easygroup.com
Following is an example code.
$db = sybase_connect("SERVER", "USER", "PASSWD");
$result = sybase_query("INSERT table (field1, field2) values(1, 2)", $db);
$rows = sybase_affected_rows($db);
Even after a successful insert, $rows is always 0.
We are using Sybase ASE 11.0.3.3/P/Linux
compile options.
./configure --with-sybase-ct=/opt/sybase --with-apxs=/usr/sbin/apxs --enable-ftp --without-gd
--enable-track-vars --enable-trans-sid
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6590