Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/336739 )

Change subject: Fix transaction isolation level
......................................................................

Fix transaction isolation level

https://dev.mysql.com/doc/refman/5.7/en/innodb-locks-set.html says
that in an innoDB table, isolation level READ COMMITTED should mean
no locks for INSERT INTO... SELECT statements.

Bug: T157600
Change-Id: Ib52f8ba2851d664fe8d045eff113d70454196f9c
---
M silverpop_export/update.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/tools 
refs/changes/39/336739/1

diff --git a/silverpop_export/update.py b/silverpop_export/update.py
index d2bebd7..2d2302e 100644
--- a/silverpop_export/update.py
+++ b/silverpop_export/update.py
@@ -16,7 +16,7 @@
 
     config = process.globals.get_config()
 
-    prefix = "SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;-- 
Silverpop Export Script, %s" % file
+    prefix = "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;-- 
Silverpop Export Script, %s" % file
     script_path = os.path.dirname(__file__)
     qbuf = [prefix]
     queries = []

-- 
To view, visit https://gerrit.wikimedia.org/r/336739
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib52f8ba2851d664fe8d045eff113d70454196f9c
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/tools
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to