[issue3783] dbm.sqlite proof of concept

Gerhard Häring report at bugs.python.org
Thu Sep 11 15:53:19 CEST 2008


Gerhard Häring <gh at ghaering.de> added the comment:

Skip Montanaro wrote:
> Skip Montanaro <skip at pobox.com> added the comment:
> 
> Gerhard> FWIW that will also work without the ORDER BY, because you're
>     Gerhard> getting the rows back in the same ORDER. Something cheaper
>     Gerhard> would also be "ORDER BY ROWID". I still propose to just do
>     Gerhard> without the ORDER BY.
> 
> As long as SQLite guarantees that the ordering is identical, then sure, dump
> the ORDER BY clause.

It doesn't guarantee it, but the implementation behaves like this.

-- Gerhard

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3783>
_______________________________________


More information about the Python-bugs-list mailing list