mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
test fixes
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
odbc_exec(): Getting accurate unicode data from query
|
||||
--SKIPIF--
|
||||
<?php include 'skipif.inc'; ?>
|
||||
<?php
|
||||
if ("unixODBC" != ODBC_TYPE) {
|
||||
die("skip ODBC_TYPE != unixODBC");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
odbc_exec(): Getting accurate date data from query
|
||||
--SKIPIF--
|
||||
<?php include 'skipif.inc'; ?>
|
||||
<?php
|
||||
if ("unixODBC" != ODBC_TYPE) {
|
||||
die("skip ODBC_TYPE != unixODBC");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
odbc_exec(): Basic test
|
||||
--SKIPIF--
|
||||
<?php include 'skipif.inc'; ?>
|
||||
<?php
|
||||
if ("unixODBC" != ODBC_TYPE) {
|
||||
die("skip ODBC_TYPE != unixODBC");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ $conn = odbc_connect($dsn, $user, $pass);
|
||||
|
||||
odbc_exec($conn, 'CREATE DATABASE odbcTEST');
|
||||
|
||||
odbc_exec($conn, 'CREATE TABLE FOO (TEST INT)');
|
||||
odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
|
||||
odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
|
||||
|
||||
odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
|
||||
|
||||
Reference in New Issue
Block a user