[Libreoffice-commits] .: connectivity/source

Takeshi Abe tabe at kemper.freedesktop.org
Sat Feb 11 06:40:00 PST 2012


 connectivity/source/drivers/postgresql/pq_connection.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4649fafa317f4717634d863d3f3edf1d0180fc1e
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sat Feb 11 23:15:47 2012 +0900

    Fixed wrong mapping to log level from postgresql-sdbc.ini

diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 4d8601c..8fb6382 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -188,7 +188,7 @@ static sal_Int32 readLogLevelFromConfiguration()
         else if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("SQL")) )
             loglevel = LogLevel::SQL;
         else if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("INFO")) )
-            loglevel = LogLevel::SQL;
+            loglevel = LogLevel::INFO;
         else
         {
             fprintf( stderr, "unknown loglevel %s\n",


More information about the Libreoffice-commits mailing list