summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-02-03 07:27:10 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-02-03 07:27:26 +0100
commit850527869590094a29a5175779a0d984e4699763 (patch)
tree0c5e6d02f8031a4148c5d4fe390bddb70f374ba9 /dbaccess
parent573a473275ad7c76d0cada9b7e73d4923e7a79d5 (diff)
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 <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/hsqldb/parseschema.cxx5
1 files changed, 2 insertions, 3 deletions
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];
}
};