[Tilesathome] [SVN] Bug in tile2.php DeleteRealTile? fix in SVN
Dirk-Lüder Kreie
osm-list at deelkar.net
Wed Jun 6 12:07:18 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OJW is currently the one who can deploy changes.
Francisco R. Santos schrieb:
>
>
> On 6/6/07, *Martijn van Oosterhout* <kleptog at gmail.com
> <mailto:kleptog at gmail.com>> wrote:
>
> On 6/6/07, Francisco R. Santos <frsantos at gmail.com
> <mailto:frsantos at gmail.com>> wrote:
> > Hi all
> >
> > browsing the source code of tile2.php, I encountered the following
> code
> > (lines 220-222):
> >
> > $SQL = sprintf ( "DELETE FROM `tiles_meta` WHERE `x`=%d AND `y`=%d AND
> > `z`=%d AND `type`=%d;", $X ,$Y,$X,$LayerID);
> >
> > I may be wrong, as I don't know the code, but I think the
> parameters to the
> > query should be $X, $Y, $Z, $LayerID, that is, replace the second
> $X by a $Z
>
> Wow, that explains a lot. Please fix!
>
>
> Fixed.
>
> Should I notify anyone of the change to be deployed?
>
> Have a nice day,
> --
> Martijn van Oosterhout < kleptog at gmail.com
> <mailto:kleptog at gmail.com>> http://svana.org/kleptog/
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
- --
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZpVmFUbODdpRVDwRAhDpAJ9CFwzSlZhUleirPR5jAe8jq0K6iQCeIW7c
Vp1jYdeBEbeNl3E1Y1kmmCQ=
=0m1R
-----END PGP SIGNATURE-----
More information about the Tilesathome
mailing list