|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
if submitted query is valid and executed, but it return nothing then php3_sybase_query may return TRUE (but TRUE isn't valid resultset). Relevant part of code (functions/sybase.c->php3_sybase_query) -------------------------------- num_fields = dbnumcols(sybase_ptr->link); if (num_fields<=0) { RETURN_TRUE; } -------------------------------- So sybase_query end OK (via return on line 3 of listed code), but calls to other functions (as sybase_num_rows) complain that 1 isn't valid resultset.