From: sq6elt at zp dot amsnet dot pl Operating system: Linux - Debian, sarge PHP version: 4.3.8 PHP Bug Type: Sybase-ct (ctlib) related Bug description: Inproper handling of empty resultset
Description: ------------ If resultset returned by sybase_query is empty, following message appears: Warning: sybase_fetch_row(): supplied argument is not a valid Sybase result resource in file.php Expected to sybase_fetch_row to return false. Tested on: Debian Sarge, php 4.3.8, libct1 0.61-5, freetds-dev 0.61-5 With regards, Paul -- Edit bug report at http://bugs.php.net/?id=29504&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29504&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29504&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29504&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29504&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29504&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29504&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29504&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29504&r=support Expected behavior: http://bugs.php.net/fix.php?id=29504&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29504&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29504&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29504&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29504&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29504&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29504&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29504&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29504&r=float