diff --git a/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data.phpt b/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data.phpt index 15cbade9..d4a7ea23 100644 --- a/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data.phpt +++ b/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data.phpt @@ -34,7 +34,7 @@ sqlsrv_execute($stmt); /* Send up to 8K of parameter data to the server with each call to sqlsrv_send_stream_data. Count the calls. */ -$i = 1; +$i = 0; while (sqlsrv_send_stream_data($stmt)) { $i++; } diff --git a/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data_no_sendStreamParamsAtExec.phpt b/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data_no_sendStreamParamsAtExec.phpt index 0731909b..0696e50f 100644 --- a/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data_no_sendStreamParamsAtExec.phpt +++ b/test/bvt/sqlsrv/msdn_sqlsrv_send_stream_data_no_sendStreamParamsAtExec.phpt @@ -53,7 +53,7 @@ if ($stmt === false) { /* Send up to 8K of parameter data to the server with each call to sqlsrv_send_stream_data. Count the calls. */ -$i = 1; +$i = 0; while (sqlsrv_send_stream_data($stmt)) { $i++; }