summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2022-01-27 13:07:55 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-01-27 13:10:38 +0100
commit4fa33b05e8128ced16240b663c1d3a487afb3f1d (patch)
treef65bb6dc5e4e15589508393e5228ff781f13eddb /connectivity
parent5801b9fc65508391e130670f79a9af51f18d4e96 (diff)
Mysql/MariaDB: remove obsolete comment in views
Obsolete after eb69767d7c1bb8e6e780fd9503f08c9d7f5ecb45 Mysql/MariaDB: after creating a view then refresh, make it appear as a view For this, I took example on hsqldb part this time (instead of Firebird which is uncomplete). Also, deleting a brand new created table works now. Of course, there are still pb with schema containing special characters like "`" In fact, the description of the previous commit was wrong since renaming a view still shows the table icon instead of view icon. You must reopen the file so the icon is ok. Change-Id: I2d27107db672e02af74e34a692309844ac310004 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129035 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_views.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_views.cxx b/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
index f1b7eb3895be..c9bf0658652d 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_views.cxx
@@ -111,7 +111,6 @@ void connectivity::mysqlc::Views::createView(
xStmt->execute(aSql);
::comphelper::disposeComponent(xStmt);
}
- // TODO find a way to refresh view to make the new one appear right away
connectivity::mysqlc::Tables* pTables = static_cast<connectivity::mysqlc::Tables*>(
static_cast<connectivity::mysqlc::Catalog&>(m_rParent).getPrivateTables());
if (pTables)