07.03.2014, 12:22
You gave me the wrong DB..
Edit: Either way, one thing I see you're doing wrong is not freeing the result in the loop. Even if you run an INSERT/UPDATE in db_query, it will allocate a struct and return its memory address.
The include should warn when the auto-release pool overflows, though, which it seems it doesn't do. I'm a bit intrigued to see where it goes wrong.
Code:
sqlite> .tables blocks sqlite> .schema blocks CREATE TABLE blocks (`locId`, `latitude`, `longitude`, `is_anonymous_proxy`, `startIpNum`, `endIpNum`);
The include should warn when the auto-release pool overflows, though, which it seems it doesn't do. I'm a bit intrigued to see where it goes wrong.