summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2022-01-12 20:58:29 +0100
committerJulien Nabet <serval2412@yahoo.fr>2022-01-14 21:41:31 +0100
commit628fedabdd27ad08e9a42f47106864751e493c2c (patch)
tree23fea1a6f0a1c3a547088a6834f4e1c65c89f979 /include/connectivity
parent8be1888ede5b17bae7e5ee239011a9156b9c7614 (diff)
Mysql/MariaDB: tdf#81430 make tables editable (with or without PK)
Change-Id: I7df464107e692817ef80d887a4addea618d6cc72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128356 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/TTableHelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/connectivity/TTableHelper.hxx b/include/connectivity/TTableHelper.hxx
index ba32ba7e9b80..a322964bb795 100644
--- a/include/connectivity/TTableHelper.hxx
+++ b/include/connectivity/TTableHelper.hxx
@@ -148,6 +148,9 @@ namespace connectivity
// XNamed
virtual OUString SAL_CALL getName() override;
+ // To retrieve the table name only without the schema
+ OUString getTableName();
+
// helper method to get key properties
std::shared_ptr<sdbcx::KeyProperties> getKeyProperties(const OUString& _sName) const;
void addKey(const OUString& _sName,const std::shared_ptr<sdbcx::KeyProperties>& _aKeyProperties);