diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index aeb948d594..f65fdfb1ab 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -406,6 +406,7 @@ static switch_status_t switch_cache_db_execute_sql_chunked(switch_cache_db_handl if (*p == '\n' && *(p-1) == ';') { *p = '\0'; *(p-1) = '\0'; + p++; break; }