Needs review
Project:
Geo
Component:
Geo API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2010 at 11:17 UTC
Updated:
23 Aug 2010 at 15:03 UTC
Jump to comment: Most recent file
GeoSQL::sql() only supports %g format specifier, which results in many GeoSQLMySQL/GeoSQLPostGIS API functions not working; e.g. GeoSQLMySQL::point() calls sql() with "Point(%f, %f)", which returns invalid SQL, because %f is not supported by GeoSQL::sql().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | geo-883032.patch | 2.85 KB | ahtih |
Comments
Comment #1
ahtih commentedHere is a patch that adds %b, %s, %d, %f support to sql(), making it now support all %-format specifiers used in includes/handlers/*.inc files. This makes $geo->point() etc functions work.