Fixed test and error message

This commit is contained in:
David Puglielli 2019-04-11 12:11:02 -07:00
parent 4b6b650db1
commit e2a6ece527
2 changed files with 4 additions and 4 deletions

View file

@ -196,7 +196,7 @@ ss_error SS_ERRORS[] = {
{
SQLSRV_ERROR_NO_FIELDS,
{ IMSSP, (SQLCHAR*)"The active result for the query contains no fields.", -28, false }
{ IMSSP, (SQLCHAR*)"The active result for the query contains no fields, so no result set was created.", -28, false }
},
{
@ -205,8 +205,8 @@ ss_error SS_ERRORS[] = {
},
{
SS_SQLSRV_ERROR_ZEND_OBJECT_FAILED,
{ IMSSP, (SQLCHAR*)"Failed to create an instance of class %1!s!.", -30, true }
SS_SQLSRV_ERROR_ZEND_OBJECT_FAILED,
{ IMSSP, (SQLCHAR*)"Failed to create an instance of class %1!s!.", -30, true }
},
{

View file

@ -12,7 +12,7 @@ require_once("MsCommon.inc");
// These are the error messages we expect at various points below
$errorNoMoreResults = "There are no more results returned by the query.";
$errorNoMoreRows = "There are no more rows in the active result set. Since this result set is not scrollable, no more data may be retrieved.";
$errorNoFields = "The active result for the query contains no fields.";
$errorNoFields = "The active result for the query contains no fields, so no result set was created.";
// Variable function gets an error message that depends on the OS
function getFuncSeqError()