[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/kexidb/drivers/pqxx
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2004-06-17 14:56:45
Message-ID: 20040617145645.AE0479069 () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

PGSQL drv:
	ConnectionData::localSocketFileName is used, not fileName field


  M +2 -2      pqxxconnection.cpp   1.13


--- koffice/kexi/kexidb/drivers/pqxx/pqxxconnection.cpp  #1.12:1.13
@@ -117,5 +117,5 @@ bool pqxxSqlConnection::drv_useDatabase(
     if (m_data->hostName.isEmpty() || m_data->hostName == "localhost")
     {
-        if (m_data->fileName().isEmpty())
+        if (m_data->localSocketFileName.isEmpty())
         {
             sockets.append("/tmp/.s.PGSQL.5432");
@@ -132,5 +132,5 @@ bool pqxxSqlConnection::drv_useDatabase(
         else
         {
-            socket=m_data->fileName();
+            socket=m_data->localSocketFileName; //m_data->fileName();
         }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic