tdf#115828: hsqldb supports multiple resultSets

Regression from 3c567e55e6
Thank you to Lionel for this suggestion

Change-Id: I5eeadc1968e57d586e55a7aa5488b2ab3ee43724
Reviewed-on: https://gerrit.libreoffice.org/50202
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Julien Nabet 2018-02-22 21:33:20 +01:00
parent c156c9faff
commit 856159b391
2 changed files with 12 additions and 0 deletions

View file

@ -26,6 +26,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
external/hsqldb/patches/limit_as_table_alias.patch \ external/hsqldb/patches/limit_as_table_alias.patch \
$(if $(HSQLDB_USE_JDBC_4_1),\ $(if $(HSQLDB_USE_JDBC_4_1),\
external/hsqldb/patches/jdbc-4.1.patch \ external/hsqldb/patches/jdbc-4.1.patch \
external/hsqldb/patches/multipleResultSets.patch \
) \ ) \
)) ))

View file

@ -0,0 +1,11 @@
--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:14:42.802123563 +0000
+++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:47:35.835635654 +0000
@@ -1347,7 +1347,7 @@
* @exception SQLException if a database access error occurs
*/
public boolean supportsMultipleResultSets() throws SQLException {
- return false;
+ return true;
}
/**