mirror of
https://github.com/php/pecl-database-interbase.git
synced 2026-03-23 22:52:06 +01:00
Trim trailing whitespace in source code files
This commit is contained in:
@@ -46,7 +46,7 @@ if test "$PHP_INTERBASE" != "no"; then
|
||||
], [
|
||||
-L$IBASE_LIBDIR
|
||||
])
|
||||
|
||||
|
||||
PHP_ADD_LIBRARY_WITH_PATH($IBASE_LIBNAME, $IBASE_LIBDIR, INTERBASE_SHARED_LIBADD)
|
||||
PHP_ADD_INCLUDE($IBASE_INCDIR)
|
||||
fi
|
||||
|
||||
@@ -4,7 +4,7 @@ ARG_WITH("interbase", "InterBase support", "no");
|
||||
|
||||
if (PHP_INTERBASE != "no") {
|
||||
|
||||
if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE",
|
||||
if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE",
|
||||
PHP_PHP_BUILD + "\\include\\interbase;" + PHP_PHP_BUILD + "\\interbase\\include;" + PHP_INTERBASE) &&
|
||||
(CHECK_LIB("fbclient_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE) ||
|
||||
CHECK_LIB("gds32_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE))) {
|
||||
|
||||
@@ -14,7 +14,7 @@ function init_db()
|
||||
{
|
||||
global $test_base, $user, $password;
|
||||
|
||||
$test_db = ibase_query(IBASE_CREATE,
|
||||
$test_db = ibase_query(IBASE_CREATE,
|
||||
sprintf("CREATE SCHEMA '%s' USER '%s' PASSWORD '%s' DEFAULT CHARACTER SET %s",$test_base,
|
||||
$user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE'));
|
||||
$tr = ibase_trans($test_db);
|
||||
@@ -28,7 +28,7 @@ function init_db()
|
||||
function cleanup_db()
|
||||
{
|
||||
global $test_base;
|
||||
|
||||
|
||||
$r = ibase_connect($test_base);
|
||||
ibase_drop_db($r);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
if (!extension_loaded("interbase")) print "skip interbase extension not available";
|
||||
if (!extension_loaded("interbase")) print "skip interbase extension not available";
|
||||
require("interbase.inc");
|
||||
if(!@ibase_connect($test_base)){
|
||||
die("skip cannot connnect");
|
||||
|
||||
Reference in New Issue
Block a user