  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: mysql.php 1290 2007-03-01 19:36:08Z hpdl $ |
| |
| 3 | + | $Id: mysql.php 1293 2007-03-02 00:07:08Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
205 | 205 | | return mysql_affected_rows($this->link); |
| |
206 | 206 | | } |
| |
207 | 207 | | |
  |
208 | | - | function startTransaction($logging = false) { |
| |
209 | | - | if ($logging === true) { |
| |
210 | | - | $this->logging_transaction = true; |
| |
211 | | - | } |
| |
| 208 | + | function startTransaction() { |
| |
| 209 | + | $this->logging_transaction = true; |
  |
212 | 210 | | |
| |
213 | 211 | | if ($this->use_transactions === true) { |
| |
214 | 212 | | return $this->simpleQuery('start transaction'); |