{"action":"closed","number":74,"pull_request":{"url":"https://api.github.com/repos/xo/usql/pulls/74","id":225969379,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1OTY5Mzc5","html_url":"https://github.com/xo/usql/pull/74","diff_url":"https://github.com/xo/usql/pull/74.diff","patch_url":"https://github.com/xo/usql/pull/74.patch","issue_url":"https://api.github.com/repos/xo/usql/issues/74","number":74,"state":"closed","locked":false,"title":"Fix bug of comment processing","user":{"login":"xq262144","id":434146,"node_id":"MDQ6VXNlcjQzNDE0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/434146?v=4","gravatar_id":"","url":"https://api.github.com/users/xq262144","html_url":"https://github.com/xq262144","followers_url":"https://api.github.com/users/xq262144/followers","following_url":"https://api.github.com/users/xq262144/following{/other_user}","gists_url":"https://api.github.com/users/xq262144/gists{/gist_id}","starred_url":"https://api.github.com/users/xq262144/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xq262144/subscriptions","organizations_url":"https://api.github.com/users/xq262144/orgs","repos_url":"https://api.github.com/users/xq262144/repos","events_url":"https://api.github.com/users/xq262144/events{/privacy}","received_events_url":"https://api.github.com/users/xq262144/received_events","type":"User","site_admin":false},"body":"Fix index out of range bug of following trace:\r\n\r\n```\r\npanic: runtime error: index out of range\r\n\r\ngoroutine 43 [running]:\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/stmt.findPrefix(0xc00012e1b0, 0x4, 0x5, 0x6, 0x55e2a90, 0x1)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/stmt/parse.go:313 +0xa2f\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/stmt.(*Stmt).Next(0xc000290210, 0xc000686010, 0x0, 0x0, 0x0, 0xc000290210, 0xb, 0x0)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/stmt/stmt.go:341 +0x336\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/handler.(*Handler).outputHighlighter(0xc00056e000, 0xc000025c20, 0xb, 0xb, 0xc000025c20)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/handler/handler.go:164 +0x383\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/handler.(*Handler).outputHighlighter-fm(0xc000025c20, 0xb, 0xb, 0x40)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/xo/usql/handler/handler.go:95 +0x3e\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.(*RuneBuffer).output(0xc000266480, 0xb, 0xc0004bdd80, 0xe)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/runebuf.go:485 +0x25c\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.(*RuneBuffer).print(0xc000266480)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/runebuf.go:452 +0x2b\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.(*RuneBuffer).Refresh(0xc000266480, 0xc0004bddd0)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/runebuf.go:442 +0xb0\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.(*RuneBuffer).Backspace(0xc000266480)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/runebuf.go:340 +0x4e\r\ngithub.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.(*Operation).ioloop(0xc0000a4480)\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/operation.go:216 +0xd08\r\ncreated by github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline.NewOperation\r\n        /Users/xq262144/Documents/Dev/gopath/src/github.com/CovenantSQL/CovenantSQL/vendor/github.com/gohxs/readline/operation.go:86 +0x2af\r\n```","created_at":"2018-10-26T03:57:22Z","updated_at":"2018-12-15T17:59:04Z","closed_at":"2018-12-15T17:59:04Z","merged_at":null,"merge_commit_sha":"30beb3e636536770b6e21f8702961989bfc4f632","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xo/usql/pulls/74/commits","review_comments_url":"https://api.github.com/repos/xo/usql/pulls/74/comments","review_comment_url":"https://api.github.com/repos/xo/usql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xo/usql/issues/74/comments","statuses_url":"https://api.github.com/repos/xo/usql/statuses/885ff880d8520d74c227a9d1a310aa473209d155","head":{"label":"CovenantSQL:master","ref":"master","sha":"885ff880d8520d74c227a9d1a310aa473209d155","user":{"login":"CovenantSQL","id":38064281,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDY0Mjgx","avatar_url":"https://avatars1.githubusercontent.com/u/38064281?v=4","gravatar_id":"","url":"https://api.github.com/users/CovenantSQL","html_url":"https://github.com/CovenantSQL","followers_url":"https://api.github.com/users/CovenantSQL/followers","following_url":"https://api.github.com/users/CovenantSQL/following{/other_user}","gists_url":"https://api.github.com/users/CovenantSQL/gists{/gist_id}","starred_url":"https://api.github.com/users/CovenantSQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CovenantSQL/subscriptions","organizations_url":"https://api.github.com/users/CovenantSQL/orgs","repos_url":"https://api.github.com/users/CovenantSQL/repos","events_url":"https://api.github.com/users/CovenantSQL/events{/privacy}","received_events_url":"https://api.github.com/users/CovenantSQL/received_events","type":"Organization","site_admin":false},"repo":{"id":154772321,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3NzIzMjE=","name":"usql","full_name":"CovenantSQL/usql","private":false,"owner":{"login":"CovenantSQL","id":38064281,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDY0Mjgx","avatar_url":"https://avatars1.githubusercontent.com/u/38064281?v=4","gravatar_id":"","url":"https://api.github.com/users/CovenantSQL","html_url":"https://github.com/CovenantSQL","followers_url":"https://api.github.com/users/CovenantSQL/followers","following_url":"https://api.github.com/users/CovenantSQL/following{/other_user}","gists_url":"https://api.github.com/users/CovenantSQL/gists{/gist_id}","starred_url":"https://api.github.com/users/CovenantSQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CovenantSQL/subscriptions","organizations_url":"https://api.github.com/users/CovenantSQL/orgs","repos_url":"https://api.github.com/users/CovenantSQL/repos","events_url":"https://api.github.com/users/CovenantSQL/events{/privacy}","received_events_url":"https://api.github.com/users/CovenantSQL/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CovenantSQL/usql","description":"universal command-line interface for SQL databases","fork":true,"url":"https://api.github.com/repos/CovenantSQL/usql","forks_url":"https://api.github.com/repos/CovenantSQL/usql/forks","keys_url":"https://api.github.com/repos/CovenantSQL/usql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CovenantSQL/usql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CovenantSQL/usql/teams","hooks_url":"https://api.github.com/repos/CovenantSQL/usql/hooks","issue_events_url":"https://api.github.com/repos/CovenantSQL/usql/issues/events{/number}","events_url":"https://api.github.com/repos/CovenantSQL/usql/events","assignees_url":"https://api.github.com/repos/CovenantSQL/usql/assignees{/user}","branches_url":"https://api.github.com/repos/CovenantSQL/usql/branches{/branch}","tags_url":"https://api.github.com/repos/CovenantSQL/usql/tags","blobs_url":"https://api.github.com/repos/CovenantSQL/usql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CovenantSQL/usql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CovenantSQL/usql/git/refs{/sha}","trees_url":"https://api.github.com/repos/CovenantSQL/usql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CovenantSQL/usql/statuses/{sha}","languages_url":"https://api.github.com/repos/CovenantSQL/usql/languages","stargazers_url":"https://api.github.com/repos/CovenantSQL/usql/stargazers","contributors_url":"https://api.github.com/repos/CovenantSQL/usql/contributors","subscribers_url":"https://api.github.com/repos/CovenantSQL/usql/subscribers","subscription_url":"https://api.github.com/repos/CovenantSQL/usql/subscription","commits_url":"https://api.github.com/repos/CovenantSQL/usql/commits{/sha}","git_commits_url":"https://api.github.com/repos/CovenantSQL/usql/git/commits{/sha}","comments_url":"https://api.github.com/repos/CovenantSQL/usql/comments{/number}","issue_comment_url":"https://api.github.com/repos/CovenantSQL/usql/issues/comments{/number}","contents_url":"https://api.github.com/repos/CovenantSQL/usql/contents/{+path}","compare_url":"https://api.github.com/repos/CovenantSQL/usql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CovenantSQL/usql/merges","archive_url":"https://api.github.com/repos/CovenantSQL/usql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CovenantSQL/usql/downloads","issues_url":"https://api.github.com/repos/CovenantSQL/usql/issues{/number}","pulls_url":"https://api.github.com/repos/CovenantSQL/usql/pulls{/number}","milestones_url":"https://api.github.com/repos/CovenantSQL/usql/milestones{/number}","notifications_url":"https://api.github.com/repos/CovenantSQL/usql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CovenantSQL/usql/labels{/name}","releases_url":"https://api.github.com/repos/CovenantSQL/usql/releases{/id}","deployments_url":"https://api.github.com/repos/CovenantSQL/usql/deployments","created_at":"2018-10-26T03:30:40Z","updated_at":"2018-10-26T03:45:34Z","pushed_at":"2018-10-26T03:45:32Z","git_url":"git://github.com/CovenantSQL/usql.git","ssh_url":"git@github.com:CovenantSQL/usql.git","clone_url":"https://github.com/CovenantSQL/usql.git","svn_url":"https://github.com/CovenantSQL/usql","homepage":"","size":506,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xo:master","ref":"master","sha":"f0d1f2ffcfd924cccb45128a0fd7bdc06cad72b4","user":{"login":"xo","id":30761128,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzYxMTI4","avatar_url":"https://avatars3.githubusercontent.com/u/30761128?v=4","gravatar_id":"","url":"https://api.github.com/users/xo","html_url":"https://github.com/xo","followers_url":"https://api.github.com/users/xo/followers","following_url":"https://api.github.com/users/xo/following{/other_user}","gists_url":"https://api.github.com/users/xo/gists{/gist_id}","starred_url":"https://api.github.com/users/xo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xo/subscriptions","organizations_url":"https://api.github.com/users/xo/orgs","repos_url":"https://api.github.com/users/xo/repos","events_url":"https://api.github.com/users/xo/events{/privacy}","received_events_url":"https://api.github.com/users/xo/received_events","type":"Organization","site_admin":false},"repo":{"id":83678416,"node_id":"MDEwOlJlcG9zaXRvcnk4MzY3ODQxNg==","name":"usql","full_name":"xo/usql","private":false,"owner":{"login":"xo","id":30761128,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzYxMTI4","avatar_url":"https://avatars3.githubusercontent.com/u/30761128?v=4","gravatar_id":"","url":"https://api.github.com/users/xo","html_url":"https://github.com/xo","followers_url":"https://api.github.com/users/xo/followers","following_url":"https://api.github.com/users/xo/following{/other_user}","gists_url":"https://api.github.com/users/xo/gists{/gist_id}","starred_url":"https://api.github.com/users/xo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xo/subscriptions","organizations_url":"https://api.github.com/users/xo/orgs","repos_url":"https://api.github.com/users/xo/repos","events_url":"https://api.github.com/users/xo/events{/privacy}","received_events_url":"https://api.github.com/users/xo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/xo/usql","description":"universal command-line interface for SQL databases","fork":false,"url":"https://api.github.com/repos/xo/usql","forks_url":"https://api.github.com/repos/xo/usql/forks","keys_url":"https://api.github.com/repos/xo/usql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xo/usql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xo/usql/teams","hooks_url":"https://api.github.com/repos/xo/usql/hooks","issue_events_url":"https://api.github.com/repos/xo/usql/issues/events{/number}","events_url":"https://api.github.com/repos/xo/usql/events","assignees_url":"https://api.github.com/repos/xo/usql/assignees{/user}","branches_url":"https://api.github.com/repos/xo/usql/branches{/branch}","tags_url":"https://api.github.com/repos/xo/usql/tags","blobs_url":"https://api.github.com/repos/xo/usql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xo/usql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xo/usql/git/refs{/sha}","trees_url":"https://api.github.com/repos/xo/usql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xo/usql/statuses/{sha}","languages_url":"https://api.github.com/repos/xo/usql/languages","stargazers_url":"https://api.github.com/repos/xo/usql/stargazers","contributors_url":"https://api.github.com/repos/xo/usql/contributors","subscribers_url":"https://api.github.com/repos/xo/usql/subscribers","subscription_url":"https://api.github.com/repos/xo/usql/subscription","commits_url":"https://api.github.com/repos/xo/usql/commits{/sha}","git_commits_url":"https://api.github.com/repos/xo/usql/git/commits{/sha}","comments_url":"https://api.github.com/repos/xo/usql/comments{/number}","issue_comment_url":"https://api.github.com/repos/xo/usql/issues/comments{/number}","contents_url":"https://api.github.com/repos/xo/usql/contents/{+path}","compare_url":"https://api.github.com/repos/xo/usql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xo/usql/merges","archive_url":"https://api.github.com/repos/xo/usql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xo/usql/downloads","issues_url":"https://api.github.com/repos/xo/usql/issues{/number}","pulls_url":"https://api.github.com/repos/xo/usql/pulls{/number}","milestones_url":"https://api.github.com/repos/xo/usql/milestones{/number}","notifications_url":"https://api.github.com/repos/xo/usql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xo/usql/labels{/name}","releases_url":"https://api.github.com/repos/xo/usql/releases{/id}","deployments_url":"https://api.github.com/repos/xo/usql/deployments","created_at":"2017-03-02T13:03:21Z","updated_at":"2018-12-15T17:58:39Z","pushed_at":"2018-12-15T17:58:37Z","git_url":"git://github.com/xo/usql.git","ssh_url":"git@github.com:xo/usql.git","clone_url":"https://github.com/xo/usql.git","svn_url":"https://github.com/xo/usql","homepage":"","size":496,"stargazers_count":4414,"watchers_count":4414,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":143,"open_issues":22,"watchers":4414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xo/usql/pulls/74"},"html":{"href":"https://github.com/xo/usql/pull/74"},"issue":{"href":"https://api.github.com/repos/xo/usql/issues/74"},"comments":{"href":"https://api.github.com/repos/xo/usql/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/xo/usql/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/xo/usql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xo/usql/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/xo/usql/statuses/885ff880d8520d74c227a9d1a310aa473209d155"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"kenshaw"}}