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

[email protected] (Adam Baratz)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    3985ddc495a386266f3dec67cd02d8877be67cc6
Author:    Adam Baratz <[email protected]>         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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.