Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2258,6 +2258,10 @@ |
2259 | 2259 | * Returns an appropriately quoted sequence value for inserting a new row. |
2260 | 2260 | * MySQL has autoincrement fields, so this is just NULL. But the PostgreSQL |
2261 | 2261 | * subclass will return an integer, and save the value for insertId() |
| 2262 | + * |
| 2263 | + * Any implementation of this function should *not* involve reusing |
| 2264 | + * sequence numbers created for rolled-back transactions. |
| 2265 | + * See http://bugs.mysql.com/bug.php?id=30767 for details. |
2262 | 2266 | */ |
2263 | 2267 | function nextSequenceValue( $seqName ) { |
2264 | 2268 | return null; |