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

fix sql, change test to fit my local database, fixed #46 #50

Merged
merged 1 commit into from
Dec 11, 2013

Conversation

dead-horse
Copy link
Member

var LIST_BY_AUTHOR_SQL = 'SELECT name, package FROM module WHERE id IN\
                          (SELECT module_id FROM tag WHERE tag="latest" AND name IN\
                          (SELECT distinct(name) FROM module WHERE author = ?))';

var LIST_SINCE_SQL = 'SELECT name, package FROM module WHERE id IN\
                      (SELECT module_id FROM tag WHERE tag="latest" AND name IN\
                      (SELECT distinct(name) FROM module WHERE gmt_modified > ?))\
                      ORDER BY name';

fengmk2 added a commit that referenced this pull request Dec 11, 2013
fix sql, change test to fit my local database, fixed #46
@fengmk2 fengmk2 merged commit 2f7e62f into master Dec 11, 2013
@fengmk2 fengmk2 deleted the issue46-slow-sql branch December 11, 2013 01:25
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.

2 participants