com php-src: Remove PHP5-specific code: ext/pdo/pdo_stmt.c

From: Date: Wed, 01 Mar 2017 21:27:26 +0000
Subject: com php-src: Remove PHP5-specific code: ext/pdo/pdo_stmt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-97206@lists.php.net to get a copy of this message
Commit: 3985ddc495a386266f3dec67cd02d8877be67cc6 Author: Adam Baratz <adambaratz@php.net> Wed, 1 Mar 2017 16:27:26 -0500 Parents: b20879348a40eca6cdb41c8b9eb78ecb4ce5cae2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3985ddc495a386266f3dec67cd02d8877be67cc6 Log: Remove PHP5-specific code Changed paths: M ext/pdo/pdo_stmt.c Diff: diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index fa52c23..d0e3d7a 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -223,17 +223,7 @@ int pdo_stmt_describe_columns(pdo_stmt_t *stmt) /* {{{ */ } } -#if 0 /* update the column index on named bound parameters */ - if (stmt->bound_params) { - struct pdo_bound_param_data *param; - - if (SUCCESS == zend_hash_find(stmt->bound_params, stmt->columns[col].name, - stmt->columns[col].namelen, (void**)&param)) { - param->paramno = col; - } - } -#endif if (stmt->bound_columns) { struct pdo_bound_param_data *param;

« previous php.cvs (#97206) next »