php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-06 21:59 UTC] joey@php.net
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] sniper@php.net
No feedback. Considered fixed.

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC