From: Markus Koschany Date: Fri, 9 Nov 2018 22:06:15 +0000 (+0100) Subject: [PATCH] mariadb X-Git-Tag: archive/raspbian/1%7.4.4_rc2-2+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bbb88455278cd5c659c75f99c84650c9b25be737;p=libreoffice.git [PATCH] mariadb Gbp-Pq: Name use-mariadb-java-instead-of-mysql-java.diff --- diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java index 3817add48da..ace57bd35d9 100644 --- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java +++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java @@ -64,7 +64,7 @@ public class JdbcLongVarCharTest extends ComplexTestCase */ String url = System.getenv("CONNECTIVITY_TEST_MYSQL_DRIVER_JDBC"); com.sun.star.beans.PropertyValue prop[] = new PropertyValue[1]; - prop[0] = new PropertyValue("JavaDriverClass", 0, "com.mysql.jdbc.Driver", PropertyState.DIRECT_VALUE); + prop[0] = new PropertyValue("JavaDriverClass", 0, "org.mariadb.jdbc.Driver", PropertyState.DIRECT_VALUE); // get the remote office component context XMultiServiceFactory xServiceManager = param.getMSF(); diff --git a/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu b/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu index 38be69b48a4..079b23413bc 100644 --- a/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu +++ b/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu @@ -33,7 +33,7 @@ - com.mysql.jdbc.Driver + org.mariadb.jdbc.Driver diff --git a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx index 0f8357abd11..9e4e1fb3e49 100644 --- a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx +++ b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx @@ -50,7 +50,7 @@ namespace OUString getJavaDriverClass(css::uno::Sequence const& info) { return comphelper::NamedValueCollection::getOrDefault(info, u"JavaDriverClass", - OUString("com.mysql.jdbc.Driver")); + OUString("org.mariadb.jdbc.Driver")); } } @@ -167,7 +167,7 @@ Sequence lcl_convertProperties(T_DRIVERTYPE _eType, if (!jdc) { aProps.push_back(PropertyValue("JavaDriverClass", 0, - Any(OUString("com.mysql.jdbc.Driver")), + Any(OUString("org.mariadb.jdbc.Driver")), PropertyState_DIRECT_VALUE)); } }