summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-04-14 20:56:26 +0200
committerTamás Bunth <btomi96@gmail.com>2018-04-15 21:29:02 +0200
commit098b84ff26212d5bee30f16848fac90d061e8b14 (patch)
tree4726d2fe470207e48222621129bbbe886601b073 /dbaccess
parent22cfac8edeb3371e458b9f9533478c6e5a81287e (diff)
tdf#116954 dbahsql: migrate views too
Change-Id: If6de6491b89cf2fb94586990f5c3e8483e74d464 Reviewed-on: https://gerrit.libreoffice.org/52892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/hsqldb/parseschema.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbaccess/source/filter/hsqldb/parseschema.cxx b/dbaccess/source/filter/hsqldb/parseschema.cxx
index c9319b0b02d0..489f78a7d4b3 100644
--- a/dbaccess/source/filter/hsqldb/parseschema.cxx
+++ b/dbaccess/source/filter/hsqldb/parseschema.cxx
@@ -143,6 +143,8 @@ SqlStatementVector SchemaParser::parseSchema()
if (!parsedStmt.isEmpty())
parsedStatements.push_back(parsedStmt);
}
+ else if (sSql.startsWith("CREATE VIEW"))
+ parsedStatements.push_back(sSql);
}
return parsedStatements;