-
-
Notifications
You must be signed in to change notification settings - Fork 109
Fix issue with parsing TRUNCATE statements, Issue #221 #222
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #222 +/- ##
============================================
- Coverage 99.7% 99.65% -0.05%
- Complexity 1841 1843 +2
============================================
Files 61 62 +1
Lines 4088 4091 +3
============================================
+ Hits 4076 4077 +1
- Misses 12 14 +2 |
Codecov Report
@@ Coverage Diff @@
## master #222 +/- ##
============================================
+ Coverage 99.58% 99.65% +0.06%
+ Complexity 1856 1843 -13
============================================
Files 62 62
Lines 4127 4091 -36
============================================
- Hits 4110 4077 -33
+ Misses 17 14 -3 |
williamdes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Wonder why conflicts came out. |
|
Merged the latest master branch to resolve conflicts. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
ibennetch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devenbansod would you have a moment to take a quick look and see if this seems suitable to you?
It looks great to me aside from the possible debugging function I mentioned.
src/Token.php
Outdated
| } | ||
|
|
||
| /** | ||
| * Make you happier when you need to debug. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this function valuable to include in the code or is it debugging code that should be removed?
If it's worth keeping, I think the comment here should be changed to make the purpose of the function more clear.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Fixes: phpmyadmin#221 Pull-request: phpmyadmin#222 Co-authored-by: Sinri Edogawa <e.joshua.s.e@gmail.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
Pull-request: #222 Signed-off-by: William Desportes <williamdes@wdes.fr>
|
Great Result Finally! |
Make the following SQL parsable, which is mentioned in issue #221
truncate tablea.b;truncate c;select truncate from truncate;