Otherwise the order is unstable across database modifications, at least
with PostgreSQL.
("SELECT lpart, expire, recip, comment
FROM odin_mailredir WHERE dom = ? AND owner = ?" .
(defined $cond ? " AND $cond" : "") . " " .
("SELECT lpart, expire, recip, comment
FROM odin_mailredir WHERE dom = ? AND owner = ?" .
(defined $cond ? " AND $cond" : "") . " " .
- "ORDER BY expire", undef, $dom, $owner, @args)};
+ "ORDER BY expire, lpart", undef, $dom, $owner, @args)};
}
sub clear_redir_reservations ($) {
}
sub clear_redir_reservations ($) {