Fixing synchronisation bug: can't open a transaction before calling MASTER_POS_WAIT...
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 22 Dec 2004 03:58:25 +0000 (03:58 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 22 Dec 2004 03:58:25 +0000 (03:58 +0000)
commitda7f1649dde18bc3898375b82a561ee8e4472e74
tree0af8da2aba07fde74ad3cba55f2d02d465c0e269
parenta3f1a5852bf6338970c6a8252e5cd4d6260e1420
Fixing synchronisation bug: can't open a transaction before calling MASTER_POS_WAIT(), because you get consistent reads. Instead, we commit any open transaction, then call doQuery() directly, thereby avoiding re-opening it.
includes/Database.php