commit | 9c4720405b088785bb181df3d7bca8410b1501e3 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed Jun 26 21:42:23 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Fri Jun 28 11:14:44 2013 -0700 |
tree | d7ba83df7458e7da440422cdeef933a1ace0c09f | |
parent | 72e949f48bfbf73c3d88842c862590a31f77fc5e [diff] |
Don't run SQL rewrites when secondary index is enabled If the secondary index is enabled on a server the index handles all queries. There is no reason to run the SQL rewrites or to leave predicates in the predicate tree without being wrapped by the IndexedChangeQuery predicate. Change-Id: I18defed2a5a6003b9ae6ba227e29864b5c912e7b