]> git.openstreetmap.org Git - nominatim.git/commitdiff
revert error checking on pgsql restore
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 5 Jun 2014 20:31:59 +0000 (22:31 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 5 Jun 2014 20:31:59 +0000 (22:31 +0200)
wikipedia dumps create expected errors on restore, fixes #142

osm2pgsql
utils/setup.php

index b59765e3ac591ff84f21f4a1153e7c18a2d2b855..49089cb1a3c72ad97b57db21716a5fa07d4f2f8a 160000 (submodule)
--- a/osm2pgsql
+++ b/osm2pgsql
@@ -1 +1 @@
-Subproject commit b59765e3ac591ff84f21f4a1153e7c18a2d2b855
+Subproject commit 49089cb1a3c72ad97b57db21716a5fa07d4f2f8a
index a1d8ae5db9ef1d122c11ca9a55e6df41773d0e08..71e7dab59810573a7699cff5fd2eb980b8703e79 100755 (executable)
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
-               if ($iReturn > 0)
-               {
-                       fail("pgsql returned with error code ($iReturn)");
-               }
        }
 
        function pgsqlRunDropAndRestore($sDumpFile)
        }
 
        function pgsqlRunDropAndRestore($sDumpFile)
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
-               if ($iReturn > 0)
-               {
-                       fail("pgsql returned with error code ($iReturn)");
-               }
        }
 
        function passthruCheckReturn($cmd)
        }
 
        function passthruCheckReturn($cmd)