mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00: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:
@@ -761,6 +761,7 @@
|
|||||||
|
|
||||||
function pgsqlRunPartitionScript($sTemplate)
|
function pgsqlRunPartitionScript($sTemplate)
|
||||||
{
|
{
|
||||||
|
global $aCMDResult;
|
||||||
$oDB =& getDB();
|
$oDB =& getDB();
|
||||||
|
|
||||||
$sSQL = 'select distinct partition from country_name';
|
$sSQL = 'select distinct partition from country_name';
|
||||||
|
|||||||
Reference in New Issue
Block a user