View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0020513 | mantisbt | code cleanup | public | 2016-01-13 17:42 | 2016-08-15 09:02 |
| Reporter | atrol | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Target Version | 1.2.20 | Fixed in Version | 1.2.20 | ||
| Summary | 0020513: Double fetch of same database column | ||||
| Description | The column "type" is fetched two times in the following statement The fix for it in Mantis is trivial. It's worth to mention that there might be a bug in ADOdb that can cause issues in certain circumstances. For the whole story have a look at | ||||
| Tags | No tags attached. | ||||
|
Removed the duplicated field in the SQL. Note: The second occurence of 'f.type' was introduced a long time ago (before 1.0.0), in commit MantisBT master dbd2e96b |
|
|
MantisBT: master-1.2.x 0d624abf 2016-01-14 02:07 Details Diff |
Do not fetch column twice in the same query Doing so with mssqlnative driver triggers a PHP NOTICE in ADOdb library, likely due to the use of associative fetch mode. Fixes 0020513 |
Affected Issues 0020513 |
|
| mod - core/custom_field_api.php | Diff File | ||
|
MantisBT: master ac3f577f 2016-01-14 02:07 Details Diff |
Do not fetch column twice in the same query Doing so with mssqlnative driver triggers a PHP NOTICE in ADOdb library, likely due to the use of associative fetch mode. Fixes 0020513 |
Affected Issues 0020513 |
|
| mod - core/custom_field_api.php | Diff File | ||