|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-09-10 16:55 UTC] boccara at netvision dot net dot il
Description: ------------ With Microsoft SQL server 2000 ******************************************* * when using zlib.output_compression = on * ******************************************* I've got this bug since older version of php and apache ( this is NOT a new bug ). When doing a while ( fetch ) of a query, it cause a crash at the same time. By Ex: If I make a query that should return 78 results, when I make my while ( fetch ), it cause the system to crash at the result number 49. For another query , it wont't crash. and for another query it will crash at the result 62 ( of 98 results by ex.) rem: All the query works. rem: when using zlib.output_compression = OFF evrything works thine. Reproduce code: --------------- QUERY WHILE ( FETCH ) ECHO RESULT; ENDWHILE Expected result: ---------------- 1 2 3 4 5 6 7 8 9 10 11 Actual result: -------------- NO OUTPUT !!! PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
<? while (dbFetch($iQuery, $tabCol)) { if (isset($LastRef) && $LastRef == $tabCol[0] && $tri != "designation") { $ShowRef = false; } else { $ShowRef = true; } $LastRef = $tabCol[0]; ?> <tr bgcolor=<? if ($flagcolor) { echo ("\"#CCCCFF\">"); $flagcolor=false; } else { echo ("\"#FFFFFF\">"); $flagcolor=true; }?> <td nowrap class="listproduitsref" ><? if ($ShowRef) { echo $tabCol[0];} else { echo" "; }?></td> <td class="listproduitsdes"><? echo $tabCol[1]; ?></td> <td nowrap > <input type="text" size="3" value="1" align="right"> <a class='plus' href="javascript:addLine('<? echo $tabCol[0]; ?>','<? echo EncodeData(ApostropheSql($tabCol[1])); ?>','<? echo $tabCol[2];?>',<? echo $index; ?>)"> + </a> <a class="moins" href="javascript:minusLine('<? echo $tabCol[0]; ?>','<? echo EncodeData(ApostropheSql($tabCol[1])); ?>','<? echo "$tabCol[2]";?>',<? echo $index; ?>)"> - </a> </td> </tr> <? $index++; } ?>