|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6590 sybase_affected_rows always returns 0.
Submitted: 2000-09-07 04:38 UTC Modified: 2000-12-30 13:53 UTC
From: vikash at easygroup dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.2 OS: RedHat Linux 6.1 i386
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: vikash at easygroup dot com
New email:
PHP Version: OS:


 [2000-09-07 04:38 UTC] vikash at easygroup dot 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

compile options.
./configure --with-sybase-ct=/opt/sybase --with-apxs=/usr/sbin/apxs --enable-ftp --without-gd --enable-track-vars --enable-trans-sid


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-06 21:59 UTC]
This works just fine for me.
Can you try a more recent version?
Either 4.0.3pl1 or a snapshot.
 [2000-12-30 13:53 UTC]
No feedback. Considered fixed.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jan 30 21:03:49 2023 UTC