Test fixes
This commit is contained in:
parent
847493bdff
commit
cf03cbb6f7
|
@ -153,7 +153,7 @@ echo "Null result set, call next result first: #############################\n";
|
||||||
|
|
||||||
$stmt = sqlsrv_query($conn, "TestEmptySetProc @a='a', @b='c'");
|
$stmt = sqlsrv_query($conn, "TestEmptySetProc @a='a', @b='c'");
|
||||||
NextResult($stmt, []);
|
NextResult($stmt, []);
|
||||||
Fetch($stmt, [$errorFuncSeq()]);
|
Fetch($stmt, [$errorNoFields]);
|
||||||
|
|
||||||
// Call next_result twice in succession on a null result set
|
// Call next_result twice in succession on a null result set
|
||||||
echo "Null result set, call next result twice: #############################\n";
|
echo "Null result set, call next result twice: #############################\n";
|
||||||
|
|
|
@ -128,8 +128,8 @@ Array
|
||||||
[SQLSTATE] => IMSSP
|
[SQLSTATE] => IMSSP
|
||||||
[1] => -28
|
[1] => -28
|
||||||
[code] => -28
|
[code] => -28
|
||||||
[2] => 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.
|
[message] => The active result for the query contains no fields, so no result set was created.
|
||||||
)
|
)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue