From: steveh at brendata dot co dot uk
Operating system: Windows NT4 SP6
PHP version: 4.3.1
PHP Bug Type: DBX related
Bug description: dbx oracle create table gives execution time exceeded
When the following script is run it produces an execution timeout (30
seconds exceeded), even though the table is actually created.
<?
function connect(){
// This function handles all connects to the oracle db
$user = "SA";
$pass = "SAPASSWORD";
$db_name = "docdb.brendata";
$link = dbx_connect(DBX_OCI8, "", $db_name, $user, $pass)
or die("Could not connect");
return $link;
}
function TableForActions() {
$Result='create table I_ACTIONS ('.
'Record varchar2(255)'.
',ActivityType varchar2(50)'.
',TaskDescription CLOB'.
',Document varchar2(50)'.
',TargetDate varchar2(20)'.
',AffectedProcess varchar2(50)'.
',CustomerRequestNumber varchar2(50)'.
',ContractManager_LDAP varchar2(50)'.
',CustomerNotification varchar2(50)'.
',CustomerApproval varchar2(50)'.
',CustomerNotificationDate varchar2(20)'.
',SalesMarketing_LDAP varchar2(50)'.
',SalesMarketingNotification varchar2(50)'.
',SalesMarketingNotificationDate varchar2(20)'.
',ResponsiblePerson_LDAP varchar2(50)'.
',CompletedDate varchar2(20)'.
')';
return $Result; }
$result = dbx_query(connect(),TableForActions());
?>
--
Edit bug report at http://bugs.php.net/?id=22586&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22586&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22586&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22586&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22586&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22586&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22586&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22586&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22586&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22586&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22586&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22586&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22586&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22586&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22586&r=gnused