From 3985ddc495a386266f3dec67cd02d8877be67cc6 Mon Sep 17 00:00:00 2001 From: Adam Baratz Date: Wed, 1 Mar 2017 16:27:26 -0500 Subject: [PATCH] Remove PHP5-specific code --- ext/pdo/pdo_stmt.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index fa52c23301a..d0e3d7a41dd 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**)¶m)) { - param->paramno = col; - } - } -#endif if (stmt->bound_columns) { struct pdo_bound_param_data *param;