René's URL Explorer Experiment


Title: Fix #627 - Accept ON as value in SET statements by predictor2718 · Pull Request #652 · phpmyadmin/sql-parser · GitHub

Open Graph Title: Fix #627 - Accept ON as value in SET statements by predictor2718 · Pull Request #652 · phpmyadmin/sql-parser

X Title: Fix #627 - Accept ON as value in SET statements by predictor2718 · Pull Request #652 · phpmyadmin/sql-parser

Description: Summary SET @@variable = ON failed with "Missing expression" because ON is a reserved keyword that Expression::parse() rejected OFF worked because it is not a reserved keyword Fix: in SetOperation::parse(), after Expression::parse() returns null, accept ON as a literal value since it is valid in SET statements Fixes #627

Open Graph Description: Summary SET @@variable = ON failed with "Missing expression" because ON is a reserved keyword that Expression::parse() rejected OFF worked because it is not a reserved keyword Fix: in Se...

X Description: Summary SET @@variable = ON failed with "Missing expression" because ON is a reserved keyword that Expression::parse() rejected OFF worked because it is not a reserved keyword Fi...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1a526c86-4936-f83d-a72b-414dfe83bb38
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id985C:2953C9:C6CC8C:1156F41:6B043A8E
html-safe-nonce7c603d2eace8fea82f5470b7b9203c1199d6b36788770c51e2dcdde4d5b28ee7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODVDOjI5NTNDOTpDNkNDOEM6MTE1NkY0MTo2QjA0M0E4RSIsInZpc2l0b3JfaWQiOiI5MDg1MzUzOTc2NTM2OTEwMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac553743d76de3e4e92f07b8536cb69c098e283f4778f55769c9660d89edce98c4
hovercard-subject-tagpull_request:3523401853
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/phpmyadmin/sql-parser/pull/652/files
twitter:imagehttps://avatars.githubusercontent.com/u/245527909?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/245527909?s=400&v=4
og:image:altSummary SET @@variable = ON failed with "Missing expression" because ON is a reserved keyword that Expression::parse() rejected OFF worked because it is not a reserved keyword Fix: in Se...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/phpmyadmin/sql-parser/pull/652/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fpull%2F652%2Ffiles
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%2F652%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=phpmyadmin%2Fsql-parser
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/652/files
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/652/files
Reloadhttps://github.com/phpmyadmin/sql-parser/pull/652/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fphpmyadmin%2Fsql-parser%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fphpmyadmin%2Fsql-parser%2Fissues%2Fnew%2Fchoose
predictor2718https://github.com/predictor2718
phpmyadmin:5.11.xhttps://github.com/phpmyadmin/sql-parser/tree/5.11.x
predictor2718:fix/627-set-variable-onhttps://github.com/predictor2718/sql-parser/tree/fix/627-set-variable-on
Conversation 3 https://github.com/phpmyadmin/sql-parser/pull/652
Commits 3 https://github.com/phpmyadmin/sql-parser/pull/652/commits
Checks 30 https://github.com/phpmyadmin/sql-parser/pull/652/checks
Files changed https://github.com/phpmyadmin/sql-parser/pull/652/files
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/652/files
Fix #627 - Accept ON as value in SET statements https://github.com/phpmyadmin/sql-parser/pull/652/files#top
Show all changes 3 commits https://github.com/phpmyadmin/sql-parser/pull/652/files
166fa16 Simplify ON keyword check to only needed case predictor2718 Apr 13, 2026 https://github.com/phpmyadmin/sql-parser/pull/652/commits/166fa166681ed8c924777ebb84a5879b887dff2b
0bd40a6 Fix phpcs: place if condition on single line predictor2718 Apr 13, 2026 https://github.com/phpmyadmin/sql-parser/pull/652/commits/0bd40a6b3fd1cc0bc12b3ea0a970873c8dcfc711
a204ecd Add test for SET variable = ON (#627) predictor2718 Oct 13, 2026 https://github.com/phpmyadmin/sql-parser/pull/652/commits/a204ecd86c39a3f7ec0d6974397b39b278aa7334
Clear filters https://github.com/phpmyadmin/sql-parser/pull/652/files
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/652/files
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/652/files
SetOperation.php https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-afe3aa9d7ef25085dc21e8da76bdb6c73fb1a4bddae0de497df20c2552011b10
SetStatementTest.php https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-891bb8d2acf77101eea869ff5c4499d2c1aead254c9fc5f053bfbcf54042b4f9
parseSetVariableOn.in https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-9b0ab7c5767a47ce2a29fcb8eaecae34b9a082ba8450500426dbd4f14ef60de4
parseSetVariableOn.out https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-0e144d639c6c0f9c8794c244964c321312a653e9ea244b88a064d9426a8839b2
src/Components/SetOperation.phphttps://github.com/phpmyadmin/sql-parser/pull/652/files#diff-afe3aa9d7ef25085dc21e8da76bdb6c73fb1a4bddae0de497df20c2552011b10
View file https://github.com/phpmyadmin/sql-parser/blob/a204ecd86c39a3f7ec0d6974397b39b278aa7334/src/Components/SetOperation.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/phpmyadmin/sql-parser/pull/652/{{ revealButtonHref }}
https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-afe3aa9d7ef25085dc21e8da76bdb6c73fb1a4bddae0de497df20c2552011b10
https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-afe3aa9d7ef25085dc21e8da76bdb6c73fb1a4bddae0de497df20c2552011b10
tests/Parser/SetStatementTest.phphttps://github.com/phpmyadmin/sql-parser/pull/652/files#diff-891bb8d2acf77101eea869ff5c4499d2c1aead254c9fc5f053bfbcf54042b4f9
View file https://github.com/phpmyadmin/sql-parser/blob/a204ecd86c39a3f7ec0d6974397b39b278aa7334/tests/Parser/SetStatementTest.php
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/phpmyadmin/sql-parser/pull/652/{{ revealButtonHref }}
https://github.com/phpmyadmin/sql-parser/pull/652/files#diff-891bb8d2acf77101eea869ff5c4499d2c1aead254c9fc5f053bfbcf54042b4f9
tests/data/parser/parseSetVariableOn.inhttps://github.com/phpmyadmin/sql-parser/pull/652/files#diff-9b0ab7c5767a47ce2a29fcb8eaecae34b9a082ba8450500426dbd4f14ef60de4
View file https://github.com/phpmyadmin/sql-parser/blob/a204ecd86c39a3f7ec0d6974397b39b278aa7334/tests/data/parser/parseSetVariableOn.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/phpmyadmin/sql-parser/pull/652/{{ revealButtonHref }}
tests/data/parser/parseSetVariableOn.outhttps://github.com/phpmyadmin/sql-parser/pull/652/files#diff-0e144d639c6c0f9c8794c244964c321312a653e9ea244b88a064d9426a8839b2
View file https://github.com/phpmyadmin/sql-parser/blob/a204ecd86c39a3f7ec0d6974397b39b278aa7334/tests/data/parser/parseSetVariableOn.out
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/phpmyadmin/sql-parser/pull/652/{{ revealButtonHref }}
Please reload this pagehttps://github.com/phpmyadmin/sql-parser/pull/652/files
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.