File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings
6
6
<?php
7
7
require 'testdb.inc ' ;
8
8
9
- @$ dbh ->exec ('drop table atable ' );
10
- $ dbh ->exec ('create table atable (aint integer, asmi smallint) ' );
9
+ $ dbh ->exec ('recreate table atable (aint integer, asmi smallint) ' );
11
10
$ dbh ->exec ('insert into atable values (1, -1) ' );
12
11
$ S = $ dbh ->prepare ('select aint, asmi from atable ' );
13
12
$ S ->execute ();
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3
6
6
<?php
7
7
require 'testdb.inc ' ;
8
8
9
- @$ dbh ->exec ('drop table tablea ' );
10
- $ dbh ->exec ('create table tablea (id integer) ' );
9
+ $ dbh ->exec ('recreate table tablea (id integer) ' );
11
10
$ S = $ dbh ->prepare ('insert into tablea (id) values (1) returning id ' );
12
11
$ S ->execute ();
13
12
$ D = $ S ->fetch (PDO ::FETCH_NUM );
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ PDO_Firebird: bug 73087 segfault binding blob parameter
6
6
<?php
7
7
require 'testdb.inc ' ;
8
8
9
- @$ dbh ->exec ('drop table atable ' );
10
- $ dbh ->exec ('create table atable (id integer not null, content blob sub_type 1 segment size 80) ' );
9
+ $ dbh ->exec ('recreate table atable (id integer not null, content blob sub_type 1 segment size 80) ' );
11
10
$ S = $ dbh ->prepare ('insert into atable (id, content) values (:id, :content) ' );
12
11
for ($ I = 1 ; $ I < 10 ; $ I ++) {
13
12
$ Params = [
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ PDO_Firebird: Bug #74462 Returns only NULLs for boolean fields
6
6
<?php
7
7
require 'testdb.inc ' ;
8
8
9
- @$ dbh ->exec ('drop table atable ' );
10
- $ dbh ->exec ('create table atable (id integer not null, abool boolean) ' );
9
+ $ dbh ->exec ('recreate table atable (id integer not null, abool boolean) ' );
11
10
$ dbh ->exec ('insert into atable (id, abool) values (1, true) ' );
12
11
$ dbh ->exec ('insert into atable (id, abool) values (2, false) ' );
13
12
$ dbh ->exec ('insert into atable (id, abool) values (3, null) ' );
You can’t perform that action at this time.
0 commit comments