Re: [SQLObject] Delayed column fetching

Top Page
Author: Brandon Ehle
Date:  
To: sqlobject-discuss
Subject: Re: [SQLObject] Delayed column fetching
>On Mon, Apr 04, 2005 at 11:55:51AM -0700, Brandon Ehle wrote:
>
>>>> there is a typo in the cull() method that makes it generate an error
>>>> (accessing "culldOffset"
>>>> instead of "cullOffset").
>
>>
>> Fixed. Thank you!
>>



Another issue that I've run into is that I am getting the following
entries in my MySQL slow queries log.

  # Time: 050404 11:27:59
  # User@Host: root[root] @ localhost []
  # Query_time: 2  Lock_time: 0  Rows_sent: 3994  Rows_examined: 3994
  SELECT test.id,test.name,test.target_id,test.started,test.finished FROM
test WHERE 1 = 1;

Something in SQLObject is issuing the above statement, which does a fetch
on all the rows in the database because "1" always equals "1".