]> git.pld-linux.org Git - packages/php.git/blame - php-5.3.7-bug-52104.patch
move php.1 manual to -program (link to actual php-cli)
[packages/php.git] / php-5.3.7-bug-52104.patch
CommitLineData
fb98beff
ER
1--- PHP_5_3/ext/pdo/pdo_stmt.c 2011/06/01 12:53:07 311710
2+++ PHP_5_3/ext/pdo/pdo_stmt.c 2011/06/01 13:23:25 311711
3@@ -349,7 +349,10 @@
4 /* if you prepare and then execute passing an array of params keyed by names,
5 * then this will trigger, and we don't want that */
6 if (param->paramno == -1) {
7- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Did not found column name '%s' in the defined columns; it will not be bound", param->name);
8+ char *tmp;
9+ spprintf(&tmp, 0, "Did not find column name '%s' in the defined columns; it will not be bound", param->name);
10+ pdo_raise_impl_error(stmt->dbh, stmt, "HY000", tmp TSRMLS_CC);
11+ efree(tmp);
12 }
13 }
14
This page took 0.020969 seconds and 4 git commands to generate.