PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #2883

no numRows or rowsAffected after SELECT ... INTO OUTFILE (mysql)

Details

Submitted2004-12-03 13:23 UTC
Fromandre dot steffens at adress-research dot de
Assigneddanielc
StatusClosed
PackageDB
PHP Version4.3.9
OSWin2k
Roadmaps(Not assigned)

Comments

[2004-12-03 13:23 UTC] andre dot steffens at adress-research dot de

Description:
------------
After running a SELECT ... INTO OUTFILE, the affected rows are not given. Neither with $res->numRows() nor with $db->affectedRows().

Reproduce code:
---------------
$res = $db->query('select ... into outfile ...');
echo $res->numRows();

Expected result:
----------------
$res->numRows() returns a count of the affected rows

Actual result:
--------------
error or nothing