connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit f59ca5c9f9dfe30d755567a74806c42b1f795892 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Nov 16 10:26:32 2024 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Nov 16 11:34:38 2024 +0100 Related tdf#105112: FB fix request for getFunctions add missing spaces + quote before and after function name searched Change-Id: I3b0bd3ca780c4de9d04fda7d2c80c29e60ddd1ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176669 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index 4da972912cd2..948a39861d29 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -830,9 +830,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getFunctions( const ::r "'UDF' as JB_FUNCTION_KIND," "trim(trailing from RDB$MODULE_NAME) as JB_MODULE_NAME," "trim(trailing from RDB$ENTRYPOINT) as JB_ENTRYPOINT," - "cast(null as varchar(255)) as JB_ENGINE_NAME" - "FROM RDB$FUNCTIONS" - "WHERE RDB$FUNCTION_NAME = " + functionNamePattern); + "cast(null as varchar(255)) as JB_ENGINE_NAME " + "FROM RDB$FUNCTIONS " + "WHERE RDB$FUNCTION_NAME = '" + functionNamePattern + "'"); uno::Reference< XStatement > statement = m_pConnection->createStatement(); uno::Reference< XResultSet > rs = statement->executeQuery(strQuery);