Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix phone home stats #2281

Merged
merged 4 commits into from Jun 15, 2017
Merged

Fix phone home stats #2281

merged 4 commits into from Jun 15, 2017

Conversation

erikjohnston
Copy link
Member

No description provided.

@erikjohnston
Copy link
Member Author

(This is based off of master so we expect commit tests to fail)

SELECT user_id FROM user_ips
WHERE last_seen > ?
GROUP BY user_id
) u
Copy link
Contributor

Choose a reason for hiding this comment

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

) u ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Shorthand for AS u, needed because you can't have anonymous tables in FROM clauses

Copy link
Contributor

@NegativeMjark NegativeMjark left a comment

Choose a reason for hiding this comment

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

LGTM?

@erikjohnston erikjohnston merged commit 052c5d1 into develop Jun 15, 2017
@erikjohnston erikjohnston deleted the erikj/phone_home_stats branch October 26, 2017 11:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants