details:   https://code.openbravo.com/erp/devel/pi/rev/42ab557adad4
changeset: 15457:42ab557adad4
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Fri Feb 10 20:49:42 2012 +0100
summary:   Fixed 19729: Speedup function- & trigger-standardization by around 
40%
Rewrite regex changing 'END' to 'END <function/trigger-name>' which is applied
to the last system-provided line after the function body.
This changes slightly the standardization so does introduce 2 formal changes
when applied to all files in pi.
- Formal change: If last line of function-body does contain trailing spaces,
then those are removed on export.database
Those formal changes are also directly committed to pi in this cset.

diffstat:

 
modules/org.openbravo.userinterface.selector/src-db/database/model/functions/OBUISEL_SYNCHRONIZE.xml
 |    2 +-
 src-db/database/lib/dbsourcemanager.jar                                        
                      |    0 
 src-db/database/model/functions/AD_UPDATE_TABLE_IDENTIFIER0.xml                
                      |    2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3a4b734b4b3f -r 42ab557adad4 
modules/org.openbravo.userinterface.selector/src-db/database/model/functions/OBUISEL_SYNCHRONIZE.xml
--- 
a/modules/org.openbravo.userinterface.selector/src-db/database/model/functions/OBUISEL_SYNCHRONIZE.xml
      Sun Feb 12 11:49:05 2012 +0100
+++ 
b/modules/org.openbravo.userinterface.selector/src-db/database/model/functions/OBUISEL_SYNCHRONIZE.xml
      Fri Feb 10 20:49:42 2012 +0100
@@ -219,7 +219,7 @@
       AND M1.AD_MODULE_ID = E.AD_MODULE_ID
       AND M.AD_LANGUAGE != M1.AD_LANGUAGE
       AND(OBUISEL_SELECTOR_FIELD_TRL.NAME<>e.NAME OR 
COALESCE(TO_CHAR(OBUISEL_SELECTOR_FIELD_TRL.Description), ' 
')<>COALESCE(TO_CHAR(e.Description), ' ')
-      OR COALESCE(TO_CHAR(OBUISEL_SELECTOR_FIELD_TRL.Help), ' 
')<>COALESCE(TO_CHAR(e.Help), ' ')));    
+      OR COALESCE(TO_CHAR(OBUISEL_SELECTOR_FIELD_TRL.Help), ' 
')<>COALESCE(TO_CHAR(e.Help), ' ')));
 END OBUISEL_SYNCHRONIZE
 ]]></body>
     </function>
diff -r 3a4b734b4b3f -r 42ab557adad4 src-db/database/lib/dbsourcemanager.jar
Binary file src-db/database/lib/dbsourcemanager.jar has changed
diff -r 3a4b734b4b3f -r 42ab557adad4 
src-db/database/model/functions/AD_UPDATE_TABLE_IDENTIFIER0.xml
--- a/src-db/database/model/functions/AD_UPDATE_TABLE_IDENTIFIER0.xml   Sun Feb 
12 11:49:05 2012 +0100
+++ b/src-db/database/model/functions/AD_UPDATE_TABLE_IDENTIFIER0.xml   Fri Feb 
10 20:49:42 2012 +0100
@@ -21,7 +21,7 @@
 * Contributor(s):  ______________________________________.
 ************************************************************************/
 BEGIN
-  AD_UPDATE_TABLE_IDENTIFIER(p_pinstance_id, 'N');  
+  AD_UPDATE_TABLE_IDENTIFIER(p_pinstance_id, 'N');
 END AD_UPDATE_TABLE_IDENTIFIER0
 ]]></body>
     </function>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to