details:   https://code.openbravo.com/erp/devel/pi/rev/db7d0b968a64
changeset: 34207:db7d0b968a64
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Jun 15 10:13:26 2018 +0200
summary:   fixed issue 38765: ant version sent to heartbeat is not updated

  The ant version sent to heartbeat was calculated on install.source and never
  updated afterwards.

  Now it gets updated after each build (on update.database), this should add no
  overhead as ad_system_info was already updated anyway to set last time build
  has been performed.

diffstat:

 src-db/database/build.xml |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 1062e250a410 -r db7d0b968a64 src-db/database/build.xml
--- a/src-db/database/build.xml Fri Jun 15 09:30:37 2018 +0200
+++ b/src-db/database/build.xml Fri Jun 15 10:13:26 2018 +0200
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2017 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2018 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -199,8 +199,8 @@
         </fileset>
       </classpath>
       <transaction>
-          UPDATE AD_SYSTEM_INFO SET LAST_DBUPDATE=NOW()
-        </transaction>
+          UPDATE AD_SYSTEM_INFO SET LAST_DBUPDATE = NOW(), ANT_VERSION = 
SUBSTR('${ant.version}', 1, 60)
+      </transaction>
     </sql>
   </target>
 </project>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to