Bug #38824 Unused memory in sp_handler_t::foffset, in stored procedures
Submitted: 15 Aug 2008 16:20 Modified: 11 Sep 2008 19:28
Reporter: Marc Alff Email Updates:
Status: Closed
Category:Server: SP Severity:S5 (Performance)
Version:5.0 and up OS:Any
Assigned to: Marc Alff Target Version:
Triage: D4 (Minor) / R1 (None/Negligible) / E1 (None/Negligible)

[15 Aug 2008 16:20] Marc Alff
Description:
The member sp_handler_t::foffset is not used,
and should be removed.

How to repeat:
Code review
[15 Aug 2008 17:32] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/51757

2769 Marc Alff	2008-08-15
      Bug#38824 (Unused memory in sp_handler_t::foffset, in stored procedures)
      
      This is a minor code cleanup, to remove dead code in stored procedures.
      
      Removed:
      - unused member sp_handler_t::foffset
      - unused parameter f in push_handler()
      - unused parameter fp in found_handler(),
      adjusted the calling code.
[15 Aug 2008 17:35] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/51758

2769 Marc Alff	2008-08-15
      Bug#38824 (Unused memory in sp_handler_t::foffset, in stored procedures)
      
      This is a minor code cleanup, to remove dead code in stored procedures.
      
      Removed:
      - unused member sp_handler_t::foffset
      - unused parameter f in push_handler()
      - unused parameter fp in found_handler(),
      adjusted the calling code.
[11 Sep 2008 19:28] Paul DuBois
No user-visible change. No changelog entry needed.
[14 Sep 2008 1:34] Bugs System
Pushed into 6.0.7-alpha  (revid:marc.alff@sun.com-20080815173150-s0t9eoo5flb2886q)
(version source revid:timothy.smith@sun.com-20080813081634-s8rre51iveicu311) (pib:3)