Skip to content

Conversation

jihunleekr
Copy link
Contributor

This is belongs to #537

@jihunleekr
Copy link
Contributor Author

This PR's test must fail

@visavi
Copy link

visavi commented May 19, 2016

SELECT * FROM awesome_people **WHERE author_id=?' contains "**WHERE author_id IN(?,?)

@jihunleekr
Copy link
Contributor Author

SHOW COLUMNS FROM `books`
SELECT * FROM `books` WHERE `book_id` IN('2','3')
SHOW COLUMNS FROM `authors`
SHOW COLUMNS FROM `authors`
SELECT * FROM `authors` WHERE `author_id` IN('2','2')
SHOW COLUMNS FROM `awesome_people`
SELECT * FROM `awesome_people` WHERE `author_id` IN('2')
SELECT * FROM `awesome_people` WHERE `author_id`='2'

above is a query log of running added test.

the last query is unnecessary.

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.

2 participants