[asterisk-users] Asterisk 10 'database show' CLI command
Barry Miller
asterisk-users at notanet.net
Thu Oct 13 15:42:55 CDT 2011
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
More information about the asterisk-users
mailing list