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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mysql/YCatalog.cxx b/connectivity/source/drivers/mysql/YCatalog.cxx
index ab79da8582d1..6556755ef1fa 100644
--- a/connectivity/source/drivers/mysql/YCatalog.cxx
+++ b/connectivity/source/drivers/mysql/YCatalog.cxx
@@ -73,8 +73,7 @@ void OMySQLCatalog::refreshTables()
void OMySQLCatalog::refreshViews()
{
- Sequence< OUString > aTypes(1);
- aTypes[0] = "VIEW";
+ Sequence< OUString > aTypes { "VIEW" };
// 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