View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014765 | mantisbt | sql | public | 2012-10-03 04:20 | 2014-09-23 18:05 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.12 | ||||
Target Version | 1.2.12 | Fixed in Version | 1.2.12 | ||
Summary | 0014765: Usage of db_query in custom fields api | ||||
Description | db_query_bound should be called instead. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 6e53cd26 2012-10-02 04:28 Details Diff |
Custom fields api - optimize and use db_query_bound Replaces all uses of db_query() by db_query_bound() in the API. Some SQL queries were rewritten in a cleaner and more efficient way. custom_field_update() was greatly simplified by use of a foreach loop instead of nearly identical code blocks for processing of each field to update. Fixes 0014765, 0014766 |
Affected Issues 0014765, 0014766 |
|
mod - core/custom_field_api.php | Diff File | ||
MantisBT: master da782868 2012-10-02 04:28 Details Diff |
Custom fields api - optimize and use db_query_bound Replaces all uses of db_query() by db_query_bound() in the API. Some SQL queries were rewritten in a cleaner and more efficient way. custom_field_update() was greatly simplified by use of a foreach loop instead of nearly identical code blocks for processing of each field to update. Fixes 0014765, 0014766 |
Affected Issues 0014765, 0014766 |
|
mod - core/custom_field_api.php | Diff File |