Commit 8db6d1f2 authored by webchick's avatar webchick

Issue #2343213 by alexpott: Fixed SQLBase::mapjoinable does not support SQLite.

parent 7a78df95
......@@ -204,8 +204,10 @@ protected function mapJoinable() {
$id_map_database_options = $id_map->getDatabase()->getConnectionOptions();
$source_database_options = $this->getDatabase()->getConnectionOptions();
foreach (array('username', 'password', 'host', 'port', 'namespace', 'driver') as $key) {
if ($id_map_database_options[$key] != $source_database_options[$key]) {
return FALSE;
if (isset($source_database_options[$key])) {
if ($id_map_database_options[$key] != $source_database_options[$key]) {
return FALSE;
}
}
}
return TRUE;
......
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