René's URL Explorer Experiment


Title: Fix #309: Use stream_select instead of non-blocking STDIN by sergiodj · Pull Request #312 · phpmyadmin/sql-parser · GitHub

Open Graph Title: Fix #309: Use stream_select instead of non-blocking STDIN by sergiodj · Pull Request #312 · phpmyadmin/sql-parser

X Title: Fix #309: Use stream_select instead of non-blocking STDIN by sergiodj · Pull Request #312 · phpmyadmin/sql-parser

Description: A validating SQL lexer and parser with a focus on MySQL dialect. - Fix #309: Use stream_select instead of non-blocking STDIN by sergiodj · Pull Request #312 · phpmyadmin/sql-parser

Open Graph Description: The idiom used in the readStdin function from src/Utils/CLI.php is not entirely error-prone: marking stdin as non-blocking and then reading from it can lead to racy scenarios where we are not able ...

X Description: The idiom used in the readStdin function from src/Utils/CLI.php is not entirely error-prone: marking stdin as non-blocking and then reading from it can lead to racy scenarios where we are not able ...

Mail addresses
sergio.durigan@canonical.com

Opengraph URL: https://github.com/phpmyadmin/sql-parser/pull/312

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:794b0e32-e83f-12cf-9adc-11f07f87b833
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB80:1F60EA:3FFADC:597E86:6B043FF3
html-safe-noncea76a6a094dc0313b3f2b37d789655914ad1ebcdea93489109b345041d5137b3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjgwOjFGNjBFQTozRkZBREM6NTk3RTg2OjZCMDQzRkYzIiwidmlzaXRvcl9pZCI6IjMyMzUwMzU5ODgzODAzNjg4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc4b176129bdc72b3d06a5a27e29ccd43b2d303f10bfa6a0994c57dd24492107b
hovercard-subject-tagpull_request:474371714
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpmyadmin/sql-parser/312/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8c2a417779509cbbe7ef5d5d3a515941d06ba1fd5aa722947d2edcb90547553c/phpmyadmin/sql-parser/pull/312
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c2a417779509cbbe7ef5d5d3a515941d06ba1fd5aa722947d2edcb90547553c/phpmyadmin/sql-parser/pull/312
og:image:altThe idiom used in the readStdin function from src/Utils/CLI.php is not entirely error-prone: marking stdin as non-blocking and then reading from it can lead to racy scenarios where we are not able ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesergiodj
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-cache
go-importgithub.com/phpmyadmin/sql-parser git https://github.com/phpmyadmin/sql-parser.git
octolytics-dimension-user_id1351977
octolytics-dimension-user_loginphpmyadmin
octolytics-dimension-repository_id36256604
octolytics-dimension-repository_nwophpmyadmin/sql-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36256604
octolytics-dimension-repository_network_root_nwophpmyadmin/sql-parser
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpmyadmin/sql-parser/pull/312#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F312
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F312
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpmyadmin%2Fsql-parser
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/312
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/312
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/312
phpmyadminhttps://github.com/phpmyadmin
sql-parserhttps://github.com/phpmyadmin/sql-parser
Codehttps://github.com/phpmyadmin/sql-parser
Issues55 (55)https://github.com/phpmyadmin/sql-parser/issues
Pull requests21 (21)https://github.com/phpmyadmin/sql-parser/pulls
Actionshttps://github.com/phpmyadmin/sql-parser/actions
Security and qualityhttps://github.com/phpmyadmin/sql-parser/security
Insightshttps://github.com/phpmyadmin/sql-parser/insights
https://github.com/phpmyadmin/sql-parser
williamdeshttps://github.com/williamdes
phpmyadmin:QAhttps://github.com/phpmyadmin/sql-parser/tree/QA
sergiodj:fix-309-use-stream-select-instead-non-blocking-stdinhttps://github.com/sergiodj/sql-parser/tree/fix-309-use-stream-select-instead-non-blocking-stdin
Conversationhttps://github.com/phpmyadmin/sql-parser/pull/312
Commits2 (2)https://github.com/phpmyadmin/sql-parser/pull/312/commits
Checkshttps://github.com/phpmyadmin/sql-parser/pull/312/checks
Files changedhttps://github.com/phpmyadmin/sql-parser/pull/312/files
Fix #309: Use stream_select instead of non-blocking STDINhttps://github.com/phpmyadmin/sql-parser/pull/312#top
williamdeshttps://github.com/williamdes
phpmyadmin:QAhttps://github.com/phpmyadmin/sql-parser/tree/QA
sergiodj:fix-309-use-stream-select-instead-non-blocking-stdinhttps://github.com/sergiodj/sql-parser/tree/fix-309-use-stream-select-instead-non-blocking-stdin
https://github.com/sergiodj
sergiodjhttps://github.com/sergiodj
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#issue-686847218
#309https://github.com/phpmyadmin/sql-parser/issues/309
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.com/sergiodj
sergiodjhttps://github.com/sergiodj
force-pushedhttps://github.com/phpmyadmin/sql-parser/compare/fd3f2bda73cf5c82806ece1af8e3dbcd1c2adfe9..21cb031c8d5df9ac86f213c440e22a1999b8732c
fd3f2bdhttps://github.com/phpmyadmin/sql-parser/commit/fd3f2bda73cf5c82806ece1af8e3dbcd1c2adfe9
21cb031https://github.com/phpmyadmin/sql-parser/commit/21cb031c8d5df9ac86f213c440e22a1999b8732c
Compare https://github.com/phpmyadmin/sql-parser/compare/fd3f2bda73cf5c82806ece1af8e3dbcd1c2adfe9..21cb031c8d5df9ac86f213c440e22a1999b8732c
August 27, 2020 00:28https://github.com/phpmyadmin/sql-parser/pull/312#event-3697076465
https://github.com/williamdes
williamdeshttps://github.com/williamdes
Aug 27, 2020 https://github.com/phpmyadmin/sql-parser/pull/312#pullrequestreview-476452702
View reviewed changes https://github.com/phpmyadmin/sql-parser/pull/312/files
https://github.com/williamdes
williamdeshttps://github.com/williamdes
August 27, 2020 07:26https://github.com/phpmyadmin/sql-parser/pull/312#event-3698133386
https://github.com/williamdes
Fixhttps://github.com/phpmyadmin/sql-parser/pull/312/commits/5419487eb14c96e729bc6b3cda1c6e215b5097af
phpmyadmin#309https://github.com/phpmyadmin/sql-parser/issues/309
- Use stream_select instead of non-blocking STDINhttps://github.com/phpmyadmin/sql-parser/pull/312/commits/5419487eb14c96e729bc6b3cda1c6e215b5097af
5419487https://github.com/phpmyadmin/sql-parser/pull/312/commits/5419487eb14c96e729bc6b3cda1c6e215b5097af
phpmyadmin#309https://github.com/phpmyadmin/sql-parser/issues/309
https://github.com/williamdes
williamdeshttps://github.com/williamdes
force-pushedhttps://github.com/phpmyadmin/sql-parser/compare/21cb031c8d5df9ac86f213c440e22a1999b8732c..5419487eb14c96e729bc6b3cda1c6e215b5097af
21cb031https://github.com/phpmyadmin/sql-parser/commit/21cb031c8d5df9ac86f213c440e22a1999b8732c
5419487https://github.com/phpmyadmin/sql-parser/commit/5419487eb14c96e729bc6b3cda1c6e215b5097af
Compare https://github.com/phpmyadmin/sql-parser/compare/21cb031c8d5df9ac86f213c440e22a1999b8732c..5419487eb14c96e729bc6b3cda1c6e215b5097af
August 27, 2020 07:29https://github.com/phpmyadmin/sql-parser/pull/312#event-3698144716
https://github.com/williamdes
phpmyadmin#309https://github.com/phpmyadmin/sql-parser/issues/309
- Set back PHP compatibilityhttps://github.com/phpmyadmin/sql-parser/pull/312/commits/c862a108b363c40fcc9d3ae03c0e0983f1a7d8ae
c862a10https://github.com/phpmyadmin/sql-parser/pull/312/commits/c862a108b363c40fcc9d3ae03c0e0983f1a7d8ae
https://github.com/williamdes
williamdeshttps://github.com/williamdes
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#event-3698152516
https://github.com/williamdes
williamdeshttps://github.com/williamdes
4.6.2https://github.com/phpmyadmin/sql-parser/milestone/10
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#event-3698152670
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#issuecomment-681702895
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
Codecovhttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=h1
#312https://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=desc
QAhttps://codecov.io/gh/phpmyadmin/sql-parser/commit/e763bc711fbb5e5848884d4bd19fded9dc0c85f0?el=desc
https://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=tree
src/Components/CreateDefinition.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbXBvbmVudHMvQ3JlYXRlRGVmaW5pdGlvbi5waHA=
src/Components/DataType.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbXBvbmVudHMvRGF0YVR5cGUucGhw
src/Components/Expression.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbXBvbmVudHMvRXhwcmVzc2lvbi5waHA=
src/Components/IntoKeyword.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbXBvbmVudHMvSW50b0tleXdvcmQucGhw
src/Components/UnionKeyword.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbXBvbmVudHMvVW5pb25LZXl3b3JkLnBocA==
src/Parser.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL1BhcnNlci5waHA=
src/TokensList.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL1Rva2Vuc0xpc3QucGhw
src/UtfString.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL1V0ZlN0cmluZy5waHA=
src/Utils/BufferedQuery.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL1V0aWxzL0J1ZmZlcmVkUXVlcnkucGhw
src/Context.phphttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree#diff-c3JjL0NvbnRleHQucGhw
14 morehttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312/diff?src=pr&el=tree-more
Continue to review full report at Codecovhttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=footer
6f31612...c862a10https://codecov.io/gh/phpmyadmin/sql-parser/pull/312?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.com/williamdes
williamdeshttps://github.com/williamdes
0770895https://github.com/phpmyadmin/sql-parser/commit/0770895be14d06f3ee9df912e947d7774eb11872
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#event-3698179572
https://github.com/williamdes
williamdeshttps://github.com/williamdes
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#issuecomment-681715840
0770895https://github.com/phpmyadmin/sql-parser/commit/0770895be14d06f3ee9df912e947d7774eb11872
29ce64ehttps://github.com/phpmyadmin/sql-parser/commit/29ce64ec4421015fc0bd2f08a343786967cb5f5c
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.com/williamdes
williamdeshttps://github.com/williamdes
Aug 27, 2020https://github.com/phpmyadmin/sql-parser/pull/312#issuecomment-681717555
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.co/hiddenchars
https://github.com/phpmyadmin/sql-parser/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F312
https://github.com/williamdes
williamdes https://github.com/williamdes
https://github.com/phpmyadmin/sql-parser/pull/312/files/21cb031c8d5df9ac86f213c440e22a1999b8732c
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.com/williamdes
williamdes https://github.com/williamdes
4.7.0 https://github.com/phpmyadmin/sql-parser/milestone/10
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/312
https://github.com/sergiodj
https://github.com/williamdes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.