summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/tests/timeout.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_dblib/tests/timeout.phpt')
-rw-r--r--ext/pdo_dblib/tests/timeout.phpt7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/pdo_dblib/tests/timeout.phpt b/ext/pdo_dblib/tests/timeout.phpt
index a070b0da75..0ef227a88b 100644
--- a/ext/pdo_dblib/tests/timeout.phpt
+++ b/ext/pdo_dblib/tests/timeout.phpt
@@ -12,12 +12,6 @@ require __DIR__ . '/config.inc';
$sql = 'WAITFOR DELAY \'00:00:02\'';
-// querying without a timeout will succeed
-$stmt = $db->prepare($sql);
-if ($stmt->execute()) {
- echo "OK\n";
-}
-
// regular timeout attribute, set after instance created, will affect query timeout, causing this query to fail
$db = new PDO($dsn, $user, $pass);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
@@ -80,4 +74,3 @@ OK
OK
OK
OK
-OK