dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06927cd
)
Add missing addQuotes() call to masterPosWait()
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 8 Aug 2016 19:36:18 +0000
(12:36 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 8 Aug 2016 19:36:18 +0000
(12:36 -0700)
Change-Id: Ic7f35920fe10d99b63fdff23dc6e3f7cd4c7ca8b
includes/db/DatabaseMysqlBase.php
patch
|
blob
|
history
diff --git
a/includes/db/DatabaseMysqlBase.php
b/includes/db/DatabaseMysqlBase.php
index
a6f8c31
..
ee84224
100644
(file)
--- a/
includes/db/DatabaseMysqlBase.php
+++ b/
includes/db/DatabaseMysqlBase.php
@@
-798,7
+798,7
@@
abstract class DatabaseMysqlBase extends Database {
// Call doQuery() directly, to avoid opening a transaction if DBO_TRX is set
if ( $this->useGTIDs && $pos->gtids ) {
// Wait on the GTID set (MariaDB only)
- $gtidArg =
implode( ',', $pos->gtids
);
+ $gtidArg =
$this->addQuotes( implode( ',', $pos->gtids )
);
$res = $this->doQuery( "SELECT MASTER_GTID_WAIT($gtidArg, $timeout)" );
} else {
// Wait on the binlog coordinates