Attempt to fix overlong row error
This commit is contained in:
parent
17c3105522
commit
62bff99ad0
|
@ -53,8 +53,8 @@ $SQLSRV_PHPTYPE_CONST = array(SQLSRV_PHPTYPE_INT,
|
||||||
|
|
||||||
// Two sizes for the string types so we can test conversion from
|
// Two sizes for the string types so we can test conversion from
|
||||||
// a shorter type to a longer type
|
// a shorter type to a longer type
|
||||||
$strsize = 512;
|
$strsize = 256;
|
||||||
$strsize2 = 768;
|
$strsize2 = 384;
|
||||||
|
|
||||||
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
|
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
|
||||||
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",
|
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",
|
||||||
|
|
|
@ -64,8 +64,8 @@ function FormulateSelectQuery($tableName, &$selectQuery, &$selectQueryAE, &$data
|
||||||
|
|
||||||
// Two sizes for the string types so we can test conversion from
|
// Two sizes for the string types so we can test conversion from
|
||||||
// a shorter type to a longer type
|
// a shorter type to a longer type
|
||||||
$strsize = 512;
|
$strsize = 256;
|
||||||
$strsize2 = 768;
|
$strsize2 = 384;
|
||||||
|
|
||||||
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
|
$dataTypes = array ("binary($strsize)", "varbinary($strsize)", "varbinary(max)", "char($strsize)",
|
||||||
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",
|
"varchar($strsize)", "varchar(max)", "nchar($strsize)", "nvarchar($strsize)",
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue