Re: pgAgent reports failure upon success - Mailing list pgadmin-support
From | Martin French |
---|---|
Subject | Re: pgAgent reports failure upon success |
Date | |
Msg-id | OF51DDE2FF.C7DC34FD-ON80257A36.00344A86-80257A36.00345AD3@LocalDomain Whole thread Raw |
In response to | Re: pgAgent reports failure upon success (Dave Page <dpage@pgadmin.org>) |
List | pgadmin-support |
<p><tt><font size="2">Tree Diff.</font></tt><br /><br /><br /><tt><font size="2"> diff -r pgAgent-3.2.1-Source pgAgent-3.2.2-Source</font></tt><br/><tt><font size="2">diff -r pgAgent-3.2.1-Source/connection.cpp pgAgent-3.2.2-Source/connection.cpp</font></tt><br/><tt><font size="2">28a29</font></tt><br /><tt><font size="2">> lastStatus = 0;</font></tt><br /><tt><font size="2">339a341</font></tt><br /><tt><font size="2">> {</font></tt><br/><tt><font size="2">340a343,344</font></tt><br /><tt><font size="2">> conn->SetLastResult(0);</font></tt><br/><tt><font size="2">> }</font></tt><br /><tt><font size="2">344a349</font></tt><br/><tt><font size="2">> conn->SetLastResult(-1);</font></tt><br/><tt><font size="2">349a355</font></tt><br /><tt><font size="2">> {</font></tt><br/><tt><font size="2">351c357,358</font></tt><br /><tt><font size="2"><</font></tt><br /><tt><font size="2">---</font></tt><br/><tt><font size="2">> conn->SetLastResult(-1);</font></tt><br /><tt><fontsize="2">> }</font></tt><br /><tt><font size="2">diff -r pgAgent-3.2.1-Source/include/connection.h pgAgent-3.2.2-Source/include/connection.h</font></tt><br/><tt><font size="2">54c54,61</font></tt><br /><tt><font size="2"><</font></tt><br/><tt><font size="2">---</font></tt><br /><tt><font size="2">> void SetLastResult(signedint result )</font></tt><br /><tt><font size="2">> {</font></tt><br /><tt><font size="2">> lastStatus = result;</font></tt><br /><tt><font size="2">> }</font></tt><br /><tt><fontsize="2">> int GetLastResult()</font></tt><br /><tt><font size="2">> {</font></tt><br /><tt><fontsize="2">> return lastStatus;</font></tt><br /><tt><font size="2">> }</font></tt><br/><tt><font size="2">72a80</font></tt><br /><tt><font size="2">> signed int lastStatus;</font></tt><br/><tt><font size="2">diff -r pgAgent-3.2.1-Source/job.cpp pgAgent-3.2.2-Source/job.cpp</font></tt><br/><tt><font size="2">140c140</font></tt><br /><tt><font size="2">< rc = stepConn->ExecuteVoid(steps->GetString(wxT("jstcode")));</font></tt><br /><tt><fontsize="2">---</font></tt><br /><tt><font size="2">> stepConn->ExecuteVoid(steps->GetString(wxT("jstcode")));</font></tt><br/><tt><font size="2">141a142</font></tt><br/><tt><font size="2">> rc = stepConn->GetLastResult();</font></tt><br/><font face="sans-serif">============================================= RomaxTechnology Limited Rutherford House Nottingham Science & Technology Park Nottingham, NG7 2PZ England Telephone numbers:+44 (0)115 951 88 00 (main) For other office locations see: http://www.romaxtech.com/Contact ================================================ E-mail: info@romaxtech.com Website: www.romaxtech.com ================================================= Confidentiality Statement This transmission is for the addressee only andcontains information that is confidential and privileged. Unless you are the named addressee, or authorised to receiveit on behalf of the addressee you may not copy or use it, or disclose it to anyone else. If you have received thistransmission in error please delete from your system and contact the sender. Thank you for your cooperation. =================================================</font>
pgadmin-support by date: