youtube/vitess — pull request #100 by sougou (2014-10-21 02:46:35+00:00)
Title: rowcache: support for limit clause

The previous rowcache implementation only supported "LIMIT 1"
for primary key fetches. This CL extends this suppport for
IN clauses and subqueries. It also supports limit clauses
with bind variables, which requires validation to be delayed
till the execution phase.