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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 10:01:28 2024 UTC