summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql/YCatalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysql/YCatalog.cxx')
-rw-r--r--connectivity/source/drivers/mysql/YCatalog.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mysql/YCatalog.cxx b/connectivity/source/drivers/mysql/YCatalog.cxx
index eb755309fd41..47eb3dd38232 100644
--- a/connectivity/source/drivers/mysql/YCatalog.cxx
+++ b/connectivity/source/drivers/mysql/YCatalog.cxx
@@ -74,11 +74,9 @@ void OMySQLCatalog::refreshViews()
// let's simply assume the server is new enough to support views. Current drivers
// as of this writing might not return the proper information in getTableTypes, so
// don't rely on it.
- bool bSupportsViews = true;
TStringVector aVector;
- if ( bSupportsViews )
- refreshObjects(aTypes,aVector);
+ refreshObjects(aTypes,aVector);
if ( m_pViews )
m_pViews->reFill(aVector);