Fixed the bvt streams tests
This commit is contained in:
parent
8f5c7061d6
commit
9e8d674473
|
@ -34,7 +34,7 @@ sqlsrv_execute($stmt);
|
||||||
|
|
||||||
/* Send up to 8K of parameter data to the server with each call to
|
/* Send up to 8K of parameter data to the server with each call to
|
||||||
sqlsrv_send_stream_data. Count the calls. */
|
sqlsrv_send_stream_data. Count the calls. */
|
||||||
$i = 1;
|
$i = 0;
|
||||||
while (sqlsrv_send_stream_data($stmt)) {
|
while (sqlsrv_send_stream_data($stmt)) {
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ if ($stmt === false) {
|
||||||
|
|
||||||
/* Send up to 8K of parameter data to the server with each call to
|
/* Send up to 8K of parameter data to the server with each call to
|
||||||
sqlsrv_send_stream_data. Count the calls. */
|
sqlsrv_send_stream_data. Count the calls. */
|
||||||
$i = 1;
|
$i = 0;
|
||||||
while (sqlsrv_send_stream_data($stmt)) {
|
while (sqlsrv_send_stream_data($stmt)) {
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue