diff options
author | Marcus Boerger <helly@php.net> | 2005-09-29 19:57:13 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-09-29 19:57:13 +0000 |
commit | b47525e508e9b09d5de65a00429028c3a4df3597 (patch) | |
tree | eb6fed4a139b278f346e79856cc95ffe2ef23a6c /ext/pdo_mysql/mysql_statement.c | |
parent | 941ac55d2f380fe66733f754071d2d4f103a5728 (diff) | |
download | php-git-b47525e508e9b09d5de65a00429028c3a4df3597.tar.gz |
- TSRM fix
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
-rwxr-xr-x | ext/pdo_mysql/mysql_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c index 6db1ea29bc..f48f6da9a1 100755 --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@ -323,7 +323,7 @@ static int pdo_mysql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_da Z_STRLEN_P(param->parameter) = php_stream_copy_to_mem(stm, &Z_STRVAL_P(param->parameter), PHP_STREAM_COPY_ALL, 0); } else { - pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource"); + pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC); return 0; } } |