Commit ccb9c924 authored by catch's avatar catch

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment