[Libreoffice-bugs] [Bug 118112] Parameter index out of range (1 > number of parameters, which is 0).

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 15 11:36:34 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118112

--- Comment #16 from Lionel Elie Mamane <lionel at mamane.lu> ---
(In reply to Julien Nabet from comment #15)
> Lionel: about your comment https://gerrit.libreoffice.org/#/c/55771/, "force
> ParameterNameSubstitution to true", I checked YDriver.cxx and there's
> already the property at true (see
> https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/mysql/
> YDriver.cxx#211)

Hmm... Maybe the bug then is that if ParamterNameSubstitution is _already_ in
info, it is added a second time, and only the first value takes effect. In that
case, IMHO it needs to be *changed* in info, not appended to it. Can you check
if my guess is correct?

> I didn't test but it seems that default value of "ParameterNameSubstitution"
> is in 
> https://opengrok.libreoffice.org/xref/core/dbaccess/source/core/dataaccess/
> ModelImpl.cxx#992
> Thought it might help for tdf#117589 put in see also if the by default value
> is true.

No, that's a LibreOffice-wide default for all drivers, I wouldn't touch it for
the needs of a few drivers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180615/b5f99430/attachment.html>


More information about the Libreoffice-bugs mailing list