{"comment":{"created_at":"2011-10-24T01:40:48Z","body":"closing. this was not in the end mapnik doing this but rather a sqlite usage right in front of mapnik in the tilemill app that confounded me until I realized the issue: https://github.com/mapbox/millstone/issues/25","updated_at":"2011-10-24T01:40:48Z","url":"https://api.github.com/repos/mapnik/mapnik/issues/comments/2499053","id":2499053,"user":{"avatar_url":"https://secure.gravatar.com/avatar/edd0be6c7c035b58bb2712284da41f1f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"edd0be6c7c035b58bb2712284da41f1f","url":"https://api.github.com/users/springmeyer","id":20300,"login":"springmeyer"}},"action":"created","issue":{"number":924,"created_at":"2011-10-21T15:21:23Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"This appears to be unintended behavior, based on how we've written the code. Looking at the sqlite3_open_v2 docs it seems like our usage of SQLITE_OPEN_READWRITE should trigger a throw if the db does not exist but I certainly have seen this not be the case and instead a throw is encountered of 'table not found...'. This error is quite misleading - sure the table does not exist but it is because a blank db has been silently created when it did not exist.","comments":3,"title":"SQLite plugin open mode should not create a db if 'file' does not exist","updated_at":"2011-10-24T01:40:48Z","url":"https://api.github.com/repos/mapnik/mapnik/issues/924","id":2016513,"assignee":null,"milestone":null,"closed_at":"2011-10-24T01:40:48Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/edd0be6c7c035b58bb2712284da41f1f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"edd0be6c7c035b58bb2712284da41f1f","url":"https://api.github.com/users/springmeyer","id":20300,"login":"springmeyer"},"html_url":"https://github.com/mapnik/mapnik/issues/924","labels":[],"state":"closed"},"legacy":{"issue_id":2016513,"comment_id":2499053}}