Issue #1891728 by gielfeldt: Fixed DatabaseSchema_mysql()::getComment() does not work for targets other than 'default'.

8.0.x
catch 2013-02-15 12:04:55 +00:00
parent 4bf6431542
commit ccb9c924b0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Schema extends DatabaseSchema {
}
else {
$db_info = Database::getConnectionInfo();
$info['database'] = $db_info['default']['database'];
$info['database'] = $db_info[$this->connection->getTarget()]['database'];
$info['table'] = $table;
}
return $info;