Skip to content

Commit fa931e3

Browse files
committed
Port pdo_firebird
1 parent 804f6ee commit fa931e3

21 files changed

+42
-10
lines changed

ext/pdo_firebird/tests/bug_47415.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_48877.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: bug 48877 The "bindValue" and "bindParam" do not work for PDO Firebird if we use named parameters (:parameter).
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_53280.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: bug 53280 segfaults if query column count is less than param count
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_62024.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #62024 Cannot insert second row with null using parametrized query (Firebird PDO)
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_64037.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #64037 Firebird return wrong value for numeric field
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_72583.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_72931.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_73087.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: bug 73087 segfault binding blob parameter
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_74462.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: Bug #74462 Returns only NULLs for boolean fields
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_76488.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: Bug #76488 Memory leak when fetching a BLOB field
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_77863.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: Bug #76488 PDO Firebird does not support boolean datatype in input parameters
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_80521.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #80521 (Parameters with underscores no longer recognized)
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/bug_aaa.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: cursor should not be marked as opened on singleton statements
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/connect.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: connect/disconnect
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/ddl.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: DDL/transactions
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/dialect_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: support 1 sql dialect
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc');
57
if (strpos(getenv('PDO_FIREBIRD_TEST_DSN'), 'dialect=1')===false) {

ext/pdo_firebird/tests/execute.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: prepare/execute/binding
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/execute_block.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: support EXECUTE BLOCK
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc');
57
?>

ext/pdo_firebird/tests/ignore_parammarks.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: ingnore parameter marks in comments
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc');
57
?>

ext/pdo_firebird/tests/rowCount.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
PDO_Firebird: rowCount
3+
--EXTENSIONS--
4+
pdo_firebird
35
--SKIPIF--
46
<?php require('skipif.inc'); ?>
57
--ENV--

ext/pdo_firebird/tests/skipif.inc

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
<?php
2-
3-
if(!extension_loaded('pdo_firebird'))
4-
{
5-
die('skip: pdo_firebird not available');
2+
if (!getenv('PDO_FIREBIRD_TEST_DSN')) {
3+
die('skip: PDO_FIREBIRD_TEST_DSN must be set');
64
}
7-
elseif(!getenv('PDO_FIREBIRD_TEST_DSN'))
8-
{
9-
die('skip: PDO_FIREBIRD_TEST_DSN must be set');
10-
}
11-
12-
?>

0 commit comments

Comments
 (0)