summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-09-12 17:31:26 +0200
committerAndras Timar <andras.timar@collabora.com>2018-09-14 13:05:56 +0200
commit19f8ea668833a4dc90244792cbf91881b0ca9a07 (patch)
treedadeb94d31f2ac034c2d3ea2830a5d1ac7c9059d
parentd86f180cd2612d16ef5e7411af1e29ce19a542e1 (diff)
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@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx3
1 files changed, 1 insertions, 2 deletions
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;
}