[asterisk-dev] [Code Review]: Fix the error-reporting of the REALTIME() function

Olle E Johansson reviewboard at asterisk.org
Wed Jul 11 11:02:30 CDT 2012



> On July 11, 2012, 10:58 a.m., Olle E Johansson wrote:
> > Wow. That's fast. Thank you. Will try immediately and report back.

action:setvar
variable: REALTIME(userstates,user,olle,skrep)
value: 123

Response: Error
Message: Variable not set

Mysql reports:
ERROR[17650]: res_config_mysql.c:595 update_mysql: MySQL RealTime: Updating column 'skrep', but that column does not exist within the table 'user states'

Previously this was a success. 


- Olle E


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2031/#review6663
-----------------------------------------------------------


On July 11, 2012, 10:49 a.m., Tilghman Lesher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2031/
> -----------------------------------------------------------
> 
> (Updated July 11, 2012, 10:49 a.m.)
> 
> 
> Review request for Asterisk Developers and Olle E Johansson.
> 
> 
> Summary
> -------
> 
> Fix the REALTIME() function so that it reports errors back to the caller.  Also, make REALTIME() report underspecified arguments, and fix up the documentation for clarity.
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/funcs/func_realtime.c 369921 
> 
> Diff: https://reviewboard.asterisk.org/r/2031/diff
> 
> 
> Testing
> -------
> 
> Compiles
> 
> 
> Thanks,
> 
> Tilghman
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120711/9b34c348/attachment.htm>


More information about the asterisk-dev mailing list