{"action":"reopened","number":156,"pull_request":{"url":"https://api.github.com/repos/SOCI/soci/pulls/156","id":6066787,"html_url":"https://github.com/SOCI/soci/pull/156","diff_url":"https://github.com/SOCI/soci/pull/156.diff","patch_url":"https://github.com/SOCI/soci/pull/156.patch","issue_url":"https://api.github.com/repos/SOCI/soci/issues/156","number":156,"state":"open","locked":false,"title":"Fix the issue #136 across all backends.","user":{"login":"ricardofandrade","id":896823,"avatar_url":"https://avatars.githubusercontent.com/u/896823?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardofandrade","html_url":"https://github.com/ricardofandrade","followers_url":"https://api.github.com/users/ricardofandrade/followers","following_url":"https://api.github.com/users/ricardofandrade/following{/other_user}","gists_url":"https://api.github.com/users/ricardofandrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardofandrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardofandrade/subscriptions","organizations_url":"https://api.github.com/users/ricardofandrade/orgs","repos_url":"https://api.github.com/users/ricardofandrade/repos","events_url":"https://api.github.com/users/ricardofandrade/events{/privacy}","received_events_url":"https://api.github.com/users/ricardofandrade/received_events","type":"User","site_admin":false},"body":"See issue #136\r\n\r\nThe issue is cause because the session backend gets deleted during reconnect.\r\nThis solution simply don't do that.\r\nWith this fix session backends gained support for open connections and close them (via clean_up).\r\nAlso, it's possible to check if session backend is opened though in very simplistic way that just works. That can be improved in later versions.\r\n\r\nNo public API was changed and I tried to be conservative as possible with the backend objects.\r\n\r\nThis is a reasonable complex issue, so reviews are welcome.\r\n\r\nI'm targeting soci 3.2.2 with fix pull request.\r\n\r\nPlease note DB2 backend depend (lightly) on #146 to work properly.\r\nOther small DB2 fix is included in this request.","created_at":"2013-06-02T20:05:04Z","updated_at":"2015-04-12T11:09:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"029dcd83bf90a5777d16b5ca0fbc678acb942f47","assignee":{"login":"mloskot","id":80741,"avatar_url":"https://avatars.githubusercontent.com/u/80741?v=3","gravatar_id":"","url":"https://api.github.com/users/mloskot","html_url":"https://github.com/mloskot","followers_url":"https://api.github.com/users/mloskot/followers","following_url":"https://api.github.com/users/mloskot/following{/other_user}","gists_url":"https://api.github.com/users/mloskot/gists{/gist_id}","starred_url":"https://api.github.com/users/mloskot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mloskot/subscriptions","organizations_url":"https://api.github.com/users/mloskot/orgs","repos_url":"https://api.github.com/users/mloskot/repos","events_url":"https://api.github.com/users/mloskot/events{/privacy}","received_events_url":"https://api.github.com/users/mloskot/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SOCI/soci/pulls/156/commits","review_comments_url":"https://api.github.com/repos/SOCI/soci/pulls/156/comments","review_comment_url":"https://api.github.com/repos/SOCI/soci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SOCI/soci/issues/156/comments","statuses_url":"https://api.github.com/repos/SOCI/soci/statuses/a4948c892c7dbf4eaca098904771ff6427b55bd0","head":{"label":"ricardofandrade:136-reconnect-sigsegv","ref":"136-reconnect-sigsegv","sha":"a4948c892c7dbf4eaca098904771ff6427b55bd0","user":{"login":"ricardofandrade","id":896823,"avatar_url":"https://avatars.githubusercontent.com/u/896823?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardofandrade","html_url":"https://github.com/ricardofandrade","followers_url":"https://api.github.com/users/ricardofandrade/followers","following_url":"https://api.github.com/users/ricardofandrade/following{/other_user}","gists_url":"https://api.github.com/users/ricardofandrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardofandrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardofandrade/subscriptions","organizations_url":"https://api.github.com/users/ricardofandrade/orgs","repos_url":"https://api.github.com/users/ricardofandrade/repos","events_url":"https://api.github.com/users/ricardofandrade/events{/privacy}","received_events_url":"https://api.github.com/users/ricardofandrade/received_events","type":"User","site_admin":false},"repo":{"id":8457255,"name":"soci","full_name":"ricardofandrade/soci","owner":{"login":"ricardofandrade","id":896823,"avatar_url":"https://avatars.githubusercontent.com/u/896823?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardofandrade","html_url":"https://github.com/ricardofandrade","followers_url":"https://api.github.com/users/ricardofandrade/followers","following_url":"https://api.github.com/users/ricardofandrade/following{/other_user}","gists_url":"https://api.github.com/users/ricardofandrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardofandrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardofandrade/subscriptions","organizations_url":"https://api.github.com/users/ricardofandrade/orgs","repos_url":"https://api.github.com/users/ricardofandrade/repos","events_url":"https://api.github.com/users/ricardofandrade/events{/privacy}","received_events_url":"https://api.github.com/users/ricardofandrade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ricardofandrade/soci","description":"SOCI - The C++ Database Access Library. This is official repository the SOCI project.","fork":true,"url":"https://api.github.com/repos/ricardofandrade/soci","forks_url":"https://api.github.com/repos/ricardofandrade/soci/forks","keys_url":"https://api.github.com/repos/ricardofandrade/soci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ricardofandrade/soci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ricardofandrade/soci/teams","hooks_url":"https://api.github.com/repos/ricardofandrade/soci/hooks","issue_events_url":"https://api.github.com/repos/ricardofandrade/soci/issues/events{/number}","events_url":"https://api.github.com/repos/ricardofandrade/soci/events","assignees_url":"https://api.github.com/repos/ricardofandrade/soci/assignees{/user}","branches_url":"https://api.github.com/repos/ricardofandrade/soci/branches{/branch}","tags_url":"https://api.github.com/repos/ricardofandrade/soci/tags","blobs_url":"https://api.github.com/repos/ricardofandrade/soci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ricardofandrade/soci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ricardofandrade/soci/git/refs{/sha}","trees_url":"https://api.github.com/repos/ricardofandrade/soci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ricardofandrade/soci/statuses/{sha}","languages_url":"https://api.github.com/repos/ricardofandrade/soci/languages","stargazers_url":"https://api.github.com/repos/ricardofandrade/soci/stargazers","contributors_url":"https://api.github.com/repos/ricardofandrade/soci/contributors","subscribers_url":"https://api.github.com/repos/ricardofandrade/soci/subscribers","subscription_url":"https://api.github.com/repos/ricardofandrade/soci/subscription","commits_url":"https://api.github.com/repos/ricardofandrade/soci/commits{/sha}","git_commits_url":"https://api.github.com/repos/ricardofandrade/soci/git/commits{/sha}","comments_url":"https://api.github.com/repos/ricardofandrade/soci/comments{/number}","issue_comment_url":"https://api.github.com/repos/ricardofandrade/soci/issues/comments{/number}","contents_url":"https://api.github.com/repos/ricardofandrade/soci/contents/{+path}","compare_url":"https://api.github.com/repos/ricardofandrade/soci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ricardofandrade/soci/merges","archive_url":"https://api.github.com/repos/ricardofandrade/soci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ricardofandrade/soci/downloads","issues_url":"https://api.github.com/repos/ricardofandrade/soci/issues{/number}","pulls_url":"https://api.github.com/repos/ricardofandrade/soci/pulls{/number}","milestones_url":"https://api.github.com/repos/ricardofandrade/soci/milestones{/number}","notifications_url":"https://api.github.com/repos/ricardofandrade/soci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ricardofandrade/soci/labels{/name}","releases_url":"https://api.github.com/repos/ricardofandrade/soci/releases{/id}","created_at":"2013-02-27T14:09:51Z","updated_at":"2013-10-25T01:16:05Z","pushed_at":"2013-06-26T01:45:17Z","git_url":"git://github.com/ricardofandrade/soci.git","ssh_url":"git@github.com:ricardofandrade/soci.git","clone_url":"https://github.com/ricardofandrade/soci.git","svn_url":"https://github.com/ricardofandrade/soci","homepage":"http://soci.sourceforge.net/","size":4495,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SOCI:master","ref":"master","sha":"09b045370b2314adbed218ab1f1ba3d3ab64732c","user":{"login":"SOCI","id":1135620,"avatar_url":"https://avatars.githubusercontent.com/u/1135620?v=3","gravatar_id":"","url":"https://api.github.com/users/SOCI","html_url":"https://github.com/SOCI","followers_url":"https://api.github.com/users/SOCI/followers","following_url":"https://api.github.com/users/SOCI/following{/other_user}","gists_url":"https://api.github.com/users/SOCI/gists{/gist_id}","starred_url":"https://api.github.com/users/SOCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SOCI/subscriptions","organizations_url":"https://api.github.com/users/SOCI/orgs","repos_url":"https://api.github.com/users/SOCI/repos","events_url":"https://api.github.com/users/SOCI/events{/privacy}","received_events_url":"https://api.github.com/users/SOCI/received_events","type":"Organization","site_admin":false},"repo":{"id":2738731,"name":"soci","full_name":"SOCI/soci","owner":{"login":"SOCI","id":1135620,"avatar_url":"https://avatars.githubusercontent.com/u/1135620?v=3","gravatar_id":"","url":"https://api.github.com/users/SOCI","html_url":"https://github.com/SOCI","followers_url":"https://api.github.com/users/SOCI/followers","following_url":"https://api.github.com/users/SOCI/following{/other_user}","gists_url":"https://api.github.com/users/SOCI/gists{/gist_id}","starred_url":"https://api.github.com/users/SOCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SOCI/subscriptions","organizations_url":"https://api.github.com/users/SOCI/orgs","repos_url":"https://api.github.com/users/SOCI/repos","events_url":"https://api.github.com/users/SOCI/events{/privacy}","received_events_url":"https://api.github.com/users/SOCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SOCI/soci","description":"SOCI - The C++ Database Access Library. This is official repository the SOCI project.","fork":false,"url":"https://api.github.com/repos/SOCI/soci","forks_url":"https://api.github.com/repos/SOCI/soci/forks","keys_url":"https://api.github.com/repos/SOCI/soci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SOCI/soci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SOCI/soci/teams","hooks_url":"https://api.github.com/repos/SOCI/soci/hooks","issue_events_url":"https://api.github.com/repos/SOCI/soci/issues/events{/number}","events_url":"https://api.github.com/repos/SOCI/soci/events","assignees_url":"https://api.github.com/repos/SOCI/soci/assignees{/user}","branches_url":"https://api.github.com/repos/SOCI/soci/branches{/branch}","tags_url":"https://api.github.com/repos/SOCI/soci/tags","blobs_url":"https://api.github.com/repos/SOCI/soci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SOCI/soci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SOCI/soci/git/refs{/sha}","trees_url":"https://api.github.com/repos/SOCI/soci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SOCI/soci/statuses/{sha}","languages_url":"https://api.github.com/repos/SOCI/soci/languages","stargazers_url":"https://api.github.com/repos/SOCI/soci/stargazers","contributors_url":"https://api.github.com/repos/SOCI/soci/contributors","subscribers_url":"https://api.github.com/repos/SOCI/soci/subscribers","subscription_url":"https://api.github.com/repos/SOCI/soci/subscription","commits_url":"https://api.github.com/repos/SOCI/soci/commits{/sha}","git_commits_url":"https://api.github.com/repos/SOCI/soci/git/commits{/sha}","comments_url":"https://api.github.com/repos/SOCI/soci/comments{/number}","issue_comment_url":"https://api.github.com/repos/SOCI/soci/issues/comments{/number}","contents_url":"https://api.github.com/repos/SOCI/soci/contents/{+path}","compare_url":"https://api.github.com/repos/SOCI/soci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SOCI/soci/merges","archive_url":"https://api.github.com/repos/SOCI/soci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SOCI/soci/downloads","issues_url":"https://api.github.com/repos/SOCI/soci/issues{/number}","pulls_url":"https://api.github.com/repos/SOCI/soci/pulls{/number}","milestones_url":"https://api.github.com/repos/SOCI/soci/milestones{/number}","notifications_url":"https://api.github.com/repos/SOCI/soci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SOCI/soci/labels{/name}","releases_url":"https://api.github.com/repos/SOCI/soci/releases{/id}","created_at":"2011-11-09T01:49:49Z","updated_at":"2015-04-08T22:49:02Z","pushed_at":"2015-04-12T10:44:18Z","git_url":"git://github.com/SOCI/soci.git","ssh_url":"git@github.com:SOCI/soci.git","clone_url":"https://github.com/SOCI/soci.git","svn_url":"https://github.com/SOCI/soci","homepage":"http://soci.sourceforge.net/","size":7565,"stargazers_count":248,"watchers_count":248,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":75,"forks":105,"open_issues":75,"watchers":248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SOCI/soci/pulls/156"},"html":{"href":"https://github.com/SOCI/soci/pull/156"},"issue":{"href":"https://api.github.com/repos/SOCI/soci/issues/156"},"comments":{"href":"https://api.github.com/repos/SOCI/soci/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/SOCI/soci/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/SOCI/soci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SOCI/soci/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/SOCI/soci/statuses/a4948c892c7dbf4eaca098904771ff6427b55bd0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":4,"additions":362,"deletions":211,"changed_files":31}}