connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 19f8ea668833a4dc90244792cbf91881b0ca9a07 Author: Tamas Bunth <[email protected]> AuthorDate: Wed Sep 12 17:31:26 2018 +0200 Commit: Andras Timar <[email protected]> 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 <[email protected]> Tested-by: Andras Timar <[email protected]> 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
