Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009547
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2009-06-18 16:192009-06-22 07:08
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version2.40MP7
StatusclosedFix in branch2.40Fixed in SCM revision1e1a9652a6d7
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009547: Add feature to ignore the value '%' in select which use like

DescriptionThe default value for a lot of search fields in openbravo is '%'. When this value is used with like this filter like '%' is redundant and should be removed to increase performance. Especially in combination with the c_ignore_accent function this can lead to a huge performance improvement.

Proposed SolutionAdd a new optional attribute to the parameter definition of xsql files. When not specified then the generated should be identical to the state now. When the new attribute is specified with i.e. the value '%', then at runtime when the filter is '%' the parameter should be treated as "" (and is automatically omitted from the query).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0009545 closedshuehner Add feature to ignore the value '%' in select which use like 

-  Notes
(0017463)
hgbot (developer)
2009-06-19 12:04

Repository: erp/stable/2.40
Changeset: 1e1a9652a6d7324ac35ff2ca6ca9b93d6074906f
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Jun 18 16:24:33 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/1e1a9652a6d7324ac35ff2ca6ca9b93d6074906f [^]

Fixed 9547: New feature for Sqlc: ignoreValues
- This adds a new optional attribute to parameter tags in xsql files
- Behavior is unchanged when not specifying this attribute
- Reformat Sqlc to be more similar to pi

---
M src-core/src/org/openbravo/data/Parameter.java
M src-core/src/org/openbravo/data/Sql.java
M src-core/src/org/openbravo/data/Sqlc.java
---
(0017496)
sureshbabu (reporter)
2009-06-22 07:08

Tested working fine

- Issue History
Date Modified Username Field Change
2009-06-18 16:20 shuehner Type feature request => backport
2009-06-18 16:20 shuehner fix_in_branch => 2.40
2009-06-19 12:04 hgbot Checkin
2009-06-19 12:04 hgbot Note Added: 0017463
2009-06-19 12:04 hgbot Status scheduled => resolved
2009-06-19 12:04 hgbot Resolution open => fixed
2009-06-19 12:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/1e1a9652a6d7324ac35ff2ca6ca9b93d6074906f [^]
2009-06-22 07:08 sureshbabu Status resolved => closed
2009-06-22 07:08 sureshbabu Note Added: 0017496
2009-06-22 07:08 sureshbabu Fixed in Version => 2.40MP7


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker