cvs: pear /MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php mysqli.php oci8.php pgsql.php sqlite.php
| From: | Lukas Smith | Date: | Sun, 18 Jun 2006 13:50:04 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php mysqli.php oci8.php pgsql.php sqlite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40797@lists.php.net to get a copy of this message | ||
lsmith Sun Jun 18 13:50:04 2006 UTC
Modified files:
/pear/MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php
mysqli.php oci8.php pgsql.php sqlite.php
Log:
- turned in_transaction into an integer
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/fbsql.php?r1=1.109&r2=1.110&diff_format=u Index: pear/MDB2/MDB2/Driver/fbsql.php diff -u pear/MDB2/MDB2/Driver/fbsql.php:1.109 pear/MDB2/MDB2/Driver/fbsql.php:1.110 --- pear/MDB2/MDB2/Driver/fbsql.php:1.109 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/fbsql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.109 2006/06/14 08:10:49 lsmith Exp $ +// $Id: fbsql.php,v 1.110 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -162,7 +162,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -191,7 +191,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -220,7 +220,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.168&r2=1.169&diff_format=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.168 pear/MDB2/MDB2/Driver/ibase.php:1.169 --- pear/MDB2/MDB2/Driver/ibase.php:1.168 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/ibase.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.168 2006/06/14 08:10:49 lsmith Exp $ +// $Id: ibase.php,v 1.169 2006/06/18 13:50:03 lsmith Exp $ /** * MDB2 FireBird/InterBase driver @@ -280,7 +280,7 @@ 'beginTransaction: could not start a transaction'); } $this->transaction_id = $result; - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -305,7 +305,7 @@ return $this->raiseError(null, null, null, 'commit: could not commit a transaction'); } - $this->in_transaction = false; + $this->in_transaction = 0; //$this->transaction_id = 0; return MDB2_OK; } @@ -331,7 +331,7 @@ return $this->raiseError(null, null, null, 'rollback: Could not rollback a pending transaction'); } - $this->in_transaction = false; + $this->in_transaction = 0; $this->transaction_id = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mssql.php?r1=1.127&r2=1.128&diff_format=u Index: pear/MDB2/MDB2/Driver/mssql.php diff -u pear/MDB2/MDB2/Driver/mssql.php:1.127 pear/MDB2/MDB2/Driver/mssql.php:1.128 --- pear/MDB2/MDB2/Driver/mssql.php:1.127 Thu Jun 15 05:38:06 2006 +++ pear/MDB2/MDB2/Driver/mssql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.127 2006/06/15 05:38:06 nrf Exp $ +// $Id: mssql.php,v 1.128 2006/06/18 13:50:03 lsmith Exp $ // // {{{ Class MDB2_Driver_mssql /** @@ -192,7 +192,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -217,7 +217,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -242,7 +242,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.129&r2=1.130&diff_format=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.129 pear/MDB2/MDB2/Driver/mysql.php:1.130 --- pear/MDB2/MDB2/Driver/mysql.php:1.129 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/mysql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.129 2006/06/14 08:10:49 lsmith Exp $ +// $Id: mysql.php,v 1.130 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -204,7 +204,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -237,7 +237,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -270,7 +270,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysqli.php?r1=1.107&r2=1.108&diff_format=u Index: pear/MDB2/MDB2/Driver/mysqli.php diff -u pear/MDB2/MDB2/Driver/mysqli.php:1.107 pear/MDB2/MDB2/Driver/mysqli.php:1.108 --- pear/MDB2/MDB2/Driver/mysqli.php:1.107 Wed Jun 14 08:10:28 2006 +++ pear/MDB2/MDB2/Driver/mysqli.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.107 2006/06/14 08:10:28 lsmith Exp $ +// $Id: mysqli.php,v 1.108 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -201,7 +201,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -234,7 +234,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -267,7 +267,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/oci8.php?r1=1.154&r2=1.155&diff_format=u Index: pear/MDB2/MDB2/Driver/oci8.php diff -u pear/MDB2/MDB2/Driver/oci8.php:1.154 pear/MDB2/MDB2/Driver/oci8.php:1.155 --- pear/MDB2/MDB2/Driver/oci8.php:1.154 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/oci8.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.154 2006/06/14 08:10:49 lsmith Exp $ +// $Id: oci8.php,v 1.155 2006/06/18 13:50:04 lsmith Exp $ /** * MDB2 OCI8 driver @@ -171,7 +171,7 @@ $this->destructor_registered = true; register_shutdown_function('MDB2_closeOpenTransactions'); } - $this->in_transaction = true; + $this->in_transaction = 1; ++$this->uncommitedqueries; return MDB2_OK; } @@ -204,7 +204,7 @@ } $this->uncommitedqueries = 0; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -236,7 +236,7 @@ } $this->uncommitedqueries = 0; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.132&r2=1.133&diff_format=u Index: pear/MDB2/MDB2/Driver/pgsql.php diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.132 pear/MDB2/MDB2/Driver/pgsql.php:1.133 --- pear/MDB2/MDB2/Driver/pgsql.php:1.132 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/pgsql.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.132 2006/06/14 08:10:49 lsmith Exp $ +// $Id: pgsql.php,v 1.133 2006/06/18 13:50:04 lsmith Exp $ /** * MDB2 PostGreSQL driver @@ -214,7 +214,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -239,7 +239,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -264,7 +264,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.118&r2=1.119&diff_format=u Index: pear/MDB2/MDB2/Driver/sqlite.php diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.118 pear/MDB2/MDB2/Driver/sqlite.php:1.119 --- pear/MDB2/MDB2/Driver/sqlite.php:1.118 Thu Jun 8 20:35:40 2006 +++ pear/MDB2/MDB2/Driver/sqlite.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.118 2006/06/08 20:35:40 lsmith Exp $ +// $Id: sqlite.php,v 1.119 2006/06/18 13:50:04 lsmith Exp $ // /** @@ -187,7 +187,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -213,7 +213,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -239,7 +239,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; }
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/fbsql.php?r1=1.109&r2=1.110&diff_format=u Index: pear/MDB2/MDB2/Driver/fbsql.php diff -u pear/MDB2/MDB2/Driver/fbsql.php:1.109 pear/MDB2/MDB2/Driver/fbsql.php:1.110 --- pear/MDB2/MDB2/Driver/fbsql.php:1.109 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/fbsql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.109 2006/06/14 08:10:49 lsmith Exp $ +// $Id: fbsql.php,v 1.110 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -162,7 +162,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -191,7 +191,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -220,7 +220,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.168&r2=1.169&diff_format=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.168 pear/MDB2/MDB2/Driver/ibase.php:1.169 --- pear/MDB2/MDB2/Driver/ibase.php:1.168 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/ibase.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.168 2006/06/14 08:10:49 lsmith Exp $ +// $Id: ibase.php,v 1.169 2006/06/18 13:50:03 lsmith Exp $ /** * MDB2 FireBird/InterBase driver @@ -280,7 +280,7 @@ 'beginTransaction: could not start a transaction'); } $this->transaction_id = $result; - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -305,7 +305,7 @@ return $this->raiseError(null, null, null, 'commit: could not commit a transaction'); } - $this->in_transaction = false; + $this->in_transaction = 0; //$this->transaction_id = 0; return MDB2_OK; } @@ -331,7 +331,7 @@ return $this->raiseError(null, null, null, 'rollback: Could not rollback a pending transaction'); } - $this->in_transaction = false; + $this->in_transaction = 0; $this->transaction_id = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mssql.php?r1=1.127&r2=1.128&diff_format=u Index: pear/MDB2/MDB2/Driver/mssql.php diff -u pear/MDB2/MDB2/Driver/mssql.php:1.127 pear/MDB2/MDB2/Driver/mssql.php:1.128 --- pear/MDB2/MDB2/Driver/mssql.php:1.127 Thu Jun 15 05:38:06 2006 +++ pear/MDB2/MDB2/Driver/mssql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.127 2006/06/15 05:38:06 nrf Exp $ +// $Id: mssql.php,v 1.128 2006/06/18 13:50:03 lsmith Exp $ // // {{{ Class MDB2_Driver_mssql /** @@ -192,7 +192,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -217,7 +217,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -242,7 +242,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.129&r2=1.130&diff_format=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.129 pear/MDB2/MDB2/Driver/mysql.php:1.130 --- pear/MDB2/MDB2/Driver/mysql.php:1.129 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/mysql.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.129 2006/06/14 08:10:49 lsmith Exp $ +// $Id: mysql.php,v 1.130 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -204,7 +204,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -237,7 +237,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -270,7 +270,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysqli.php?r1=1.107&r2=1.108&diff_format=u Index: pear/MDB2/MDB2/Driver/mysqli.php diff -u pear/MDB2/MDB2/Driver/mysqli.php:1.107 pear/MDB2/MDB2/Driver/mysqli.php:1.108 --- pear/MDB2/MDB2/Driver/mysqli.php:1.107 Wed Jun 14 08:10:28 2006 +++ pear/MDB2/MDB2/Driver/mysqli.php Sun Jun 18 13:50:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.107 2006/06/14 08:10:28 lsmith Exp $ +// $Id: mysqli.php,v 1.108 2006/06/18 13:50:03 lsmith Exp $ // /** @@ -201,7 +201,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -234,7 +234,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -267,7 +267,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/oci8.php?r1=1.154&r2=1.155&diff_format=u Index: pear/MDB2/MDB2/Driver/oci8.php diff -u pear/MDB2/MDB2/Driver/oci8.php:1.154 pear/MDB2/MDB2/Driver/oci8.php:1.155 --- pear/MDB2/MDB2/Driver/oci8.php:1.154 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/oci8.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.154 2006/06/14 08:10:49 lsmith Exp $ +// $Id: oci8.php,v 1.155 2006/06/18 13:50:04 lsmith Exp $ /** * MDB2 OCI8 driver @@ -171,7 +171,7 @@ $this->destructor_registered = true; register_shutdown_function('MDB2_closeOpenTransactions'); } - $this->in_transaction = true; + $this->in_transaction = 1; ++$this->uncommitedqueries; return MDB2_OK; } @@ -204,7 +204,7 @@ } $this->uncommitedqueries = 0; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -236,7 +236,7 @@ } $this->uncommitedqueries = 0; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.132&r2=1.133&diff_format=u Index: pear/MDB2/MDB2/Driver/pgsql.php diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.132 pear/MDB2/MDB2/Driver/pgsql.php:1.133 --- pear/MDB2/MDB2/Driver/pgsql.php:1.132 Wed Jun 14 08:10:49 2006 +++ pear/MDB2/MDB2/Driver/pgsql.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.132 2006/06/14 08:10:49 lsmith Exp $ +// $Id: pgsql.php,v 1.133 2006/06/18 13:50:04 lsmith Exp $ /** * MDB2 PostGreSQL driver @@ -214,7 +214,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -239,7 +239,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -264,7 +264,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.118&r2=1.119&diff_format=u Index: pear/MDB2/MDB2/Driver/sqlite.php diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.118 pear/MDB2/MDB2/Driver/sqlite.php:1.119 --- pear/MDB2/MDB2/Driver/sqlite.php:1.118 Thu Jun 8 20:35:40 2006 +++ pear/MDB2/MDB2/Driver/sqlite.php Sun Jun 18 13:50:04 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.118 2006/06/08 20:35:40 lsmith Exp $ +// $Id: sqlite.php,v 1.119 2006/06/18 13:50:04 lsmith Exp $ // /** @@ -187,7 +187,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = true; + $this->in_transaction = 1; return MDB2_OK; } @@ -213,7 +213,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; } @@ -239,7 +239,7 @@ if (PEAR::isError($result)) { return $result; } - $this->in_transaction = false; + $this->in_transaction = 0; return MDB2_OK; }