-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #590 from yitam/sqlsrvBuffer
Refactor sqlsrv tests with buffer or cursor
- Loading branch information
Showing
27 changed files
with
1,048 additions
and
1,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
<?php | ||
|
||
if(! extension_loaded( "sqlsrv" ) ) | ||
die( "skip extension not loaded" ); | ||
if (!extension_loaded("sqlsrv")) | ||
die("skip extension not loaded"); | ||
|
||
require_once( 'MsSetup.inc' ); | ||
require_once('MsCommon.inc'); | ||
|
||
if ($keystore != 'ksp') | ||
die ( 'skip - this test requires a custom keystore provider.' ); | ||
if ($keystore != AE\KEYSTORE_KSP) | ||
die('skip - this test requires a custom keystore provider.'); | ||
|
||
require_once( 'MsCommon.inc' ); | ||
|
||
$conn = Connect(); | ||
if( ! $conn ) | ||
{ | ||
echo( "Error: could not connect during SKIPIF!" ); | ||
$conn = AE\connect(); | ||
if (! $conn) { | ||
echo("Error: could not connect during SKIPIF!"); | ||
} elseif (AE\isColEncrypted() && !AE\isQualified($conn)) { | ||
die("skip - AE feature not supported in the current environment."); | ||
} | ||
else if(! IsAEQualified( $conn ) ) | ||
{ | ||
die( "skip - AE feature not supported in the current environment." ); | ||
} | ||
|
||
?> |
Oops, something went wrong.