[wp-hackers] Re: [wp-svn] [3012] trunk/wp-includes: Add LIMIT 1 to some of our gets.

Mike Little mike at zed1.com
Mon Nov 7 23:18:22 GMT 2005


On 11/7/05, m at wordpress.org <m at wordpress.org> wrote:
>
>  Revision 3012 Author ryan Date 2005-11-07 23:09:09 +0000 (Mon, 07 Nov 2005)
> Log Message Add LIMIT 1 to some of our gets.
>

Ryan,
Is there some speed advantage to this?

Each of the ID columns used to select is a primary key, there can only
ever be one row returned by definition.


Mike
--
Mike Little
http://zed1.com/journalized/


More information about the wp-hackers mailing list