'Regression test for #8063: limiting a query shouldn\'t discard any
extra() bits.'

def test_regression_8063(self):

    qs = User.objects.all().extra(where=[u'id=%s'], params=[self.u.id])
    self.assertQuerysetEqual(qs, [u'<User:    fred>'])
    self.assertQuerysetEqual(qs[:1], [u'<User:    fred>'])
