Test fixes

This commit is contained in:
David Puglielli 2019-04-11 12:47:16 -07:00
parent 847493bdff
commit cf03cbb6f7
2 changed files with 3 additions and 3 deletions

View file

@ -153,7 +153,7 @@ echo "Null result set, call next result first: #############################\n";
$stmt = sqlsrv_query($conn, "TestEmptySetProc @a='a', @b='c'");
NextResult($stmt, []);
Fetch($stmt, [$errorFuncSeq()]);
Fetch($stmt, [$errorNoFields]);
// Call next_result twice in succession on a null result set
echo "Null result set, call next result twice: #############################\n";

View file

@ -128,8 +128,8 @@ Array
[SQLSTATE] => IMSSP
[1] => -28
[code] => -28
[2] => The active result for the query contains no fields.
[message] => The active result for the query contains no fields.
[2] => The active result for the query contains no fields, so no result set was created.
[message] => The active result for the query contains no fields, so no result set was created.
)
)