Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 21159
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: thomas.kestler [...] objective.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.17
Fixed in: (no value)



Subject: exit status $? lost after DBI-connect to ORACLE
DBD-Oracle-1.17 (64bit) DBI-1.50 AIX 5.3 Perl 5.8.6 64 Bit After DBI-connect() the exit status $? is wrong for calls to system function. $dbh=DBI->connect("DBI:Oracle:","/","",); system("echo hallo "); printf("testb >>8 [%s]\n",$?>>8); Prints: testb >>8 [72057594037927935] This is 64bit integer value for -1. See also bug #16548, similar, but not same. Possibly related to signal handler. Thomas
Are you still haveing problems with this?
From: thomas.kestler [...] objective.de
Hi, we never found a solution for this, but worked around it. Guess its a 64-bit issue. -Thomas On Di. 12. Dez. 2006, 11:44:39, PYTHIAN wrote: Show quoted text
> Are you still haveing problems with this?
Could you post the Work around with some code examples and I will add them to the read-me? Yes I think it is a 64 bit issue there are alot of them out there. What we need is a true 64 bit perl to drive this forward. cheers
From: thomas.kestler [...] objective.de
Our workaround was to write the exit code of system-ed external program to a file and then read this file (pretty dumb, yes). So we had to wrap each external program with a shell script that writes $? to a file (can't remember how we gave it a unique file name). Anyway, it was a dumb workaround, not worth any notice in a serious README :-) On Di. 12. Dez. 2006, 11:54:21, PYTHIAN wrote: Show quoted text
> Could you post the Work around with some code examples and I will add > them to the read-me? > > Yes I think it is a 64 bit issue there are alot of them out there. > What we need is a true 64 bit perl to drive this forward. > > cheers
Ok I will mark it as resolved for now.