[Libreoffice-commits] core.git: connectivity/source

Takeshi Abe tabe at fixedpoint.jp
Fri Jul 10 12:54:15 PDT 2015


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

New commits:
commit 871cd42b9588b2cb7bc26868f26bd38066acc102
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Jul 10 23:56:54 2015 +0900

    Fix an opposite condition
    
    ... slipped in at 54013188b24a1a02491a2853f731461253065424.
    
    Change-Id: Ib18b2f12d4ad97b9ec5dd771d5f13b35e0274e33
    Reviewed-on: https://gerrit.libreoffice.org/16932
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx
index ae9b304..37eec4e 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.cxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -769,7 +769,7 @@ OString extractSingleTableFromSelect( const OStringVector &vec )
             token ++;
         }
 
-        if( token < vec.size() && vec[token] == "(" )
+        if( token < vec.size() && vec[token] != "(" )
         {
             // it is a table or a function name
             OStringBuffer buf(128);


More information about the Libreoffice-commits mailing list