[Libreoffice-bugs] [Bug 127657] FIREBIRD: Query input parameter throws error when referred field is integer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 20 22:08:53 UTC 2019


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

--- Comment #9 from Julien Nabet <serval2412 at yahoo.fr> ---
Created attachment 154335
  --> https://bugs.documentfoundation.org/attachment.cgi?id=154335&action=edit
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.

I attached a bt from setString error.

debugging a bit indicates that dtype =  SQL_SHORT
so it goes to default case:
    235     default:
    236         ::dbtools::throwSQLException(
    237             "Incorrect type for setString",
    238             ::dbtools::StandardSQLState::INVALID_SQL_DATA_TYPE,
    239             *this);

I got no idea how to fix this.
I tried to call setShort but it expects a short value and I'm not sure that
converting OUString sInput into a short is the right way.

-- 
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/20190920/ed19c5e8/attachment.html>


More information about the Libreoffice-bugs mailing list