diff options
| author | Xinchen Hui <laruence@php.net> | 2012-08-02 12:55:05 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2012-08-02 12:55:05 +0800 |
| commit | 53c8612fe780a80fde64da118587e6096b16b595 (patch) | |
| tree | f2f341f887793277ca0792f3c1b07ab236fd0846 | |
| parent | 80520d0903b0726d3ce6121e2fd80438f9754468 (diff) | |
| download | php-git-53c8612fe780a80fde64da118587e6096b16b595.tar.gz | |
Fixed bug #62685 (Wrong return datatype in PDO::inTransaction())
| -rw-r--r-- | NEWS | 3 | ||||
| -rwxr-xr-x | ext/pdo/pdo_dbh.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2012, PHP 5.4.7 +- PDO: + . Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence) + - Reflection: . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result). (Laruence) diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index b4f383c94f..acdc0dd90d 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -700,7 +700,7 @@ static PHP_METHOD(PDO, inTransaction) RETURN_BOOL(dbh->in_txn); } - RETURN_LONG(dbh->methods->in_transaction(dbh TSRMLS_CC)); + RETURN_BOOL(dbh->methods->in_transaction(dbh TSRMLS_CC)); } /* }}} */ |
