<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FIREBIRD (internal): Parameter doesn't work with COALESCE and numeric fieldtypes"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130596">130596</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FIREBIRD (internal): Parameter doesn't work with COALESCE and numeric fieldtypes
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>robert@familiegrosskopf.de
</td>
</tr></table>
<p>
<div>
<pre>Open the database attached here:
<a href="https://bugs.documentfoundation.org/attachment.cgi?id=157803">https://bugs.documentfoundation.org/attachment.cgi?id=157803</a>
Open the query
Query_parameter_Coalesce_String
Input a value for paramter "name", for example 'Rob'.
No error appears.
Refresh the query and input nothing for the parameter.
All content appears.
Now open
Query_parameter_Coalesce_Integer (or ...Decimal)
Input a number like 1.
An error appears:
SQL Status: HY004
Incorrect type for setString
Here is the query:
SELECT * FROM "Table1" WHERE "Integer" = COALESCE ( :testInt, "Integer" )
This query works well with the internal HSQLDB.
All tests made with OpenSUSE 15.1 64bit rpm Linux. Fails with LO 6.1.5.2, also
with LO 6.4.0.3</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>