mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
Do not allow --no-index together with --import-osmosis-all
Fixes #1283.
This commit is contained in:
@@ -445,6 +445,11 @@ if ($aResult['import-osmosis'] || $aResult['import-osmosis-all']) {
|
|||||||
|
|
||||||
$sSQL = 'update import_status set indexed = true';
|
$sSQL = 'update import_status set indexed = true';
|
||||||
$oDB->query($sSQL);
|
$oDB->query($sSQL);
|
||||||
|
} else {
|
||||||
|
if ($aResult['import-osmosis-all']) {
|
||||||
|
echo "Error: --no-index cannot be used with continuous imports (--import-osmosis-all).\n";
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$fDuration = time() - $fStartTime;
|
$fDuration = time() - $fStartTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user