From: | "Martin French" <Martin(dot)French(at)romaxtech(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org,pgadmin-support-owner(at)postgresql(dot)org |
Subject: | Re: pgAgent reports failure upon success |
Date: | 2012-07-09 09:31:51 |
Message-ID: | OF51DDE2FF.C7DC34FD-ON80257A36.00344A86-80257A36.00345AD3@LocalDomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
<html><body><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><font size="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(signed int 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><font size="2">> int GetLastResult()</font></tt><br><tt><font size="2">> {</font></tt><br><tt><font size="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><font size="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">=============================================
Romax Technology 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(at)romaxtech(dot)com
Website: www.romaxtech.com
=================================
================
Confidentiality Statement
This transmission is for the addressee only and contains information that is confidential and privileged.
Unless you are the named addressee, or authorised to receive it on behalf of the addressee
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please delete from your system and contact the sender. Thank you for your cooperation.
=================================================</font>
</body></html>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/html | 4.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Erickson | 2012-07-09 20:28:36 | Create or Update Function |
Previous Message | Martin French | 2012-07-09 09:30:21 | Re: pgAgent reports failure upon success |