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 operators precedence possible issue #15546

Merged
merged 1 commit into from Nov 4, 2019
Merged

Fix operators precedence possible issue #15546

merged 1 commit into from Nov 4, 2019

Conversation

Tithugues
Copy link
Contributor

As "==" has priority over "&", it was firstly checking the equality… which were always true…

To be honnest, I didn't test it, as I don't really know how to test it… I can only guess what was expected to be done.

@MauricioFauth
Copy link
Member

I agree with this change, however I think it's better to include this in QA_4_9 branch, instead of master.

As "==" has priority over "&", it was firstly checking the equality… which were always true…

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
@codecov
Copy link

codecov bot commented Nov 1, 2019

Codecov Report

❗ No coverage uploaded for pull request base (QA_4_9@267568b). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             QA_4_9   #15546   +/-   ##
=========================================
  Coverage          ?   52.96%           
  Complexity        ?    13923           
=========================================
  Files             ?      470           
  Lines             ?    61290           
  Branches          ?        0           
=========================================
  Hits              ?    32462           
  Misses            ?    28828           
  Partials          ?        0

@Tithugues Tithugues changed the base branch from master to QA_4_9 November 1, 2019 23:46
@Tithugues
Copy link
Contributor Author

I agree with this change, however I think it's better to include this in QA_4_9 branch, instead of master.

Done!

@williamdes williamdes self-assigned this Nov 2, 2019
@MauricioFauth MauricioFauth merged commit 54bd129 into phpmyadmin:QA_4_9 Nov 4, 2019
@MauricioFauth
Copy link
Member

Merged, thanks for your contribution!

@MauricioFauth MauricioFauth self-assigned this Nov 4, 2019
MauricioFauth added a commit that referenced this pull request Nov 4, 2019
Fix operators precedence in DatabaseInterface class

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
@williamdes williamdes added this to the 4.9.2 milestone Nov 5, 2019
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

3 participants