Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #556 - Implementing and refactoring the KILL statement parser #565

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

iifawzi
Copy link
Contributor

@iifawzi iifawzi commented Jul 9, 2024

Hey!

This PR extends support of KILL statements. completing #557 and fixing 556

Fixes #556

@iifawzi iifawzi force-pushed the fix/556-parsing-kill-statements branch 3 times, most recently from 558b556 to afe9173 Compare July 9, 2024 22:25
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.81%. Comparing base (edc7db8) to head (afe9173).
Report is 12 commits behind head on 5.10.x.

Additional details and impacted files
@@             Coverage Diff              @@
##             5.10.x     #565       /-   ##
============================================
  Coverage     96.79%   96.81%    0.02%     
- Complexity     2259     2294       35     
============================================
  Files            69       70        1     
  Lines          5174     5248       74     
============================================
  Hits           5008     5081       73     
- Misses          166      167        1     

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

.gitignore Outdated Show resolved Hide resolved
src/Statements/KillStatement.php Outdated Show resolved Hide resolved
src/Statements/KillStatement.php Outdated Show resolved Hide resolved
src/Statements/KillStatement.php Outdated Show resolved Hide resolved
src/Statements/KillStatement.php Outdated Show resolved Hide resolved
@iifawzi iifawzi force-pushed the fix/556-parsing-kill-statements branch from bb3bbe0 to 1630359 Compare July 10, 2024 08:44
@kamil-tekiela
Copy link
Contributor

DS_Store are MacOS files so they are not relevant to this project. They should not be ignored at all. You can ignore them locally on your machine.

@iifawzi
Copy link
Contributor Author

iifawzi commented Jul 10, 2024

it's easier for future contributors to have it ignored by the repo as we do with .idea, vim, and backup files.

@williamdes
Copy link
Member

DS_Store are MacOS files so they are not relevant to this project. They should not be ignored at all. You can ignore them locally on your machine.

I checked, and yes I think the actual consensus is to remove them locally. We do not have it in any repo.

Ref: phpmyadmin/phpmyadmin#15903 (comment)
Can you remove the commit ?

@iifawzi iifawzi force-pushed the fix/556-parsing-kill-statements branch from 65dd968 to c5033af Compare July 11, 2024 12:48
src/Statements/KillStatement.php Outdated Show resolved Hide resolved
src/Parser.php Show resolved Hide resolved
iifawzi and others added 2 commits July 12, 2024 03:55
Co-authored-by: Maurício Meneghini Fauth <[email protected]>
Signed-off-by: Fawzi Abdulfattah <[email protected]>
Copy link
Contributor

@niconoe- niconoe- left a comment

Choose a reason for hiding this comment

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

For what it worth, LGTM.

@williamdes williamdes self-assigned this Aug 26, 2024
@williamdes williamdes added this to the 5.10.0 milestone Aug 26, 2024
@williamdes williamdes changed the title feat: Implementing and refactoring the KILL statement parser Fix #556 - Implementing and refactoring the KILL statement parser Aug 26, 2024
@williamdes williamdes merged commit 03f0532 into phpmyadmin:5.10.x Aug 26, 2024
14 of 17 checks passed
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.

None yet

5 participants