2000-08-27 19:46:06 +00:00
|
|
|
--TEST--
|
|
|
|
InterBase: connect, close and pconnect
|
|
|
|
--SKIPIF--
|
2003-04-25 15:43:28 +00:00
|
|
|
<?php include("skipif.inc"); ?>
|
2000-08-27 19:46:06 +00:00
|
|
|
--FILE--
|
2003-04-25 15:43:28 +00:00
|
|
|
<?php /* $Id$ */
|
2000-08-27 19:46:06 +00:00
|
|
|
|
2003-04-25 15:43:28 +00:00
|
|
|
require("interbase.inc");
|
2000-08-27 19:46:06 +00:00
|
|
|
|
|
|
|
ibase_connect($test_base);
|
|
|
|
out_table("test1");
|
|
|
|
ibase_close();
|
|
|
|
|
|
|
|
$con = ibase_connect($test_base);
|
|
|
|
$pcon1 = ibase_pconnect($test_base);
|
|
|
|
$pcon2 = ibase_pconnect($test_base);
|
|
|
|
ibase_close($con);
|
2004-04-01 16:25:51 +00:00
|
|
|
unset($con);
|
2000-08-27 19:46:06 +00:00
|
|
|
ibase_close($pcon1);
|
2004-04-01 16:25:51 +00:00
|
|
|
unset($pcon1);
|
2000-08-27 19:46:06 +00:00
|
|
|
|
|
|
|
out_table("test1");
|
|
|
|
|
|
|
|
ibase_close($pcon2);
|
2004-04-01 16:25:51 +00:00
|
|
|
unset($pcon2);
|
2000-08-27 19:46:06 +00:00
|
|
|
?>
|
|
|
|
--EXPECT--
|
|
|
|
--- test1 ---
|
2004-04-01 16:25:51 +00:00
|
|
|
1 test table not created with isql
|
2000-08-27 19:46:06 +00:00
|
|
|
---
|
|
|
|
--- test1 ---
|
2004-04-01 16:25:51 +00:00
|
|
|
1 test table not created with isql
|
2000-08-27 19:46:06 +00:00
|
|
|
---
|