[Tile-serving] [osm2pgsql] Storage tests expansion (#363)

Sarah Hoffmann notifications at github.com
Mon Jun 29 19:08:01 UTC 2015


>    }
>  
> -  // clean up for next test
> -  if (dynamic_cast<slim_middle_t *>(mid)) {
> -    dynamic_cast<slim_middle_t *>(mid)->nodes_delete(id);
> +  // 1 dense block, 75% filled
> +  for (osmid_t id = PER_BLOCK*2; id < PER_BLOCK*3; ++id)
> +  {
> +    if ((id % 4 == 0) || (id % 4 == 1) || (id % 4 == 2))

aka: `if (id % 4 != 3)` ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/363/files#r33499975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150629/9ae6d648/attachment.html>


More information about the Tile-serving mailing list