summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pdo_firebird/tests/bug_72583.phpt3
-rw-r--r--ext/pdo_firebird/tests/bug_72931.phpt3
-rw-r--r--ext/pdo_firebird/tests/bug_73087.phpt3
-rw-r--r--ext/pdo_firebird/tests/bug_74462.phpt3
4 files changed, 4 insertions, 8 deletions
diff --git a/ext/pdo_firebird/tests/bug_72583.phpt b/ext/pdo_firebird/tests/bug_72583.phpt
index 87bc481fdc..9df4c3e915 100644
--- a/ext/pdo_firebird/tests/bug_72583.phpt
+++ b/ext/pdo_firebird/tests/bug_72583.phpt
@@ -6,8 +6,7 @@ PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings
<?php
require 'testdb.inc';
-@$dbh->exec('drop table atable');
-$dbh->exec('create table atable (aint integer, asmi smallint)');
+$dbh->exec('recreate table atable (aint integer, asmi smallint)');
$dbh->exec('insert into atable values (1, -1)');
$S = $dbh->prepare('select aint, asmi from atable');
$S->execute();
diff --git a/ext/pdo_firebird/tests/bug_72931.phpt b/ext/pdo_firebird/tests/bug_72931.phpt
index 56270ba984..5e2e849ba4 100644
--- a/ext/pdo_firebird/tests/bug_72931.phpt
+++ b/ext/pdo_firebird/tests/bug_72931.phpt
@@ -6,8 +6,7 @@ PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3
<?php
require 'testdb.inc';
-@$dbh->exec('drop table tablea');
-$dbh->exec('create table tablea (id integer)');
+$dbh->exec('recreate table tablea (id integer)');
$S = $dbh->prepare('insert into tablea (id) values (1) returning id');
$S->execute();
$D = $S->fetch(PDO::FETCH_NUM);
diff --git a/ext/pdo_firebird/tests/bug_73087.phpt b/ext/pdo_firebird/tests/bug_73087.phpt
index cd3d90137e..fa642ff5c2 100644
--- a/ext/pdo_firebird/tests/bug_73087.phpt
+++ b/ext/pdo_firebird/tests/bug_73087.phpt
@@ -6,8 +6,7 @@ PDO_Firebird: bug 73087 segfault binding blob parameter
<?php
require 'testdb.inc';
-@$dbh->exec('drop table atable');
-$dbh->exec('create table atable (id integer not null, content blob sub_type 1 segment size 80)');
+$dbh->exec('recreate table atable (id integer not null, content blob sub_type 1 segment size 80)');
$S = $dbh->prepare('insert into atable (id, content) values (:id, :content)');
for ($I = 1; $I < 10; $I++) {
$Params = [
diff --git a/ext/pdo_firebird/tests/bug_74462.phpt b/ext/pdo_firebird/tests/bug_74462.phpt
index fe97a1fc19..913b1b89db 100644
--- a/ext/pdo_firebird/tests/bug_74462.phpt
+++ b/ext/pdo_firebird/tests/bug_74462.phpt
@@ -6,8 +6,7 @@ PDO_Firebird: Bug #74462 Returns only NULLs for boolean fields
<?php
require 'testdb.inc';
-@$dbh->exec('drop table atable');
-$dbh->exec('create table atable (id integer not null, abool boolean)');
+$dbh->exec('recreate table atable (id integer not null, abool boolean)');
$dbh->exec('insert into atable (id, abool) values (1, true)');
$dbh->exec('insert into atable (id, abool) values (2, false)');
$dbh->exec('insert into atable (id, abool) values (3, null)');