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 <serval2412@yahoo.fr>
This commit is contained in:
parent
f5ef5eafdf
commit
f59ca5c9f9
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue