dbaccess/source/filter/hsqldb/parseschema.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 850527869590094a29a5175779a0d984e4699763 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Feb 3 07:27:10 2019 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Feb 3 07:27:26 2019 +0100 Revert "tdf#123020: migration to Firebird fix tablename for indexes" This patch is wrong (see comments on gerrit) This reverts commit b35a64be6025b59e88231a4dc0f025273adb63c5. Change-Id: Ib093e83cf68460671e9a14b3f1dc2a8d884de0b9 Reviewed-on: https://gerrit.libreoffice.org/67300 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/filter/hsqldb/parseschema.cxx b/dbaccess/source/filter/hsqldb/parseschema.cxx index 89796e3c06ee..e04998c80f28 100644 --- a/dbaccess/source/filter/hsqldb/parseschema.cxx +++ b/dbaccess/source/filter/hsqldb/parseschema.cxx @@ -74,9 +74,8 @@ public: OUString getTableName() const { - // SET TABLE "<table name which can contain several words>" INDEX'... - // 9 corresponds to nb chars in "SET TABLE" - return m_sql.copy(m_sql.indexOf("\""), m_sql.lastIndexOf("\"") - 9); + // SET TABLE <tableName> + return string::split(m_sql, u' ')[2]; } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits