[SR-Users] Wrong Publish status

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 1 09:14:31 CEST 2016


Hello,

skipping the other content to fit in size limits for mailing list ...

On 27/05/16 11:59, Aleš Šturm wrote:
> *I think that statuses with equal “priority” are retrieved by “id” and
> not by “received_time”!?*
Is the above the conclusion and the fix would be to order by
received_time if the priority is the same?

At this moment I expect there is no further ordering than the priority
in this case, mysql being the one returning the order within the
priority as the records are found in the db. Like, if you just do a
select without order by, there is no guarantee that the order of records
is the one as the records were added.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160601/8fd1140d/attachment.html>


More information about the sr-users mailing list