[asterisk-commits] tilghman: branch 1.6.0 r114153 - in /branches/1.6.0: ./ cdr/cdr_pgsql.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 15 15:53:43 CDT 2008


Author: tilghman
Date: Tue Apr 15 15:53:43 2008
New Revision: 114153

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114153
Log:
Merged revisions 114152 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r114152 | tilghman | 2008-04-15 15:51:08 -0500 (Tue, 15 Apr 2008) | 2 lines

Oops, buffer wasn't long enough for query

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/cdr/cdr_pgsql.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/cdr/cdr_pgsql.c?view=diff&rev=114153&r1=114152&r2=114153
==============================================================================
--- branches/1.6.0/cdr/cdr_pgsql.c (original)
+++ branches/1.6.0/cdr/cdr_pgsql.c Tue Apr 15 15:53:43 2008
@@ -454,7 +454,7 @@
 	
 	conn = PQsetdbLogin(pghostname, pgdbport, NULL, NULL, pgdbname, pgdbuser, pgpassword);
 	if (PQstatus(conn) != CONNECTION_BAD) {
-		char sqlcmd[256];
+		char sqlcmd[512];
 		char *fname, *ftype, *flen, *fnotnull, *fdef;
 		int i, rows;
 		ast_debug(1, "Successfully connected to PostgreSQL database.\n");




More information about the asterisk-commits mailing list