[Solar-talk] fetchRowset - method not implemented

Rodrigo Moraes rodrigo.moraes at gmail.com
Mon Oct 15 07:12:48 CDT 2007


On 10/15/07, Jeff Surgeson wrote:
> With regards ->setPaging(2), although it worked as you predicted, I forced a
> duplicate user record and authentication failed as it should however with or
> without setting paging to limit to 2 records it fails just the same, so I do
> not see the point sorry, all you are doing is limiting the records to 2 just
> in case there were 40000 duplicate records, is that not very unlikely?
> considering your user class that creates new records would be or should be
> making sure there are no duplicate records. Then again double checking is a
> good thing! :-)

Ah yes, it is a tiny thing and unlikely situation, and almost
irrelevant because the system would be broken anyway, but the auth
adapter could do its best and don't take part of the mess. :)  *If*
the system is messed enough to have more than one user with the same
handle, it can be messed to the point to have several duplicated ones.
So it wouldn't hurt to avoid a big query if the hypothetical worst
case happens, and you have millions or maybe *billions* or
*quadrillions* of duplicated users. :P

Tiny thing, anyway.

-- rodrigo


More information about the Solar-talk mailing list