Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix using ? as a parameter#515

Merged
MauricioFauth merged 1 commit intophpmyadmin:5.9.xphpmyadmin/sql-parser:5.9.xfrom
MauricioFauth:question-mark-paramMauricioFauth/sql-parser:question-mark-paramCopy head branch name to clipboard
Sep 26, 2023
Merged

Fix using ? as a parameter#515
MauricioFauth merged 1 commit intophpmyadmin:5.9.xphpmyadmin/sql-parser:5.9.xfrom
MauricioFauth:question-mark-paramMauricioFauth/sql-parser:question-mark-paramCopy head branch name to clipboard

Conversation

@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (ec459f7) 97.03% compared to head (170dbe5) 97.03%.

Additional details and impacted files
@@            Coverage Diff            @@
##              5.9.x     #515   +/-   ##
=========================================
  Coverage     97.03%   97.03%           
- Complexity     2240     2243    +3     
=========================================
  Files            69       69           
  Lines          5153     5154    +1     
=========================================
+ Hits           5000     5001    +1     
  Misses          153      153           
Files Coverage Δ
src/Components/Condition.php 100.00% <100.00%> (ø)
src/Components/Expression.php 100.00% <100.00%> (ø)
src/Lexer.php 99.74% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/data/misc/parseParameter2.out Outdated Show resolved Hide resolved
- Fixes phpmyadmin#202
- Fixes phpmyadmin#412
- Fixes phpmyadmin#492
- Closes phpmyadmin#499
- Related to phpmyadmin#172

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
tests/data/bugs/gh492.out Show resolved Hide resolved
Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome !
Will it be easy to detect the ? or := for our (broken) feature "Bind parameters" in the query box ?

@MauricioFauth
Copy link
Member Author

Will it be easy to detect the ? or := for our (broken) feature "Bind parameters" in the query box ?

Is there an issue for that?

@MauricioFauth MauricioFauth merged commit 24d734a into phpmyadmin:5.9.x Sep 26, 2023
@MauricioFauth MauricioFauth deleted the question-mark-param branch September 26, 2023 23:56
@MauricioFauth MauricioFauth self-assigned this Sep 26, 2023
@MauricioFauth MauricioFauth added this to the 5.9.0 milestone Sep 26, 2023
@williamdes
Copy link
Member

Will it be easy to detect the ? or := for our (broken) feature "Bind parameters" in the query box ?

Is there an issue for that?

No, I did not report it until now since the parser has unhappy

MauricioFauth added a commit that referenced this pull request Jan 20, 2024
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.