summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-14 10:03:42 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-14 17:24:57 +0100
commit2594878f706ffabb60cdc616bb7245bd5e5d41a9 (patch)
treed1ba542bde20746b7d45681d6f86e2bbb22d8c29 /connectivity
parent324388fd1c53115c7fa3fd603002643346e3e3f1 (diff)
Correct negation to detect view. (firebird-sdbc)
Change-Id: I24e1bab96e9890bbe32a7e2f3edf8ed1ec15ef92
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/DatabaseMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 9e48385b8846..664144e67bec 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -1407,7 +1407,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
sal_Int16 nSystemFlag = xRow->getShort(2);
sal_Int16 nTableType = xRow->getShort(3);
xRow->getBlob(5); // We have to retrieve a column to verify it is null.
- sal_Bool aIsView = xRow->wasNull();
+ sal_Bool aIsView = !xRow->wasNull();
OUString sTableType;
if (nSystemFlag == 1)