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:
IrlJidel 2016-07-14 19:49:58 +01:00 committed by GitHub
parent 665de339e5
commit ca92442601

View File

@ -761,6 +761,7 @@
function pgsqlRunPartitionScript($sTemplate)
{
global $aCMDResult;
$oDB =& getDB();
$sSQL = 'select distinct partition from country_name';