Skip to content

Conversation

shlomi-noach
Copy link
Contributor

Stuff like range-query building, equality building, ...

Did you know, for example, that this query is suboptimal in MySQL?

SELECT yadayada FROM tbl WHERE (a,b)=(3,4)

And we need to rewrite it as:

SELECT yadayada FROM tbl WHERE (a = 3) and (b=4)

Now how about (a,b)<=(3,4)? This is much worse.
Such fun stuff.

@shlomi-noach shlomi-noach merged commit 9b368a7 into master Apr 1, 2016
@shlomi-noach shlomi-noach deleted the sql-queries-manipulations branch April 1, 2016 11:54
cenkore pushed a commit to cenkore/gh-ost that referenced this pull request Feb 23, 2021
RainbowDashy added a commit to RainbowDashy/gh-ost that referenced this pull request Jun 30, 2022
* feat: change logger fatal to panic

* fix: address comment

* fix: comment
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.

1 participant