Index: trunk/extensions/DataCenter/DataCenter.db.php |
— | — | @@ -514,6 +514,7 @@ |
515 | 515 | $tableName = self::getTableName( $category, $type ); |
516 | 516 | $columnName = self::getColumnName( $category, $type, $field ); |
517 | 517 | $dbr = wfGetDB( DB_SLAVE ); |
| 518 | + $tableName = $dbr->tablePrefix() . $tableName; |
518 | 519 | $res = $dbr->query( |
519 | 520 | "SHOW COLUMNS FROM {$tableName} LIKE '{$columnName}'", |
520 | 521 | __METHOD__ |