ColumnEncryption keyword reserved for Windows for now
This commit is contained in:
parent
db56c0344e
commit
bad65817e1
|
@ -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";
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue