FS-3509 --resolve

This commit is contained in:
Anthony Minessale 2011-08-17 09:34:56 -05:00
parent 4192195b80
commit b7e651a5e8
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ static void *SWITCH_THREAD_FUNC switch_core_sql_thread(switch_thread_t *thread,
trans = 1;
}
if (len + newlen > sql_len) {
if (len + newlen + 1 > sql_len) {
int new_mlen = len + newlen + 10240;
if (new_mlen < runtime.max_sql_buffer_len) {