Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by chexmix (Hermit)
on Feb 28, 2020 at 15:38 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found