Fixed bigint insertion bug in x86

This commit is contained in:
David Puglielli 2018-05-23 15:42:36 -07:00
parent e0f9afae2f
commit 13e69b54bc
8 changed files with 6 additions and 20 deletions

View file

@ -1,15 +1,9 @@
--TEST--
Test connection keywords for Azure Key Vault for Always Encrypted.
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_mid-refactor.inc'); ?>
--FILE--
<?php
// Skip for 32-bit PHP, as bug causes this test to fail when inserting a bigint
if (PHP_INT_SIZE == 4) {
echo "Done.\n";
exit();
}
require_once("MsCommon_mid-refactor.inc");
require_once("MsSetup.inc");
require_once('values.php');

View file

@ -1,7 +1,7 @@
--TEST--
Test credentials for Azure Key Vault for Always Encrypted.
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_mid-refactor.inc'); ?>
--FILE--
<?php
// TODO: Fix the test on Ubuntu - right now it produces a SSL error on Ubuntu

View file

@ -11,10 +11,6 @@ $conn = new PDO($dsn, $uid, $pwd);
if (! $conn) {
echo("Error: could not connect during SKIPIF!");
} elseif (isColEncrypted()) {
if (!(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')) {
die( "Skip, AE test on windows only." );
}
if (!isAEQualified($conn)) {
die("skip - AE feature not supported in the current environment.");
}

View file

@ -792,7 +792,7 @@ $small_values = array("qwerty",
52.7878,
-1.79E+308,
-3.4E+38,
-987654321987654321,
PHP_INT_SIZE == 4 ? "-9223372036854775807" : -9223372036854775807,
987654321,
1,
);

View file

@ -10,10 +10,6 @@ $conn = AE\connect();
if (! $conn) {
echo("Error: could not connect during SKIPIF!");
} elseif (AE\isColEncrypted()) {
if (!isWindows()) {
die( "Skip, AE test on windows only." );
}
if (!AE\isQualified($conn)) {
die("skip - AE feature not supported in the current environment.");
}

View file

@ -1,7 +1,7 @@
--TEST--
Test connection keywords for Azure Key Vault for Always Encrypted.
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_versions_old.inc'); ?>
--FILE--
<?php
require_once('MsCommon.inc');

View file

@ -1,7 +1,7 @@
--TEST--
Test credentials for Azure Key Vault for Always Encrypted.
--SKIPIF--
<?php require('skipif.inc'); ?>
<?php require('skipif_versions_old.inc'); ?>
--FILE--
<?php
// TODO: Fix the test on Ubuntu - right now it produces a SSL error on Ubuntu

View file

@ -792,7 +792,7 @@ $small_values = array("qwerty",
52.7878,
-1.79E+308,
-3.4E+38,
-987654321987654321,
PHP_INT_SIZE == 4 ? "-9223372036854775807" : -9223372036854775807,
987654321,
1,
);