[asterisk-bugs] [Asterisk 0015094]: [patch] Correct connection time in 'realtime mysql status'

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 27 13:15:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15094 
====================================================================== 
Reported By:                IgorG
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15094
Category:                   Addons/res_config_mysql
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           Addons-1.6.0.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-13 04:53 CDT
Last Modified:              2009-05-27 13:15 CDT
====================================================================== 
Summary:                    [patch] Correct connection time in 'realtime mysql
status'
Description: 
In situation, if connection with MySQL established while CLI command
executed:

dhcp1*CLI> realtime mysql status
Connected to astdb at 127.0.0.1, port 3306 with username asterisk for 38.4
years

This is for version 1.6.0.1 of asterisk-addons. In trunk ctime called
after mysql_reconnect and must be equal 0.
====================================================================== 

---------------------------------------------------------------------- 
 (0105565) svnbot (reporter) - 2009-05-27 13:15
 https://issues.asterisk.org/view.php?id=15094#c105565 
---------------------------------------------------------------------- 
Repository: asterisk-addons
Revision: 931

U   branches/1.6.0/res/res_config_mysql.c

------------------------------------------------------------------------
r931 | tilghman | 2009-05-27 13:15:43 -0500 (Wed, 27 May 2009) | 6 lines

Only calculated time connected, if it actually was connected.
(closes issue https://issues.asterisk.org/view.php?id=15094)
 Reported by: IgorG
 Patches: 
       res_mysql.cli_connected_time_fix.v1.diff uploaded by IgorG (license
20)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-addons?view=rev&revision=931 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 13:15 svnbot         Checkin                                      
2009-05-27 13:15 svnbot         Note Added: 0105565                          
======================================================================




More information about the asterisk-bugs mailing list