René's URL Explorer Experiment


Title: ANSI mode not working, PHP 7 · Issue #284 · phpmyadmin/sql-parser · GitHub

Open Graph Title: ANSI mode not working, PHP 7 · Issue #284 · phpmyadmin/sql-parser

X Title: ANSI mode not working, PHP 7 · Issue #284 · phpmyadmin/sql-parser

Description: Hi, while investigating issue phpmyadmin/phpmyadmin#15821 i came to conclusion, that sql-parser does not work correctly in my environment. I'm using php from sury.org, currently 2:7.4+72+0~20200122.20+debian10~1.gbpcd96c7 Using MySQL ser...

Open Graph Description: Hi, while investigating issue phpmyadmin/phpmyadmin#15821 i came to conclusion, that sql-parser does not work correctly in my environment. I'm using php from sury.org, currently 2:7.4+72+0~20200122...

X Description: Hi, while investigating issue phpmyadmin/phpmyadmin#15821 i came to conclusion, that sql-parser does not work correctly in my environment. I'm using php from sury.org, currently 2:7.4+72+0~2020...

Opengraph URL: https://github.com/phpmyadmin/sql-parser/issues/284

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ANSI mode not working, PHP 7","articleBody":"Hi,\r\nwhile investigating issue https://github.com/phpmyadmin/phpmyadmin/issues/15821 i came to conclusion, that sql-parser does not work correctly in my environment.\r\n\r\nI'm using php from sury.org, currently `2:7.4+72+0~20200122.20+debian10~1.gbpcd96c7`\r\n\r\nUsing MySQL server version 8.0.18 with ANSI_QUOTES mode (full list of modes at the end of this comment https://github.com/phpmyadmin/phpmyadmin/issues/15821#issuecomment-578572914 ), yours lint-query fails to parse double-quotes correctly and complains (both table name and field names are escaped by double-quotes in ANSI mode)\r\n\r\n```\r\n#1: A symbol name was expected! (near \""id"\" at position 29)\r\n#2: At least one column definition was expected. (near \""id"\" at position 29)\r\n#3: Unexpected beginning of statement. (near \"11\" at position 38)\r\n#4: Unrecognized statement type. (near \"NOT NULL\" at position 42)\r\n```\r\n\r\nI tried to tweak using ContextMySql80000 and/or ANSI or ANSI_QUOTES modes, but the behavior did not change, with any of my tries.\r\n\r\nTest data are also in mentioned comment, the string is taken directly from phpmyadmin result of `SHOW CREATE TABLE` query executed from configured datasource.\r\nOnce I change manually double-quotes to backticks, everything works correctly.\r\n\r\nHowever I've tried tokenzier CLI utility, and the output is the same, for sql query with double-quotes and with backticks (except for Token containing raw value with backticks/doublequotes), Token values, types and flags are correctly the same.\r\n\r\nPlease let me know, if I can provide you with more debug info for you to test/fix this","author":{"url":"https://github.com/smarek","@type":"Person","name":"smarek"},"datePublished":"2020-01-27T12:50:59Z","url":"https://github.com/phpmyadmin/sql-parser/issues/284"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bfe849b1-1d4f-569e-b1b4-11c08ab610cc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id820C:1F98:237730A:2F18A73:6B043E78
html-safe-nonce4878a5acfbec05f4c8a92788d014ec790d48e67d3b2382f015201925f029d0ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjBDOjFGOTg6MjM3NzMwQToyRjE4QTczOjZCMDQzRTc4IiwidmlzaXRvcl9pZCI6IjQwNDY0Njk3OTI5NDgwNDMzODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5750212597cc6866e2f2cef5020f484945968d3c832617b25cacbb4ed16d5c0c
hovercard-subject-tagissue:555553228
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpmyadmin/sql-parser/284/issue_layout
twitter:imagehttps://opengraph.githubassets.com/056fec9eadd6774ec8b2c5ff05a7b80992a50f63ab53d3c61b2d1f1e62147834/phpmyadmin/sql-parser/issues/284
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/056fec9eadd6774ec8b2c5ff05a7b80992a50f63ab53d3c61b2d1f1e62147834/phpmyadmin/sql-parser/issues/284
og:image:altHi, while investigating issue phpmyadmin/phpmyadmin#15821 i came to conclusion, that sql-parser does not work correctly in my environment. I'm using php from sury.org, currently 2:7.4+72+0~20200122...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesmarek
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/phpmyadmin/sql-parser/issues/284#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpmyadmin%2Fsql-parser%2Fissues%2F284
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%2Fissues%2F284
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=phpmyadmin%2Fsql-parser
Reloadhttps://github.com/phpmyadmin/sql-parser/issues/284
Reloadhttps://github.com/phpmyadmin/sql-parser/issues/284
Reloadhttps://github.com/phpmyadmin/sql-parser/issues/284
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
New issuehttps://github.com/login?return_to=https://github.com/phpmyadmin/sql-parser/issues/284
New issuehttps://github.com/login?return_to=https://github.com/phpmyadmin/sql-parser/issues/284
Bughttps://github.com/phpmyadmin/sql-parser/issues?q=type:"Bug"
ANSI mode not working, PHP 7https://github.com/phpmyadmin/sql-parser/issues/284#top
https://github.com/williamdes
bughttps://github.com/phpmyadmin/sql-parser/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/smarek
smarekhttps://github.com/smarek
on Jan 27, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issue-555553228
phpmyadmin/phpmyadmin#15821https://github.com/phpmyadmin/phpmyadmin/issues/15821
phpmyadmin/phpmyadmin#15821 (comment)https://github.com/phpmyadmin/phpmyadmin/issues/15821#issuecomment-578572914
Nexthttps://github.com/phpmyadmin/sql-parser/issues/284?timeline_page=1
williamdeshttps://github.com/williamdes
bughttps://github.com/phpmyadmin/sql-parser/issues?q=state%3Aopen%20label%3A%22bug%22
on Jan 27, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-2981760675
https://github.com/smarek
smarekhttps://github.com/smarek
on Jan 29, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issuecomment-579635589
https://github.com/williamdes
williamdeshttps://github.com/williamdes
on Jan 29, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issuecomment-579740146
@devenbansodhttps://github.com/devenbansod
https://github.com/smarek
smarekhttps://github.com/smarek
on Mar 5, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issuecomment-595424185
@williamdeshttps://github.com/williamdes
@devenbansodhttps://github.com/devenbansod
#294https://github.com/phpmyadmin/sql-parser/pull/294
https://github.com/smarek
smarekhttps://github.com/smarek
on Mar 6, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issuecomment-595750943
#294https://github.com/phpmyadmin/sql-parser/pull/294
smarekhttps://github.com/smarek
completedhttps://github.com/phpmyadmin/sql-parser/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 6, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3105203612
williamdeshttps://github.com/williamdes
on Mar 6, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3105208372
williamdeshttps://github.com/williamdes
4.5.1https://github.com/phpmyadmin/sql-parser/milestone/10
on Mar 6, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3105208613
williamdeshttps://github.com/williamdes
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3150401572
williamdeshttps://github.com/williamdes
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3150405777
williamdeshttps://github.com/williamdes
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3150409924
Merge #294 - Fixes #284 - ANSI_QUOTES lexer and parser test-suite sup…https://github.com/phpmyadmin/sql-parser/commit/05e42cf23bc8eb8c3879549cb84244e8bee786ed
#294https://github.com/phpmyadmin/sql-parser/pull/294
#284https://github.com/phpmyadmin/sql-parser/issues/284
https://docs.github.com/articles/closing-issues-via-commit-messages
05e42cfhttps://github.com/phpmyadmin/sql-parser/commit/05e42cf23bc8eb8c3879549cb84244e8bee786ed
Add CHANGELOG entry for #284https://github.com/phpmyadmin/sql-parser/commit/741014d1b96975187cf22b3be04002fff58c387d
#284https://github.com/phpmyadmin/sql-parser/issues/284
https://docs.github.com/articles/closing-issues-via-commit-messages
741014dhttps://github.com/phpmyadmin/sql-parser/commit/741014d1b96975187cf22b3be04002fff58c387d
smarekhttps://github.com/smarek
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3150416047
williamdeshttps://github.com/williamdes
completedhttps://github.com/phpmyadmin/sql-parser/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
05e42cfhttps://github.com/phpmyadmin/sql-parser/commit/05e42cf23bc8eb8c3879549cb84244e8bee786ed
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3150533557
https://github.com/williamdes
williamdeshttps://github.com/williamdes
on Mar 20, 2020https://github.com/phpmyadmin/sql-parser/issues/284#issuecomment-601878187
@smarekhttps://github.com/smarek
#124https://github.com/phpmyadmin/sql-parser/issues/124
f06862fhttps://github.com/phpmyadmin/sql-parser/commit/f06862f070d81d4b13ad9022d3489300503850cc
williamdeshttps://github.com/williamdes
4.7.0https://github.com/phpmyadmin/sql-parser/milestone/10
4.7.1https://github.com/phpmyadmin/sql-parser/milestone/12
4.7.2https://github.com/phpmyadmin/sql-parser/milestone/14
on Oct 10, 2020https://github.com/phpmyadmin/sql-parser/issues/284#event-3863012308
williamdeshttps://github.com/williamdes
4.7.2https://github.com/phpmyadmin/sql-parser/milestone/14
4.7.3https://github.com/phpmyadmin/sql-parser/milestone/17
on Feb 5, 2021https://github.com/phpmyadmin/sql-parser/issues/284#event-4296482547
williamdeshttps://github.com/williamdes
4.7.3https://github.com/phpmyadmin/sql-parser/milestone/17
4.7.4https://github.com/phpmyadmin/sql-parser/milestone/20
on Dec 11, 2021https://github.com/phpmyadmin/sql-parser/issues/284#event-5751422696
williamdeshttps://github.com/williamdes
4.7.4https://github.com/phpmyadmin/sql-parser/milestone/20
5.7.0https://github.com/phpmyadmin/sql-parser/milestone/21
on Nov 21, 2022https://github.com/phpmyadmin/sql-parser/issues/284#event-7857360583
williamdeshttps://github.com/williamdes
5.7.0https://github.com/phpmyadmin/sql-parser/milestone/21
5.8.0https://github.com/phpmyadmin/sql-parser/milestone/22
on Jan 25, 2023https://github.com/phpmyadmin/sql-parser/issues/284#event-8353404923
williamdeshttps://github.com/williamdes
5.8.0https://github.com/phpmyadmin/sql-parser/milestone/22
5.9.0https://github.com/phpmyadmin/sql-parser/milestone/23
on Jun 5, 2023https://github.com/phpmyadmin/sql-parser/issues/284#event-9436871574
MauricioFauthhttps://github.com/MauricioFauth
5.8.1https://github.com/phpmyadmin/sql-parser/milestone/23
on Sep 16, 2023https://github.com/phpmyadmin/sql-parser/issues/284#event-10389793066
Sign up for freehttps://github.com/signup?return_to=https://github.com/phpmyadmin/sql-parser/issues/284
Sign in to commenthttps://github.com/login?return_to=https://github.com/phpmyadmin/sql-parser/issues/284
williamdeshttps://github.com/williamdes
bughttps://github.com/phpmyadmin/sql-parser/issues?q=state%3Aopen%20label%3A%22bug%22
Bughttps://github.com/phpmyadmin/sql-parser/issues?q=type:"Bug"
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.