Skip to content
Snippets Groups Projects
Commit ccb9c924 authored by catch's avatar catch
Browse files

Issue #1891728 by gielfeldt: Fixed DatabaseSchema_mysql()::getComment() does...

Issue #1891728 by gielfeldt: Fixed DatabaseSchema_mysql()::getComment() does not work for targets other than 'default'.
parent 4bf64315
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -49,7 +49,7 @@ protected function getPrefixInfo($table = 'default', $add_prefix = TRUE) {
}
else {
$db_info = Database::getConnectionInfo();
$info['database'] = $db_info['default']['database'];
$info['database'] = $db_info[$this->connection->getTarget()]['database'];
$info['table'] = $table;
}
return $info;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment