{"action":"closed","number":167,"pull_request":{"url":"https://api.github.com/repos/kimsQ/rb/pulls/167","id":41860449,"html_url":"https://github.com/kimsQ/rb/pull/167","diff_url":"https://github.com/kimsQ/rb/pull/167.diff","patch_url":"https://github.com/kimsQ/rb/pull/167.patch","issue_url":"https://api.github.com/repos/kimsQ/rb/issues/167","number":167,"state":"closed","locked":false,"title":"mysqli 적용","user":{"login":"kieregh","id":5086827,"avatar_url":"https://avatars.githubusercontent.com/u/5086827?v=3","gravatar_id":"","url":"https://api.github.com/users/kieregh","html_url":"https://github.com/kieregh","followers_url":"https://api.github.com/users/kieregh/followers","following_url":"https://api.github.com/users/kieregh/following{/other_user}","gists_url":"https://api.github.com/users/kieregh/gists{/gist_id}","starred_url":"https://api.github.com/users/kieregh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kieregh/subscriptions","organizations_url":"https://api.github.com/users/kieregh/orgs","repos_url":"https://api.github.com/users/kieregh/repos","events_url":"https://api.github.com/users/kieregh/events{/privacy}","received_events_url":"https://api.github.com/users/kieregh/received_events","type":"User","site_admin":false},"body":"#### 왜 이 코드가 필요한가?\r\nError 출력환경에 따라 PHP 5.4 버전부터 deprecated 안내문구가 출력되는 현상이 발생됩니다.\r\n\r\n1. 관리자 모드 > dbmanager 모듈 페이지 오류발생 \r\n2. 관리자 모드 > 시스템 > 서버정보 출력 오류발생\r\n\r\n이를 해결할 목적으로 관련 DB 연결 및 쿼리 부분을 수정하였습니다.\r\n\r\n#### 어떻게 이슈를 해결했는가?\r\nMysqli 를 적용하는 이유는 아래 페이지의 가이드에 근거하였습니다.\r\nhttp://kr1.php.net/manual/en/mysqlinfo.api.choosing.php\r\n\r\n#### 패치가 어떤 영향을 만드는가?\r\nphp 5.4 이상의 버전에서 mysql 사용에 대한 deprecated 에러가 발생하지 않는다.\r\n\r\n#### 관련이슈\r\n* [php 5.4 업그레이드, mysql_connect 함수 에러 해결방안 있나요.](http://www.kimsq.co.kr/r/qna/15844)\r\n* [제작한 서버중에 rb 설치하면 db.mysql.func.php on line 4 에러나는 것](http://www.kimsq.co.kr/r/qna/15395)","created_at":"2015-08-07T05:20:35Z","updated_at":"2016-02-15T10:20:42Z","closed_at":"2016-02-15T10:20:42Z","merged_at":"2016-02-15T10:20:42Z","merge_commit_sha":"a11d62e3304fc58378d4b8add9dc13ab1976925a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kimsQ/rb/pulls/167/commits","review_comments_url":"https://api.github.com/repos/kimsQ/rb/pulls/167/comments","review_comment_url":"https://api.github.com/repos/kimsQ/rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kimsQ/rb/issues/167/comments","statuses_url":"https://api.github.com/repos/kimsQ/rb/statuses/c55d9c90e765f2caecb7727479ea4649d7bbdb28","head":{"label":"kieregh:kimsQ/v1-feature-mysqli","ref":"kimsQ/v1-feature-mysqli","sha":"c55d9c90e765f2caecb7727479ea4649d7bbdb28","user":{"login":"kieregh","id":5086827,"avatar_url":"https://avatars.githubusercontent.com/u/5086827?v=3","gravatar_id":"","url":"https://api.github.com/users/kieregh","html_url":"https://github.com/kieregh","followers_url":"https://api.github.com/users/kieregh/followers","following_url":"https://api.github.com/users/kieregh/following{/other_user}","gists_url":"https://api.github.com/users/kieregh/gists{/gist_id}","starred_url":"https://api.github.com/users/kieregh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kieregh/subscriptions","organizations_url":"https://api.github.com/users/kieregh/orgs","repos_url":"https://api.github.com/users/kieregh/repos","events_url":"https://api.github.com/users/kieregh/events{/privacy}","received_events_url":"https://api.github.com/users/kieregh/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"kimsQ:v1-feature-mysqli","ref":"v1-feature-mysqli","sha":"9c814962d2a9c5f0daab16bb26465f22ca32f88f","user":{"login":"kimsQ","id":1246504,"avatar_url":"https://avatars.githubusercontent.com/u/1246504?v=3","gravatar_id":"","url":"https://api.github.com/users/kimsQ","html_url":"https://github.com/kimsQ","followers_url":"https://api.github.com/users/kimsQ/followers","following_url":"https://api.github.com/users/kimsQ/following{/other_user}","gists_url":"https://api.github.com/users/kimsQ/gists{/gist_id}","starred_url":"https://api.github.com/users/kimsQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimsQ/subscriptions","organizations_url":"https://api.github.com/users/kimsQ/orgs","repos_url":"https://api.github.com/users/kimsQ/repos","events_url":"https://api.github.com/users/kimsQ/events{/privacy}","received_events_url":"https://api.github.com/users/kimsQ/received_events","type":"Organization","site_admin":false},"repo":{"id":11831223,"name":"rb","full_name":"kimsQ/rb","owner":{"login":"kimsQ","id":1246504,"avatar_url":"https://avatars.githubusercontent.com/u/1246504?v=3","gravatar_id":"","url":"https://api.github.com/users/kimsQ","html_url":"https://github.com/kimsQ","followers_url":"https://api.github.com/users/kimsQ/followers","following_url":"https://api.github.com/users/kimsQ/following{/other_user}","gists_url":"https://api.github.com/users/kimsQ/gists{/gist_id}","starred_url":"https://api.github.com/users/kimsQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimsQ/subscriptions","organizations_url":"https://api.github.com/users/kimsQ/orgs","repos_url":"https://api.github.com/users/kimsQ/repos","events_url":"https://api.github.com/users/kimsQ/events{/privacy}","received_events_url":"https://api.github.com/users/kimsQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kimsQ/rb","description":"kimsQ Rb, Web application platform built on PHP and MySQL.","fork":false,"url":"https://api.github.com/repos/kimsQ/rb","forks_url":"https://api.github.com/repos/kimsQ/rb/forks","keys_url":"https://api.github.com/repos/kimsQ/rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kimsQ/rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kimsQ/rb/teams","hooks_url":"https://api.github.com/repos/kimsQ/rb/hooks","issue_events_url":"https://api.github.com/repos/kimsQ/rb/issues/events{/number}","events_url":"https://api.github.com/repos/kimsQ/rb/events","assignees_url":"https://api.github.com/repos/kimsQ/rb/assignees{/user}","branches_url":"https://api.github.com/repos/kimsQ/rb/branches{/branch}","tags_url":"https://api.github.com/repos/kimsQ/rb/tags","blobs_url":"https://api.github.com/repos/kimsQ/rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kimsQ/rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kimsQ/rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/kimsQ/rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kimsQ/rb/statuses/{sha}","languages_url":"https://api.github.com/repos/kimsQ/rb/languages","stargazers_url":"https://api.github.com/repos/kimsQ/rb/stargazers","contributors_url":"https://api.github.com/repos/kimsQ/rb/contributors","subscribers_url":"https://api.github.com/repos/kimsQ/rb/subscribers","subscription_url":"https://api.github.com/repos/kimsQ/rb/subscription","commits_url":"https://api.github.com/repos/kimsQ/rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/kimsQ/rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/kimsQ/rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/kimsQ/rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/kimsQ/rb/contents/{+path}","compare_url":"https://api.github.com/repos/kimsQ/rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kimsQ/rb/merges","archive_url":"https://api.github.com/repos/kimsQ/rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kimsQ/rb/downloads","issues_url":"https://api.github.com/repos/kimsQ/rb/issues{/number}","pulls_url":"https://api.github.com/repos/kimsQ/rb/pulls{/number}","milestones_url":"https://api.github.com/repos/kimsQ/rb/milestones{/number}","notifications_url":"https://api.github.com/repos/kimsQ/rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kimsQ/rb/labels{/name}","releases_url":"https://api.github.com/repos/kimsQ/rb/releases{/id}","deployments_url":"https://api.github.com/repos/kimsQ/rb/deployments","created_at":"2013-08-02T00:42:16Z","updated_at":"2015-10-07T13:22:22Z","pushed_at":"2016-02-15T10:20:42Z","git_url":"git://github.com/kimsQ/rb.git","ssh_url":"git@github.com:kimsQ/rb.git","clone_url":"https://github.com/kimsQ/rb.git","svn_url":"https://github.com/kimsQ/rb","homepage":"http://www.kimsq.com","size":19666,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":61,"forks":29,"open_issues":61,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kimsQ/rb/pulls/167"},"html":{"href":"https://github.com/kimsQ/rb/pull/167"},"issue":{"href":"https://api.github.com/repos/kimsQ/rb/issues/167"},"comments":{"href":"https://api.github.com/repos/kimsQ/rb/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/kimsQ/rb/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/kimsQ/rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kimsQ/rb/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/kimsQ/rb/statuses/c55d9c90e765f2caecb7727479ea4649d7bbdb28"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gitaeks","id":5070245,"avatar_url":"https://avatars.githubusercontent.com/u/5070245?v=3","gravatar_id":"","url":"https://api.github.com/users/gitaeks","html_url":"https://github.com/gitaeks","followers_url":"https://api.github.com/users/gitaeks/followers","following_url":"https://api.github.com/users/gitaeks/following{/other_user}","gists_url":"https://api.github.com/users/gitaeks/gists{/gist_id}","starred_url":"https://api.github.com/users/gitaeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitaeks/subscriptions","organizations_url":"https://api.github.com/users/gitaeks/orgs","repos_url":"https://api.github.com/users/gitaeks/repos","events_url":"https://api.github.com/users/gitaeks/events{/privacy}","received_events_url":"https://api.github.com/users/gitaeks/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":29,"deletions":23,"changed_files":4}}