summaryrefslogtreecommitdiff
path: root/formats/format_ilbc.c
diff options
context:
space:
mode:
authorAlexandre Fournier <alexandre.fournier@kiplink.fr>2015-05-09 01:01:26 +0200
committerAlexandre Fournier <alexandre.fournier@kiplink.fr>2015-05-13 06:40:57 -0500
commite67e8d5c7ff2ca83a9ec8a32513f4963971a0001 (patch)
tree0c27381db5defc2eeaa7c90ab82917ff77f7f8ea /formats/format_ilbc.c
parent62422712f7d8916fdbb5e388bf5212a1ca00598a (diff)
res_config_mysql: Fix broken column type checking
MySQL configuration engine contains a bug in require_mysql(). This function is used for column type checking in tables. This bug only affects DATETIME, DATE and FLOAT types. It came from mixing the first condition (switch-case-like if/then/else), to check the expected column type, with the second condition, to check the actual column type against the expected column type. Both conditions must be checked separately in order to avoid the execution of the wrong block. ASTERISK-18252 #comment This patch might fix the issue Reported by: Gareth Blades ASTERISK-25041 #close Reported by: Alexandre Fournier Tested by: Alexandre Fournier Change-Id: I0b8bf7e68ab938be8e6525a249260cb648cb0bfa
Diffstat (limited to 'formats/format_ilbc.c')
0 files changed, 0 insertions, 0 deletions