# File lib/tapkit/access/adapters/dbi.rb, line 401 def prepare_select( attributes, lock, fetch_spec ) sql = super if limit = fetch_spec.limit then if limit > 0 then sql << " LIMIT #{limit}" end end @statement = sql end