Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: ... something in the environment?

by chexmix (Hermit)
on Feb 28, 2020 at 15:38 UTC ( #11113543=note: print w/replies, xml ) Need Help??

in reply to Re: ... something in the environment?
in thread ... something in the environment?

In case of failure, the subroutine returns the nature of the failure (in $action, if I recall correctly -- I'm home sick). In this case the transaction is rolled back, too.

The program is supposed to print the failure to an error log and quit.

  • Comment on Re^2: ... something in the environment?

Replies are listed 'Best First'.
Re^3: ... something in the environment?
by Veltro (Hermit) on Feb 28, 2020 at 16:02 UTC

    Ok, this is something you may need to verify. The reason why I asked is to be sure that the return values are valid SQL_INTEGER and SQL_VARCHAR. Usually the program writes back the values that it received by the bind instructions which are in this case undef. I'm not sure but I think that when the stored proc doesn't set them then undefs are returned and those may be invalid values for the type specified.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11113543]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-08-08 10:01 GMT
Find Nodes?
    Voting Booth?

    No recent polls found