Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #7883 Duplicate declaration of $postions array in MDB2::prepare()
Submitted: 2006-06-13 08:04 UTC
From: LiveFreeAndRoam at gmail dot com Assigned: lsmith
Status: Closed Package: MDB2 (version 2.0.3)
PHP Version: 4.4.2 OS: WXP Pro
Roadmaps: (Not assigned)    
Subscription  


 [2006-06-13 08:04 UTC] LiveFreeAndRoam at gmail dot com (Matt)
Description: ------------ In the function declaration, notice the duplicate declarations, highlighted below. Not serious, but helping to keep the code tidy. function &prepare($query, $types = null, $result_types = null, $lobs = array()) { $is_manip = ($result_types === MDB2_PREPARE_MANIP); $offset = $this->offset; $limit = $this->limit; $this->offset = $this->limit = 0; $this->debug($query, 'prepare', $is_manip); >>>> $positions = array(); $placeholder_type_guess = $placeholder_type = null; $question = '?'; $colon = ':'; >>>> $positions = array(); $position = 0; Test script: --------------- Not applicable. Expected result: ---------------- Not applicable. Actual result: -------------- Not applicable.

Comments

 [2006-06-13 08:08 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!