Issue #1891728 by gielfeldt: Fixed DatabaseSchema_mysql()::getComment() does not work for targets other than 'default'.
parent
4bf6431542
commit
ccb9c924b0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue