mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
revert error checking on pgsql restore
wikipedia dumps create expected errors on restore, fixes #142
This commit is contained in:
Submodule osm2pgsql updated: b59765e3ac...49089cb1a3
@@ -802,10 +802,6 @@
|
||||
fclose($ahPipes[1]);
|
||||
|
||||
$iReturn = proc_close($hProcess);
|
||||
if ($iReturn > 0)
|
||||
{
|
||||
fail("pgsql returned with error code ($iReturn)");
|
||||
}
|
||||
}
|
||||
|
||||
function pgsqlRunDropAndRestore($sDumpFile)
|
||||
@@ -834,10 +830,6 @@
|
||||
fclose($ahPipes[1]);
|
||||
|
||||
$iReturn = proc_close($hProcess);
|
||||
if ($iReturn > 0)
|
||||
{
|
||||
fail("pgsql returned with error code ($iReturn)");
|
||||
}
|
||||
}
|
||||
|
||||
function passthruCheckReturn($cmd)
|
||||
|
||||
Reference in New Issue
Block a user