Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019729 | Openbravo ERP | Y. DBSourceManager | public | 2012-02-10 20:46 | 2012-03-02 15:36 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP9 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0019729: dbsm: Function- & Trigger-Standardisation should be made faster |
Description | That standardisation step i quite slow (i.e. 41s seconds) on a specific laptop.
The change planned in this issue reduces this time to around 26s on that same system (around 40% less) by rewriting one specific standardisation steps which changes end last system-provided 'END' line after the function body to read 'END <functionname/triggername>' for both the function & trigger standardisation.
That change does introduce 2 formal changes when applied to all PL-functions & -trigger present in pi.
Formal change: If the last line of the body does have trailing spaces those trailing spaces will be removed in the standardisation.
That change is deemed reasonable & acceptable compared to the speed-up which is achieved by the change.
|
Steps To Reproduce | Run update.database and check runtime of the standardisation step done during the model-loading.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-02-10 20:46 | shuehner | New Issue | |
2012-02-10 20:46 | shuehner | Assigned To | => shuehner |
2012-02-10 20:46 | shuehner | Modules | => Core |
2012-02-10 20:46 | shuehner | OBNetwork customer | => No |
2012-02-12 14:09 | hgbot | Checkin | |
2012-02-12 14:09 | hgbot | Note Added: 0045047 | |
2012-02-12 14:09 | hgbot | Status | new => resolved |
2012-02-12 14:09 | hgbot | Resolution | open => fixed |
2012-02-12 14:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/dbsm-main/rev/9ce40055b2c7acd41f87f29ed386e669a0e5c827 [^] |
2012-02-12 14:11 | hgbot | Checkin | |
2012-02-12 14:11 | hgbot | Note Added: 0045048 | |
2012-02-12 14:11 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/9ce40055b2c7acd41f87f29ed386e669a0e5c827 [^] => http://code.openbravo.com/erp/devel/pi/rev/42ab557adad4f03184fd0eef044034da90cfc763 [^] |
2012-03-01 14:08 | marvintm | Status | resolved => closed |
2012-03-02 15:36 | hudsonbot | Checkin | |
2012-03-02 15:36 | hudsonbot | Note Added: 0045831 | |
Notes |
|
(0045047)
|
hgbot
|
2012-02-12 14:09
|
|
Repository: erp/devel/dbsm-main
Changeset: 9ce40055b2c7acd41f87f29ed386e669a0e5c827
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Feb 10 20:48:17 2012 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/9ce40055b2c7acd41f87f29ed386e669a0e5c827 [^]
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
---
M src/org/apache/ddlutils/platform/postgresql/PostgrePLSQLFunctionStandarization.java
M src/org/apache/ddlutils/platform/postgresql/PostgrePLSQLTriggerStandarization.java
---
|
|
|
(0045048)
|
hgbot
|
2012-02-12 14:11
|
|
Repository: erp/devel/pi
Changeset: 42ab557adad4f03184fd0eef044034da90cfc763
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Feb 10 20:49:42 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/42ab557adad4f03184fd0eef044034da90cfc763 [^]
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.
---
M modules/org.openbravo.userinterface.selector/src-db/database/model/functions/OBUISEL_SYNCHRONIZE.xml
M src-db/database/lib/dbsourcemanager.jar
M src-db/database/model/functions/AD_UPDATE_TABLE_IDENTIFIER0.xml
---
|
|
|
|
|