]> git.openstreetmap.org Git - nominatim.git/commitdiff
Do not log file sizes in the index step on updates
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 4 Jan 2019 20:51:18 +0000 (21:51 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 4 Jan 2019 20:51:18 +0000 (21:51 +0100)
Fixes #1274.

utils/update.php

index 24095ef48f3855590d3e5cd3748d14746901df36..c933d26ec19f0af57456cdcd7bd971ee85f3d6f3 100644 (file)
@@ -434,7 +434,7 @@ if ($aResult['import-osmosis'] || $aResult['import-osmosis-all']) {
 
             $sSQL = 'INSERT INTO import_osmosis_log';
             $sSQL .= '(batchend, batchseq, batchsize, starttime, endtime, event)';
 
             $sSQL = 'INSERT INTO import_osmosis_log';
             $sSQL .= '(batchend, batchseq, batchsize, starttime, endtime, event)';
-            $sSQL .= " values ('$sBatchEnd',$iEndSequence,$iFileSize,'";
+            $sSQL .= " values ('$sBatchEnd',$iEndSequence,NULL,'";
             $sSQL .= date('Y-m-d H:i:s', $fCMDStartTime)."','";
             $sSQL .= date('Y-m-d H:i:s')."','index')";
             var_Dump($sSQL);
             $sSQL .= date('Y-m-d H:i:s', $fCMDStartTime)."','";
             $sSQL .= date('Y-m-d H:i:s')."','index')";
             var_Dump($sSQL);