View Issue Details

IDProjectCategoryView StatusLast Update
0000753XMB1Bugspublic2025-01-03 18:25
Reportermiqrogroove Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Target Version1.10.00 
Summary0000753: Why is Table Truncation Specified in Prune Code?
DescriptionThe logic of the Prune feature escapes me. Most of the business logic falls under:

    if (count($queryWhere) > 0)

Then it shows an else block with multiple table truncation. However, I don't think it's possible to reach the else block. Earlier in the script it has this fallback with a comment on it:

        $queryWhere[] = '1=0'; //Neither 'prune by' option was set, prune should abort.

Given that logic and the combinational context, I don't think the table truncation commands are needed or relevant anymore.

If that's all accurate, then the "prune should abort" code should be changed to an error template to be consistent with how the rest of the feature works.
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision
Git Commit

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-01-03 18:23 miqrogroove New Issue
2025-01-03 18:25 miqrogroove Description Updated