|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Thu Nov 30 21:01:27 2023 UTC