[asterisk-commits] tilghman: branch 1.6.2 r265959 - in /branches/1.6.2: ./ res/res_config_pgsql.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 26 11:31:39 CDT 2010


Author: tilghman
Date: Wed May 26 11:31:37 2010
New Revision: 265959

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

................
  r265923 | tilghman | 2010-05-26 11:23:28 -0500 (Wed, 26 May 2010) | 14 lines
  
  Merged revisions 265910 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r265910 | tilghman | 2010-05-26 11:21:00 -0500 (Wed, 26 May 2010) | 7 lines
    
    Not finding rows in the DB does not rise to the level of a warning.
    
    (closes issue #17062)
     Reported by: drookie
     Patches: 
           20100525__issue17062.diff.txt uploaded by tilghman (license 14)
  ........
................

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/res/res_config_pgsql.c

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

Modified: branches/1.6.2/res/res_config_pgsql.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/res/res_config_pgsql.c?view=diff&rev=265959&r1=265958&r2=265959
==============================================================================
--- branches/1.6.2/res/res_config_pgsql.c (original)
+++ branches/1.6.2/res/res_config_pgsql.c Wed May 26 11:31:37 2010
@@ -563,8 +563,7 @@
 		}
 		ast_free(fieldnames);
 	} else {
-		ast_log(LOG_WARNING,
-				"PostgreSQL RealTime: Could not find any rows in table %s.\n", table);
+		ast_debug(1, "PostgreSQL RealTime: Could not find any rows in table %s.\n", table);
 	}
 
 	ast_mutex_unlock(&pgsql_lock);
@@ -637,7 +636,7 @@
 		newval = va_arg(ap, const char *);
 
 		if (!find_column(table, newparam)) {
-			ast_log(LOG_WARNING, "Attempted to update column '%s' in table '%s', but column does not exist!\n", newparam, tablename);
+			ast_log(LOG_NOTICE, "Attempted to update column '%s' in table '%s', but column does not exist!\n", newparam, tablename);
 			continue;
 		}
 




More information about the asterisk-commits mailing list