jenkins-bot has submitted this change and it was merged.
Change subject: Fixed OracleUpdater::doPageRestrictionsPKUKFix prefix
......................................................................
Fixed OracleUpdater::doPageRestrictionsPKUKFix prefix
Previously OracleUpdater::doPageRestrictionsPKUKFix had the
database prefix hard-coded into the SQL query. This removes
the hard-coded value and replaces it with the actual configured
prefix.
Change-Id: If60f23af7fd238d4c91ebf25b095749345a2718d
---
M includes/installer/OracleUpdater.php
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/installer/OracleUpdater.php
b/includes/installer/OracleUpdater.php
index 56d9f21..be10e04 100644
--- a/includes/installer/OracleUpdater.php
+++ b/includes/installer/OracleUpdater.php
@@ -205,7 +205,9 @@
$meta = $this->db->query( 'SELECT column_name FROM
all_cons_columns WHERE owner = \'' .
strtoupper( $this->db->getDBname() ) .
- '\' AND constraint_name = \'MW_PAGE_RESTRICTIONS_PK\'
AND rownum = 1'
+ '\' AND constraint_name = \'' .
+ $this->db->tablePrefix() .
+ 'PAGE_RESTRICTIONS_PK\' AND rownum = 1'
);
$row = $meta->fetchRow();
if ( $row['column_name'] == 'PR_ID' ) {
--
To view, visit https://gerrit.wikimedia.org/r/65424
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If60f23af7fd238d4c91ebf25b095749345a2718d
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Freakolowsky <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: Waldir <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits