Quantcast
Channel: Microsoft Drivers for PHP for SQL Server forum
Viewing all articles
Browse latest Browse all 391

PHP crash when calling sqlsrv_fetch_array

$
0
0

Hello,

With the driver SQLSRV 3.0.1 I have a case where PHP 5.3.19 can crash when the following instruction is called :

sqlsrv_fetch_array($this->resource, SQLSRV_FETCH_ASSOC, SQLSRV_SCROLL_FIRST);

This crash is hardly reproducible and happens more or less every 10 requests.

If instead, I replace the previous line by this one, then I don't have the bug :

sqlsrv_fetch_array($this->resource, SQLSRV_FETCH_ASSOC, SQLSRV_SCROLL_NEXT);

Is this a known bug in sqlsrv ?

Can you do something about it ?

Thanks

Laurent Mirguet


Viewing all articles
Browse latest Browse all 391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>