diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-04-14 20:56:26 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-04-15 21:29:02 +0200 |
commit | 098b84ff26212d5bee30f16848fac90d061e8b14 (patch) | |
tree | 4726d2fe470207e48222621129bbbe886601b073 /dbaccess | |
parent | 22cfac8edeb3371e458b9f9533478c6e5a81287e (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.cxx | 2 |
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; |