]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merge "cdr_pgsql, cel_pgsql: Store maximum buffer size to prevent reallocation"
authorJoshua Colp <jcolp@digium.com>
Wed, 13 May 2015 20:17:48 +0000 (15:17 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Wed, 13 May 2015 20:17:48 +0000 (15:17 -0500)
1  2 
cdr/cdr_pgsql.c
cel/cel_pgsql.c

diff --cc cdr/cdr_pgsql.c
Simple merge
diff --cc cel/cel_pgsql.c
index 2bcee6ee129e29ea98cc950e2672cd1169480bb1,c5c4fa92bd1a197cb0adb04d48685028706420c3..20c0e4401a635fe925f69f5b3eae674ec654b1f9
@@@ -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;