{"action":"opened","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal-db/issues/16","repository_url":"https://api.github.com/repos/crystal-lang/crystal-db","labels_url":"https://api.github.com/repos/crystal-lang/crystal-db/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal-db/issues/16/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal-db/issues/16/events","html_url":"https://github.com/crystal-lang/crystal-db/issues/16","id":180958375,"number":16,"title":"single connections should be able to have multiple outstanding resultsets","user":{"login":"rdp","id":12496,"avatar_url":"https://avatars.githubusercontent.com/u/12496?v=3","gravatar_id":"","url":"https://api.github.com/users/rdp","html_url":"https://github.com/rdp","followers_url":"https://api.github.com/users/rdp/followers","following_url":"https://api.github.com/users/rdp/following{/other_user}","gists_url":"https://api.github.com/users/rdp/gists{/gist_id}","starred_url":"https://api.github.com/users/rdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdp/subscriptions","organizations_url":"https://api.github.com/users/rdp/orgs","repos_url":"https://api.github.com/users/rdp/repos","events_url":"https://api.github.com/users/rdp/events{/privacy}","received_events_url":"https://api.github.com/users/rdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T17:42:14Z","updated_at":"2016-10-04T17:42:14Z","closed_at":null,"body":"possibly same as #13 (?), each statement has its own cursor (at least I think so?) so each db conn should be allowed more than one outstanding query, today the following yields a db connection timeout.  At the least, this code should not results in a timeout failure by default:\r\n\r\n```\r\nrequire \"db\"\r\nrequire \"sqlite3\"\r\n\r\nDB.open \"sqlite3:./file2.db\" do |db|\r\n  db.exec \"create table if not exists contacts (age integer)\"\r\n  db.exec \"insert into contacts (age) values (33);\"\r\n  db.query(\"SELECT age from contacts\") do |rs|\r\n    rs2 = db.query (\"select 1;\")\r\n  end\r\nend\r\n```"}}
{"actor":{"display_login":"rdp"}}