summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-11 23:15:47 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-11 23:37:22 +0900
commit4649fafa317f4717634d863d3f3edf1d0180fc1e (patch)
tree7dab48815f70f44b2eef2f72b2ffe02621ccc276
parent5972e4db625500261d924028189793c7d51b576e (diff)
Fixed wrong mapping to log level from postgresql-sdbc.ini
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 4d8601cf3bff..8fb63829bbb0 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",