1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a problem in the geopoly json parser associated with spaces before a

coordinate number.

FossilOrigin-Name: 9d8d3af89ab241fd6c68e043e559359c85653aa0e31270b658ff01867ae929c4
This commit is contained in:
drh
2018-05-29 17:17:22 +00:00
parent b0af3d1f97
commit b7d376ee13
3 changed files with 8 additions and 8 deletions

View File

@ -146,8 +146,8 @@ static char geopolySkipSpace(GeoParse *p){
** return non-zero on success and zero if the next token is not a number.
*/
static int geopolyParseNumber(GeoParse *p, GeoCoord *pVal){
const unsigned char *z = p->z;
char c = geopolySkipSpace(p);
const unsigned char *z = p->z;
int j;
int seenDP = 0;
int seenE = 0;