From: Sarah Hoffmann Date: Sat, 26 Jan 2019 14:01:39 +0000 (+0100) Subject: set import_status when indexing only X-Git-Tag: v3.3.0~38 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/63781c49531a13f9e86768f21e39de998eae61aa?ds=sidebyside;hp=c822012aad75b975b89986077757853f9538e250 set import_status when indexing only Makes sure that things work as expected when running `--import-osmosis --no-index` and `--index` separately. Fixes #1284. --- diff --git a/utils/update.php b/utils/update.php index 3086a70b..f4decdf1 100644 --- a/utils/update.php +++ b/utils/update.php @@ -305,6 +305,8 @@ if ($aResult['index']) { } runWithEnv($sCmd, $aProcEnv); + + $oDB->query('update import_status set indexed = true'); } if ($aResult['update-address-levels']) {