ColumnEncryption keyword reserved for Windows for now

This commit is contained in:
Jenny Tam 2018-02-08 09:30:07 -08:00
parent db56c0344e
commit bad65817e1
4 changed files with 535 additions and 525 deletions

View file

@ -104,6 +104,11 @@ function testInvalidValues()
function testEncryptedWithODBC()
{
// Skip this function if running outside Windows
if (!strtoupper(substr(php_uname('s'), 0, 3)) === 'WIN') {
return;
}
global $msodbcsqlMaj, $server, $uid, $pwd;
$value = "ODBC Driver 13 for SQL Server";

View file

@ -1,7 +1,7 @@
--TEST--
Test new connection keyword ColumnEncryption
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_unix.inc'); ?>
--FILE--
<?php
require_once("MsSetup.inc");

View file

@ -102,6 +102,11 @@ function testInvalidValues($msodbcsqlMaj, $server, $connectionOptions)
function testEncryptedWithODBC($msodbcsqlMaj, $server, $connectionOptions)
{
// Skip this function if running outside Windows
if (!strtoupper(substr(php_uname('s'), 0, 3)) === 'WIN') {
return;
}
$value = "ODBC Driver 13 for SQL Server";
$connectionOptions['Driver']=$value;
$connectionOptions['ColumnEncryption']='Enabled';

View file

@ -1,7 +1,7 @@
--TEST--
Test new connection keyword ColumnEncryption
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_unix.inc'); ?>
--FILE--
<?php
sqlsrv_configure( 'WarningsReturnAsErrors', 0 );