speed up scratch and settings, since they don't need to be ordered

This commit is contained in:
Graham Knop 2008-11-24 04:02:58 +00:00
parent 758a321e70
commit 48d7ff6e34
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ The current session.
sub new {
my $class = shift;
my $session = shift;
my $data = $session->db->buildHashRef("select name,value from userSessionScratch where sessionId=?",[$session->getId]);
my $data = $session->db->buildHashRef("select name,value from userSessionScratch where sessionId=?",[$session->getId], {noOrder => 1});
bless {_session=>$session, _data=>$data}, $class;
}