mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 05:52:32 +03:00
pgsqlRunPartitionScript needs global $aCMDResult
function pgsqlRunPartitionScript was missing global $aCMDResult setup was failing with ... PHP Notice: Undefined variable: aCMDResult in /home/roles/nominatim/app/Nominatim/build/utils/setup.php on line 768 NOTICE: type "nearplace" does not exist, skipping .. ERROR: relation "location_area_large_0" already exists ERROR: pgsql returned with error code (3) pgsql returned with error code (3) Command exited with non-zero status 255
This commit is contained in:
parent
665de339e5
commit
ca92442601
@ -761,6 +761,7 @@
|
||||
|
||||
function pgsqlRunPartitionScript($sTemplate)
|
||||
{
|
||||
global $aCMDResult;
|
||||
$oDB =& getDB();
|
||||
|
||||
$sSQL = 'select distinct partition from country_name';
|
||||
|
Loading…
Reference in New Issue
Block a user