From: Joshua Colp Date: Wed, 13 May 2015 20:17:48 +0000 (-0500) Subject: Merge "cdr_pgsql, cel_pgsql: Store maximum buffer size to prevent reallocation" X-Git-Tag: 14.0.0-beta1~954 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4505f5e6764d73b3e518bb74266b945f65597cc4;p=thirdparty%2Fasterisk.git Merge "cdr_pgsql, cel_pgsql: Store maximum buffer size to prevent reallocation" --- 4505f5e6764d73b3e518bb74266b945f65597cc4 diff --cc cel/cel_pgsql.c index 2bcee6ee12,c5c4fa92bd..20c0e4401a --- a/cel/cel_pgsql.c +++ b/cel/cel_pgsql.c @@@ -71,9 -69,9 +71,10 @@@ static char *pgpassword static char *pgappname; static char *pgdbport; static char *table; +static char *schema; static int connected = 0; + /* Optimization to reduce number of memory allocations */ static int maxsize = 512, maxsize2 = 512; static int usegmtime = 0;