Last modified: 2014-02-12 23:35:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48134, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46134 - filearchive mysql queries are not replication safe
filearchive mysql queries are not replication safe
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-14 18:27 UTC by Asher Feldman
Modified: 2014-02-12 23:35 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Asher Feldman 2013-03-14 18:27:48 UTC
130314 18:20:51 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: INSERT /* LocalFileDeleteBatch::doDBInserts */  INTO `filearchive` (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp,fa_sha1) SELECT  'deleted',CASE WHEN img_sha1='' THEN '' ELSE CONCAT(img_sha1,'.jpg') END,'6923','20130314180657','([....file metadata....]',0,img_name,NULL,img_size,img_width,img_height,img_metadata,im...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links