Skip to content

Commit a5bb371

Browse files
committed
test fixes
1 parent f29c98c commit a5bb371

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

ext/odbc/tests/bug60616.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
odbc_exec(): Getting accurate unicode data from query
33
--SKIPIF--
44
<?php include 'skipif.inc'; ?>
5+
<?php
6+
if ("unixODBC" != ODBC_TYPE) {
7+
die("skip ODBC_TYPE != unixODBC");
8+
}
9+
?>
510
--FILE--
611
<?php
712

ext/odbc/tests/bug68087.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
odbc_exec(): Getting accurate date data from query
33
--SKIPIF--
44
<?php include 'skipif.inc'; ?>
5+
<?php
6+
if ("unixODBC" != ODBC_TYPE) {
7+
die("skip ODBC_TYPE != unixODBC");
8+
}
9+
?>
510
--FILE--
611
<?php
712

ext/odbc/tests/odbc_exec_001.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
odbc_exec(): Basic test
33
--SKIPIF--
44
<?php include 'skipif.inc'; ?>
5+
<?php
6+
if ("unixODBC" != ODBC_TYPE) {
7+
die("skip ODBC_TYPE != unixODBC");
8+
}
9+
?>
510
--FILE--
611
<?php
712

ext/odbc/tests/odbc_free_result_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $conn = odbc_connect($dsn, $user, $pass);
1111

1212
odbc_exec($conn, 'CREATE DATABASE odbcTEST');
1313

14-
odbc_exec($conn, 'CREATE TABLE FOO (TEST INT)');
14+
odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
1515
odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
1616

1717
odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');

0 commit comments

Comments
 (0)