On Thu, Oct 13, 2011 at 02:52:58PM -0500, Terry Wilson wrote:
> >> It was not intentional, probably a side-effect of the switch to SQlite 3 
> >> from BDB. Unfortunately, that command was not documented to produce the 
> >> database results ordered in any particular order, so this change isn't a 
> >> bug, just a side-effect.
> 
> > Thanks.  The only time it really matters to me is on my little test box,
> > so I'll just keep running a patched db.c there.
> 
> It will be easy enough to change. No real reason for me not to add an 'ORDER 
> BY key' to the get_tree_all SQL statement near the top of the file.

I also added the clause to gettree and showkey stmts, because wildcarding

  database show abc%
  database showkey 212%

can return many results.  But I'm not sure if anyone besides me cares :)

-- 
Barry

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to