From:             jbarros at mail dot com
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  PDO_MySQL docs unclear about transaction safety

Description:
------------
http://www.php.net/manual/en/ref.pdo-mysql.php claims that MySQL tables
are not transaction-safe by default; however, whether a table is
transaction-safe depends on the storage engine used.  The distinction is
unclear and may mislead readers.

Current Wording
===============
Beware: MySQL tables do not support transactions by default. When writing
transactional database code, MySQL will pretend that a transaction was
initiated successfully, even when no transactional support is present. In
addition, any DDL queries issued will implicitly commit any pending
transactions.

Improved Wording
================
Beware: Some MySQL storage engines do not support transactions. When
writing transactional database code on tables that don't support them,
MySQL will pretend that a transaction was initiated successfully. In
addition, any DDL queries issued will implicitly commit any pending
transactions.


-- 
Edit bug report at http://bugs.php.net/?id=35417&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35417&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35417&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35417&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35417&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35417&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35417&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35417&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35417&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35417&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35417&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35417&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35417&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35417&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35417&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35417&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35417&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35417&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35417&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35417&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35417&r=mysqlcfg

Reply via email to