From: Eric Stadtherr Date: Sun, 22 Jul 2018 03:53:41 +0000 (-0600) Subject: fix omitted initialization X-Git-Tag: v3.2.0~36^2~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/13efedde34b65c368ab513f7fb04e34e3fc5bc58?hp=c1beefd543974541f265d0f8df3a402d0e7a23e5 fix omitted initialization --- diff --git a/utils/setup.php b/utils/setup.php index b71e07e0..1b4a345f 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -953,6 +953,8 @@ function checkModulePresence() $sSQL = "CREATE FUNCTION nominatim_test_import_func(text) RETURNS text AS '"; $sSQL .= $sModulePath."/nominatim.so', 'transliteration' LANGUAGE c IMMUTABLE STRICT"; $sSQL .= ';DROP FUNCTION nominatim_test_import_func(text);'; + + $oDB =& getDB(); $oResult = $oDB->query($sSQL); $bResult = true;