Skip to content

Commit 17440b6

Browse files
committed
Port odbc
1 parent fef6080 commit 17440b6

22 files changed

+42
-2
lines changed

ext/odbc/tests/bug44618.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #44618 (Fetching may rely on uninitialized data)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug46050.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #46050 (odbc_next_result corrupts prepared resource)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug47803.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #47803 Executing prepared statements is successful only for the first two statements
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug60616.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_exec(): Getting accurate unicode data from query
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
<?php

ext/odbc/tests/bug68087.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_exec(): Getting accurate date data from query
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug69354.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #69354 Incorrect use of SQLColAttributes with ODBC 3.0
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug69975.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug71171.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #71171 odbc_fetch_array generates SIGFAULT, variant 0
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug73448.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73448 odbc_errormsg returns trash, always 513 bytes
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug73725.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #73725 Unable to retrieve value of varchar(max) type
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug78470.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug80147.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #80147 (BINARY strings may not be properly zero-terminated)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug80152.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #80152 (odbc_execute() moves internal pointer of $params)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/bug80592.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #80592 (all floats are the same in ODBC parameters)
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/odbc_columnprivileges_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_columnprivileges(): Basic test
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/odbc_columns_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_columns(): Basic test
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/odbc_data_source_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_data_source(): Basic test
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php
57
include 'skipif.inc';

ext/odbc/tests/odbc_exec_001.phpt

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

ext/odbc/tests/odbc_exec_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_exec(): Getting data from query
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/odbc_free_result_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_free_result(): Basic test
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/odbc_tables_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
odbc_tables(): Basic test
3+
--EXTENSIONS--
4+
odbc
35
--SKIPIF--
46
<?php include 'skipif.inc'; ?>
57
--FILE--

ext/odbc/tests/skipif.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
if (!extension_loaded('odbc')) die('skip odbc extension not loaded');
4-
53
include 'config.inc';
64

75
$conn = @odbc_connect($dsn, $user, $pass);

0 commit comments

Comments
 (0)