(closes issue #18525)
Reported by: makoto
Patches:
res-config-mysql-update2.patch uploaded by makoto (license 38)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@299583
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ESCAPE_STRING(buf, newval);
ast_str_append(&sql, 0, "%s %s = '%s'", first ? "" : ",", newparam, ast_str_buffer(buf));
+ first = 0;
/* If the column length isn't long enough, give a chance to lengthen it. */
if (strncmp(column->type, "char", 4) == 0 || strncmp(column->type, "varchar", 7) == 0) {