diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-06-15 11:13:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-06-15 11:13:20 +0000 |
commit | 24b8bc3489dc05252e0aec7d42a77dfad49938fd (patch) | |
tree | 7f432eae08d6c31400f5453d79fbee4ac1a49d85 /ext/pdo_pgsql/pgsql_driver.c | |
parent | 8fcd33ed18ebb6059aaacecdfebd883cbd5bcfa4 (diff) | |
download | php-git-24b8bc3489dc05252e0aec7d42a77dfad49938fd.tar.gz |
Removed the in_transaction handler for 5.3 to avoid BC break due to structure change
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
-rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index bdb6fb9d18..f9ec116107 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -497,15 +497,6 @@ static int pgsql_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) return pdo_pgsql_transaction_cmd("ROLLBACK", dbh TSRMLS_CC); } -static int pgsql_handle_in_transaction(pdo_dbh_t *dbh TSRMLS_DC) -{ - pdo_pgsql_db_handle *H; - - H = (pdo_pgsql_db_handle *)dbh->driver_data; - - return PQtransactionStatus(H->server); -} - /* {{{ proto string PDO::pgsqlCopyFromArray(string $table_name , array $rows [, string $delimiter [, string $null_as ] [, string $fields]) Returns true if the copy worked fine or false if error */ static PHP_METHOD(PDO, pgsqlCopyFromArray) @@ -1031,7 +1022,6 @@ static struct pdo_dbh_methods pgsql_methods = { pdo_pgsql_check_liveness, /* check_liveness */ pdo_pgsql_get_driver_methods, /* get_driver_methods */ NULL, - pgsql_handle_in_transaction, }; static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */ |