diff --git a/test/functional/pdo_sqlsrv/MsCommon_mid-refactor.inc b/test/functional/pdo_sqlsrv/MsCommon_mid-refactor.inc index 27310ae9..bca30945 100644 --- a/test/functional/pdo_sqlsrv/MsCommon_mid-refactor.inc +++ b/test/functional/pdo_sqlsrv/MsCommon_mid-refactor.inc @@ -153,7 +153,7 @@ class ColumnMeta public $dataType; //a string that includes the size of the type if necessary (e.g., decimal(10,5)) public $colName; //column name public $options; //a string that is null by default (e.g. NOT NULL Identity (1,1) ) - public $encType; //randomized, deterministic, or normal; default is null + public $encType; //randomized, deterministic, or none; default is null public $forceEncrypt; //force encryption on a datatype not supported by Column Encrypton public function __construct($dataType, $colName = null, $options = null, $encType = null, $forceEncrypt = false) @@ -169,7 +169,7 @@ class ColumnMeta if (isColEncrypted()) { $this->encType = "deterministic"; } else { - $this->encType = "normal"; + $this->encType = "none"; } } else { $this->encType = $encType; diff --git a/test/functional/pdo_sqlsrv/PDO38_FetchBound.phpt b/test/functional/pdo_sqlsrv/PDO38_FetchBound.phpt index db043fd7..e5366c35 100644 --- a/test/functional/pdo_sqlsrv/PDO38_FetchBound.phpt +++ b/test/functional/pdo_sqlsrv/PDO38_FetchBound.phpt @@ -48,7 +48,7 @@ try { $num = $stmt2->fetchColumn(); echo "There are $num rows in the table.\n"; - createTable($conn1, $tableName, array(new ColumnMeta("int", "idx", "NOT NULL PRIMARY KEY", "normal"), "txt" => "varchar(20)")); + createTable($conn1, $tableName, array(new ColumnMeta("int", "idx", "NOT NULL PRIMARY KEY", "none"), "txt" => "varchar(20)")); insertRow($conn1, $tableName, array("idx" => 0, "txt" => 'String0')); insertRow($conn1, $tableName, array("idx" => 1, "txt" => 'String1')); insertRow($conn1, $tableName, array("idx" => 2, "txt" => 'String2')); diff --git a/test/functional/pdo_sqlsrv/PDO61_BindColumn1.phpt b/test/functional/pdo_sqlsrv/PDO61_BindColumn1.phpt index e70a514d..1d773a3f 100644 --- a/test/functional/pdo_sqlsrv/PDO61_BindColumn1.phpt +++ b/test/functional/pdo_sqlsrv/PDO61_BindColumn1.phpt @@ -15,7 +15,7 @@ try { // Prepare test table $tableName = "pdo_test_table"; - createTable($conn1, $tableName, array(new ColumnMeta("int", "idx", "NOT NULL PRIMARY KEY", "normal"), "txt" => "varchar(20)")); + createTable($conn1, $tableName, array(new ColumnMeta("int", "idx", "NOT NULL PRIMARY KEY", "none"), "txt" => "varchar(20)")); insertRow($conn1, $tableName, array("idx" => 0, "txt" => "String0")); insertRow($conn1, $tableName, array("idx" => 1, "txt" => "String1")); insertRow($conn1, $tableName, array("idx" => 2, "txt" => "String2")); diff --git a/test/functional/pdo_sqlsrv/PDO62_BindColumn2.phpt b/test/functional/pdo_sqlsrv/PDO62_BindColumn2.phpt index acb5e9b6..9e39ca3c 100644 --- a/test/functional/pdo_sqlsrv/PDO62_BindColumn2.phpt +++ b/test/functional/pdo_sqlsrv/PDO62_BindColumn2.phpt @@ -15,7 +15,7 @@ try { // Prepare test table $tableName = "pdo_test_table"; - createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "normal"), "label" => "char(1)")); + createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "none"), "label" => "char(1)")); insertRow($conn1, $tableName, array("id" => 1, "label" => "a")); insertRow($conn1, $tableName, array("id" => 2, "label" => "b")); insertRow($conn1, $tableName, array("id" => 3, "label" => "c")); diff --git a/test/functional/pdo_sqlsrv/PDO64_BindParam2.phpt b/test/functional/pdo_sqlsrv/PDO64_BindParam2.phpt index f6fbde34..3801bf7f 100644 --- a/test/functional/pdo_sqlsrv/PDO64_BindParam2.phpt +++ b/test/functional/pdo_sqlsrv/PDO64_BindParam2.phpt @@ -16,7 +16,7 @@ try { // Prepare test table $dataCols = "id, label"; $tableName = "pdo_test_table"; - createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "normal"), "label" => "char(1)")); + createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "none"), "label" => "char(1)")); insertRow($conn1, $tableName, array("id" => 1, "label" => 'a')); insertRow($conn1, $tableName, array("id" => 2, "label" => 'b')); insertRow($conn1, $tableName, array("id" => 3, "label" => 'c')); diff --git a/test/functional/pdo_sqlsrv/PDO66_BindValue2.phpt b/test/functional/pdo_sqlsrv/PDO66_BindValue2.phpt index 75fee971..71a885a7 100644 --- a/test/functional/pdo_sqlsrv/PDO66_BindValue2.phpt +++ b/test/functional/pdo_sqlsrv/PDO66_BindValue2.phpt @@ -15,7 +15,7 @@ try { // Prepare test table $tableName = "pdo_test_table"; - createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "normal"), "label" => "char(1)")); + createTable($conn1, $tableName, array(new ColumnMeta("int", "id", "NOT NULL PRIMARY KEY", "none"), "label" => "char(1)")); insertRow($conn1, $tableName, array("id" => 1, "label" => "a")); insertRow($conn1, $tableName, array("id" => 2, "label" => "b")); insertRow($conn1, $tableName, array("id" => 3, "label" => "c")); diff --git a/test/functional/pdo_sqlsrv/pdo_katmai_special_types.phpt b/test/functional/pdo_sqlsrv/pdo_katmai_special_types.phpt index fe779745..fc6ff687 100644 --- a/test/functional/pdo_sqlsrv/pdo_katmai_special_types.phpt +++ b/test/functional/pdo_sqlsrv/pdo_katmai_special_types.phpt @@ -106,7 +106,7 @@ function katmaiSparseChar($conn) if ($input !== trim($value1)) { echo "The value is unexpected!\n"; } - // trimming it required since SPARSE is not supported for encrypted columns + // trimming is required since SPARSE is not supported for encrypted columns if (trim($value1) !== trim($value2)) { echo "The values don't match!\n"; }