[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 14 11:06:23 UTC 2018
connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 19f8ea668833a4dc90244792cbf91881b0ca9a07
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
AuthorDate: Wed Sep 12 17:31:26 2018 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Sep 14 13:05:56 2018 +0200
mysqlc: getTablePrivileges not implemented, so..
it should throw an exception.
Change-Id: I55fd8ed5d92a28096b9bde6b0161e16d7543203b
Reviewed-on: https://gerrit.libreoffice.org/60460
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
index e4d70bed516a..4914e12e42ca 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
@@ -1020,10 +1020,9 @@ Reference<XResultSet>
Reference<XResultSet> xResultSet(getOwnConnection().getDriver().getFactory()->createInstance(
"org.openoffice.comp.helper.DatabaseMetaDataResultSet"),
UNO_QUERY);
- std::vector<std::vector<Any>> rRows;
// TODO
SAL_WARN("connectivity.mysqlc", "method not implemented");
- lcl_setRows_throw(xResultSet, 12, rRows);
+ throw SQLException("getTablePrivileges method not implemented", *this, "IM001", 0, Any());
return xResultSet;
}
More information about the Libreoffice-commits
mailing list