[Libreoffice-bugs] [Bug 130672] base sql query parameter with negative value fails
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 15 15:59:37 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130672
Robert Großkopf <robert at familiegrosskopf.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |robert at familiegrosskopf.de
--- Comment #1 from Robert Großkopf <robert at familiegrosskopf.de> ---
Could confirm the buggy behavior with the internal database HSQLDB. Seems the
parameter isn't set as Integer.
SELECT * FROM "table1" WHERE "aid" = CAST(:P1 AS INTEGER)
will work. Multiplication with '1' will do the same.
SELECT "aid", :P1 AS "T" FROM "table1" WHERE "aid" = :P1
will work also.
With internal Firebird the bug appears also, but there is no known workaround.
Tested with LO 6.4.0.3 on OpenSUSE 15.1 64bit rpm Linux
--
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/20200215/dffd7638/attachment.htm>
More information about the Libreoffice-bugs
mailing list