Attempt to fix overlong row error

This commit is contained in:
David Puglielli 2018-03-09 22:43:42 -08:00
parent 17c3105522
commit 62bff99ad0
3 changed files with 172 additions and 172 deletions

View file

@ -53,8 +53,8 @@ $SQLSRV_PHPTYPE_CONST = array(SQLSRV_PHPTYPE_INT,
// Two sizes for the string types so we can test conversion from
// a shorter type to a longer type
$strsize = 512;
$strsize2 = 768;
$strsize = 256;
$strsize2 = 384;
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",

View file

@ -64,8 +64,8 @@ function FormulateSelectQuery($tableName, &$selectQuery, &$selectQueryAE, &$data
// Two sizes for the string types so we can test conversion from
// a shorter type to a longer type
$strsize = 512;
$strsize2 = 768;
$strsize = 256;
$strsize2 = 384;
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",

File diff suppressed because one or more lines are too long