diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-07-10 23:56:54 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-10 19:53:50 +0000 |
commit | 871cd42b9588b2cb7bc26868f26bd38066acc102 (patch) | |
tree | d2c427e4833018ec3f66777a04898cba8a877191 /connectivity/source | |
parent | e3974c1d4b86da4ae8ee43786c610cd71638ba53 (diff) |
Fix an opposite condition
... slipped in at 54013188b24a1a02491a2853f731461253065424.
Change-Id: Ib18b2f12d4ad97b9ec5dd771d5f13b35e0274e33
Reviewed-on: https://gerrit.libreoffice.org/16932
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_tools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx index ae9b304ad2af..37eec4e5ad0b 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); |