Kaydet (Commit) 85052786 authored tarafından Julien Nabet's avatar Julien Nabet

Revert "tdf#123020: migration to Firebird fix tablename for indexes"

This patch is wrong (see comments on gerrit) 

This reverts commit b35a64be.

Change-Id: Ib093e83cf68460671e9a14b3f1dc2a8d884de0b9
Reviewed-on: https://gerrit.libreoffice.org/67300Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 573a4732
...@@ -74,9 +74,8 @@ public: ...@@ -74,9 +74,8 @@ public:
OUString getTableName() const OUString getTableName() const
{ {
// SET TABLE "<table name which can contain several words>" INDEX'... // SET TABLE <tableName>
// 9 corresponds to nb chars in "SET TABLE" return string::split(m_sql, u' ')[2];
return m_sql.copy(m_sql.indexOf("\""), m_sql.lastIndexOf("\"") - 9);
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment