diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2018-05-03 16:21:12 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2018-05-03 18:56:58 +0300 |
commit | 926558b003819017ca4c792780719de3b924f34a (patch) | |
tree | 4e87e8df09ccde9cf61625cf82c7e433ac87b9b5 /main/uri.c | |
parent | 1e315f6cb505c706e319ba53643573872356d835 (diff) |
cdr_mysql: run a full reconnect on log if not connectedcdr_mysql_empty
If the MySQL CDR backend is not connected at startup, it will try to
reconnect (with a reloaded configuration) each time it needs to log a
record.
However it does not run the full connection startup sequence and thus
fails to set up the columns to log. As a result all subsequent records
will be empty.
This commit makes the mysql backend run the same connection sequence in
that case as it does on module load.
ASTERISK-27572 #close
Change-Id: I7603c7501dae7070fac35081cf35161579c47590
Diffstat (limited to 'main/uri.c')
0 files changed, 0 insertions, 0 deletions